Script examples - used on navigation arrows

It is only if you use nodes of the type Gateway that you can add scripts to the navigation arrows. Scripts are written in the programming language javascript. In Flow, an operator is used in logical statements to determine equality or difference between variables or values. Operator can be, for example:

== (is equal to)

!= (is not equal)

> (greater than)

< (less than)

<= (less than or equal to)

>= (greater than or equal to)

&& (and)

|| (or)

To add a script to a navigation arrow, click the arrow and then Condition. The following script is included by default:

function fn(node){
return true;
}

Use a value from the dialogue to determine the way forward for the next task

Order assistance from a consultant if you need help with scripting.