You can now use variables as a rule criteria in your flow rule steps. Variables need to be set in the flow in order to use it as a step rule criteria. Once a variable has been set in the flow, it show up on the drop down list.

mceclip0.png

When variable is selected as a step rule criteria it can utilize the same operator as fields being used in the step rule.

Note: User can use a combination of fields and variables in step rules.

Example : Using variable as Step Rule

This example shows how to set up a flow to send notification when your trip is 7 days long.

Create Flow with launching entity as Calendar Activity and launch event as Record Created.

mceclip1.png

Create step 1 to set up a variable to be used in another step as rule criteria

mceclip4.png

The screenshot below displays the variable set for this example.

mceclip5.png

Once the variable is set successfully, create another step. Click on the Step field , the drop down has option to select a field or the variable which was set in step 1.

mceclip6.png

Once the step rule is specified, an action type can be created. In this example a Notify action type was created.

mceclip7.png

Save your flow.

Now to trigger this flow create a travel activity which is 7 days long. Flow will be triggered and user will be received a notification that the trip is 7 days long.

Did this answer your question?