Goto Step
The Goto Step specifies the next step in the workflow model to execute, depending on the result of an ECMA script.
If Script returns true, The Goto step completes and the workflow engine executes the specified step.
If Script returns false, The Goto step completes and the normal routing logic determines the next step to executes.
When you drop this step in your model and double click on this step you will find two tab Common and Process.
In common tab you have to give the title and and description and , the following properties are available in process tab:
1. Step to go to: Select the step to execute.
2. Script path: The path of the ECMA script that determines whether to execute Goto step.
3. Script: The ECMA script that determines whether to execute the Goto step.
Specify the value for either the Script path or the script property. If you specify values for both properties, the step uses Script Path.
In my case there are four step I can switch.
And write an ECMA script which return always true.
Click OK. Now after this step Dialog Participant Step will be execute.
Be Happy
Recent Comments