View Source StepFlow.WorkflowDefinitions (StepFlow v1.8.0)

The WorkflowDefinitions context.

Summary

Functions

Gets a single WorkflowDefinition (latest version).

Gets a single WorkflowDefinition by specifying the version.

Returns the list of Workflow Definitions.

Loads workflows

Loads workflows in database

Functions

Link to this function

filter_by_versions(query, versions)

View Source
Link to this function

get_workflow_definition(identifier)

View Source

Gets a single WorkflowDefinition (latest version).

Returns nil if the WorkflowDefinition does not exist.

Link to this function

get_workflow_definition(identifier, version_major, version_minor, version_micro)

View Source

Gets a single WorkflowDefinition by specifying the version.

Returns nil if the WorkflowDefinition does not exist.

Link to this function

list_workflow_definitions(params \\ %{})

View Source

Returns the list of Workflow Definitions.

Link to this function

load_workflow_in_database(workflow_definition)

View Source

Loads workflows

Link to this function

load_workflows_in_database()

View Source

Loads workflows in database