The purpose of this function is to allow the user to update the details of entries on the ARC table.
This form is accessed by selecting entries in the List Workflow Arc screen before pressing the 'UPDATE' button in the navigation bar.
For a complete description of how this type of form works please see Transaction Pattern UPDATE 1.
| Field Name | Type | Description |
|---|---|---|
| Workflow ID | NUMERIC | Required. This is passed down from the parent function so is entered automatically. It is part of the primary key and cannot be changed. |
| Place ID | NUMERIC | Required. Must be chosen from the current entries on the PLACE table for this WORKFLOW. |
| Transition ID | NUMERIC | Required. Must be chosen from the current entries on the TRANSITION table for this WORKFLOW. |
| Direction | STRING | Required. The possible options are:
|
| Arc Type | STRING | Required. The possible options are:
|
| Pre Condition | STRING | Optional. Only valid if the Arc Type is 'Explicit OR split'.
A transition can only have two output arcs of this type, and a pre-condition must be defined in one of them. When the pre-condition is evaluated it produces a result of either TRUE or FALSE, and if TRUE it will cause the arc containing the pre-condition to be chosen. If the result is not TRUE then the other arc will be chosen instead. The rules for defining a pre-condition are as follows:
Here is an example of valid code:
if ($fieldarray['value1'] > 100) {
return TRUE;
} else {
return FALSE;
} // if
|