Skip to main content

Journey

If you want to integrate your Flow with a running Journey, for example to import Entity & Associations Data to your Master Data Management (MDM) system at the start of a Client Onboarding Journey or you publish data at the end of it, the Journey Initiator is how you'd incorporate that integration into your Business Process being modelled in the Journey.

Journey Builder

Integrate your Flow into your Journey's design using the Journey Builder and the "Integration Flow" Task Type. In the task configuration you'll see a list of published Flows available in your Tenant.

Journey Build - Flow Task
Journey Builder - Integration Flow Task
info

Only Flows that have been published will be visible in the drop-down. If you have just created a new Flow that's still in "Draft" version, you will need to publish it before you can reference it in Journey Builder

Running Flows within a Journey

When the Integration Flow task triggers the user will see the following while the Flow executes.

Flow Execution StatusDescription and Data Type
In ProgresssAn indicator shows the task is in progress while the Flow Execution runs in the background. The task will not be navagable while it is running.

InProgress
In Progresss (Async Operations)When a Flow Execution reaches a task that runs an asynchronous operation the execution will pause until the async response is received. While paused the journey task will enter the "In Progress" status and the task will be navagable.

FlowTaskPaused
In the task view the user will see the Flow Execution is still running and the retry button will appear disabled (see below). The task will remain in the "In Progress" status until execution completes, at which point if successful the task will auto-complete.
Completed SuccessfullyIf the Flow Execution completes successfully the task will auto-complete.

FlowTaskCompleted
Completed with ErrorIf the Flow Execution fails the task will appear "in progress" and the user can open it to review the details.

FlowTaskError

If the Flow Execution fails the task will appear as "in progress" in the Journey Overview where Users can navigate into it and view the Error Code and Message. Users with appropriate permissions will be able to Retry the Execution, if "Is Rerunnable" was enabled in Task Configuration, and/or Close the Task.

Journey Build - Flow Task
Flow Task UI showing an error

Runtime Details

The Execution.Request object will store the following data at runtime:

Execution VariablesDescription and Data Type
journeyIdGuid. Unique Identifier of the running Journey.
taskIdGuid. Unique Identifier of the Task in Journey for the running Flow
entityIdGuid. Unique Identifier of the lead Entity of the running Journey
entityDraftIdGuid. Unique Identifier for the Entity Draft of the running journey
serviceNameString. Hardcoded to "integrationsDataPublish"