The Action component is an Enumeration which defines the possible values for predefined variable action.
Every process instance includes the action predefined variable, which is an instance of Action.
Depending on the value of action, the Engine responds accordingly and saves or undoes (commit or rollback) the changes made to any instance variable when the PBL-Method is executed.
| action = | Description |
|---|---|
| OK / NONE | Indicates that PBL-Method execution was successful. This is the default value. |
| FAIL | Indicates that the PBL-Method has failed its execution. The PBL-Method must be executed again, if it is so required. |
| CANCEL | PBL-Method execution is aborted. |
| REPEAT | Indicates that the PBL-Method execution is successful, but not recorded as completed. |
| RELEASE | Ends the PBL-Method execution and releases the instance from this activity. |
| ABORT | Ends PBL-Method execution and aborts the entire process instance. |
| BACK | Ends PBL-Method execution and sends the instance back to the activity where the exception (or interruption) occurred. |
| SKIP | Ends PBL-Method execution and sends the instance back to the activity where the exception (or interruption) occurred and skips it. |
if selectedButton == "Yes" then action = OK elseif selectedButton == "Abort" then action = ABORT else action = BACK