Conditions allow you to define the process flow dependent on the evaluation of certain expressions.
In such an expression, you can compare auto fields, variables, a current value of a widget, or a given constant with each other and use the result to decide whether the process continues in one direction or the other.
Alternatively, you may decide to continue the process only if a condition is true and decide to leave out the alternative, which will stop the process at that point.
Double-clicking on the shape adds a new condition. Alternatively, click on the plus icon on the right.
An AND condition is created by default.
Toggle between AND
and OR (not XOR) condition using the toggle switch.
Select the operator of the condition by the drop-down.
== | value1 is equal to value2 (not checking the data type, only the value) |
!= | value1 is not equal to value2 |
< | value1 is less value2 |
> | value1 is greater than value2 |
<= | value1 is less or equal to value2 |
>= | value1 is greater or equal to value2 |
isSet | variable has a value |
isNotSet | variable has not a value |
An iterator is an object that passes data structures sequentially. It returns the following element and determines if further elements follow.
Use the iterator activity to iterate over a variable. It has two output ports: each and after.
Port | Description |
each | For every iteration, the following process will be executed. |
after | After all the iterations ended, the following process will be executed. |
The iterator selection helper can be called by opening the mapping area on the right side. The mapping area can also be opened by double-clicking the shape.
Drag and drop the parameter into the mapping area. You can select the collection to be iterated by double-clicking on the parameter.
The Mapping dialog is aware of its type and only offers collection variables that are defined in the application.
The Script element allows you to integrate your own JavaScript snippet. It is activated by the previous event.
It shows a preview of the JavaScript full screen and its (optional) description on the right side. You can also enter code in this area, the changes will be saved and also transferred in full screen.
The full screen view is opened by double-clicking on the shape or by clicking on the corresponding icon .
Pretty Print
You can prettify JavaScript code with just one click.
By clicking on the corresponding symbol (Format Code) your code will be simply prettified.
JsLint
You can analyse and check your code for problems.
By clicking on the corresponding symbol (Validate Code) your code will be analysed.
Script Blocks
You can choose from a list of predefined code snippets.
By clicking on the corresponding symbol (Script Blocks) a dialog with grouped function snippets will be opened. After confirming your selection, the dialog inserts the template of the function.