Flow Trigger How To's
How to's for the Flow Trigger guide.
How to Trigger Multiple Flows from a DataGrid
This guide explains how to configure the Flow Trigger object to start multiple processes using a DataGrid control in the form.
Step-by-Step Instructions
-
Add Flow Trigger to the Workflow- Drag the
Flow Triggerobject to your flow diagram.
- Drag the
-
Add DataGrid to the Form- On the form connected to the document, place a
DataGridcontrol. - This will be used to provide parameter values for each triggered process.
- On the form connected to the document, place a
-
Configure Source PropertiesDocument: Select the document containing the form with the DataGrid.Control Name: Select the name of the DataGrid control.
-
Configure Trigger PropertiesProject: Choose the project that contains the target flow.Flow: Select the flow to be triggered.Parent ProcessId(optional): Use ({{ProcessId}}) or a variable for linking parent and child processes.Show in Flow History: Enable to display the trigger in the flow history.
-
Configure Parameters- Click the
Parametersfield. - For each parameter:
Name: Name of the variable in the triggered flow.Type: SelectControlif using DataGrid.Value: Choose the DataGrid column that maps to the variable.
- Click the
-
Test Your Flow- Run the process and ensure each row in the DataGrid results in a separate flow being triggered.
How to Trigger a Single Flow with Parameters
How to Trigger a Single Flow with Parameters
The Flow Trigger object can be used to launch another process within the same or different project. Here’s how to set it up for triggering a single flow.
Step-by-Step Instructions
-
Place Flow Trigger in Your Workflow- Drag the
Flow Triggercomponent onto your flow design surface.
- Drag the
-
Open Properties Panel -
Configure theTriggerSectionProject: Select the destination project.Flow: Select the target flow you want to initiate.Parent ProcessId: Enter ({{ProcessId}}) to link the current flow as parent.Show in Flow History: Enable if you want this action visible in history.Starter User: Set a user (e.g., ({{FlowStarter.UserId}})) who will appear as the process initiator.Starter User Type: ChooseUserIdorUserNameaccording to your input.Process Count Variable(optional): Map to a variable in your current flow to capture how many processes were triggered.
-
Define Parameters- Click the
Parametersbutton. - Add rows for each variable that the triggered flow expects:
Name: Must exactly match the variable name in the target flow.Type: Choose from String, Number, Boolean, DateTime, or Control.Value: Enter static values or use expressions like ({{Document1.DocumentId}}).
- Click the
-
Save and Deploy- Once configured, deploy your flow and test it using a test run or a real process.