The window for changing process conditions opens inside the workflow administration interface by clicking on the 'Edit conditions' button. This window consists of two parts - a display of conditions in the form of a tree with nodes on the left, and a table of conditions located in the selected node on the right.
A node, or condition, can be marked by pressing the left mouse button either inside a tree or inside a table. By marking the conditions within the tree, the table will show all the conditions that are inside the node in which the selected condition is located, and the corresponding node will be automatically marked within the table.
Likewise, by marking conditions within a table, the same node will automatically be marked inside the tree.
In the lower right corner of the window there are two buttons, 'Save changes' to save all entered changes, and a 'Cancel' button to discard all changes.
The table consists of two columns with data:
Inside the table on the right are two more columns - 'Edit' and 'Del', which contain icons for editing and deleting the entered conditions.
Enter a new condition
Below the tree view are two buttons used to enter a new condition. These are the ‘Insert’ and ‘Insert child’ buttons. The 'Insert' button is used to enter a new condition within the same node in which the selected condition is located. The 'Insert child' button is used to enter a new condition within the node / condition that is highlighted. This button is active only if one of the following conditions is checked: root node, condition 'and' or condition 'or'.
Pressing one of these buttons will open a window for entering a new 'Edit condition', consisting of a 'Type' field and an input field, which change depending on what is selected under 'Type'.
The 'Type' field indicates the type of data that is selected via the drop-down menu. The data type can be 'string' (text), 'int' (integer), 'double' (decimal), 'date' (date), 'regex' (regular expression), 'or' (expression 'or') and 'and' (expression 'i').
Each condition has its own name, which is entered within the 'Name' field.
There are two buttons in the lower right corner of the window: 'Cancel' to reject the entry, and 'OK' to enter a new condition. The 'OK' button is only active if all data has been entered correctly.
Changes in conditions
The conditions can be changed by clicking on the corresponding icon in the 'Edit' column of the table on the right. Clicking on this icon will open the 'Edit condition' window. The appearance and functionality of this window are the same as when entering a new condition.
In the lower right corner of this window there are two buttons: 'Cancel' to reject the changes, and 'OK' to enter changes to the selected condition. The 'OK' button is only active if all data has been entered correctly.
The condition can be deleted by clicking on the corresponding icon in the 'Del' column of the table on the right.
Below the data entry form is the text 'Data verification', which displays the result of checking that all data has been entered correctly during entry.