- Updated on 03 Apr 2017
- 1 minute to read
This tutorial demonstrates how to use Create Flow Parameters step in the Workflow in Decisions 4.0 . This step behaves similarly to Create Data step, but data (parameters) created within this step could be changed outside of the Flow Designer.
In this example we are going to create a simple Flow with Create Flow Parameters step. Then, we are going to change our parameters defined in the Create Flow Parameters outside of the Flow Designer.
We begin in the Designer Folder with clicking Create Flow on the Folder Actions Panel.
Then, we Name the Flow and click CREATE to proceed to the Flow Designer.
In the Flow Designer we add Create Flow Parameters step from All Steps [Catalog] > Flow Management category.
Next, in Edit Step: Create Flow Parameters window we locate Data Definitions options and click Show Editor.
In Data Definitions window we create couple parameters and provide Constant values (just like we would do with Create Data step) . Then, click Close .
Next, we connect the outcome from Create Flow Parameters step to the End Step in our Flow . This completes our Flow . We can save the Flow and close Flow Designer.
Back in the Designer Folder we locate a thumbnail for our Flow and click Action > Set Flow Parameters option.
Set Flow Parameters window pops up. We can see our parameters defined in Create Flow Parameters step.
We change values of our parameters and click Ok to save and continue.
Back in our Flow we can see that values of our parameters in Create Flow Parameters step are changed…