Creating a Scripted Condition
A condition is used to determine the progression of the process when a node has several conditional edges leading from it. You can attach a condition to the following components:
- conditional edge:
- conditionproperty
 
For more information about dataflow engine, see Dataflow Engine.
Creating a Scripted Condition in Control Center
- 
In Control Center, navigate to Conditions entry point. 
- 
On the Action Bar, click New and select ScriptedCondition. A new modal window opens. 
- 
In the modal window, provide an externalId, name, and click the Assign link next to the script label. A new modal window opens. 
- 
Select the script type which you want to code in and click Finish. The script properties window opens. 
- 
In the script properties window, there is only one property: source. Paste or write your custom script there, for example:$.getProcess().getProcessEntity().getProcessEntityIntProperty() != 1;For more information on the available functionality and syntax of a script, see Scripting. 
- 
Apply your changes. You can now assign your new scripted condition to a conditional node in the process designer. For more information on the process designer and the different components of a process, see Process Definition Components. 
For information on the deployment of various process definition components, see Dataflow Engine Components.