Change state
This action allows to set the operation to a different state. For example, the status of a task controls who has access to the task. In addition, tasks in the mailbox can also be filtered based on the status.
Parameters
Settings
- Transactions can be deleted in this status
- If this option is deactivated, it is not possible in Inbox to delete transactions which have been received in the current status.
Form submission
- Advanced settings
- It is possible to determine which login options are available to users who want to access transactions in this status.
- Accessible by
- Restrict the form call to user defined user groups. Only applies to logins via FORMCYCLE, NTLM and Kerberos.
- Form password
- Here a password can be assigned, which must be entered with each call of this form.
- Without login
- Gives form users the option to continue without logging in.
Action variables
Actions of type Change state provide Action variables.
Standard action variables
- [%$<action name>.SUCCESS%]
- Return whether action was successfully executed. Returns Boolean (true/false).
- [%$<action name>.RESULT%]
- Return all results provided by the action in structured form.
- [%$<action name>.ERROR_CODE%]
- The error code thrown in case of an error in the action. Empty if no error occurred.
- [%$<action name>.ERROR_MESSAGE%]
- The thrown error message in the action's error case. Empty if no error occurred.
Action specific action variables
- [%$<actionname>.RESULT.changed%]
- Returns true if the current status of the action has changed, false otherwise.
- [%$<actionname>.RESULT.newState.id%]
- The ID of the new state.
- [%$<ActionName>.RESULT.newState.name%]
- The name of the new state.
- [%$<ActionName>.RESULT.newState.uuid%]
- The UUID of the new state.
- [%$<ActionName>.RESULT.oldState.id%]
- The ID of the previous state.
- [%$<ActionName>.RESULT.oldState.name%]
- The name of the previous state.
- [%$<ActionName>.RESULT.oldState.uuid%]
- The UUID of the previous state.
- [%$<actionname>.ERROR.message%]
- Error message returned if the state could not be found.