Actions of the Save type allow to enable or disable the "Saved" marker of the operation. This has the same effect as a button with the "Save" action in the form. The cache is mostly used so that the user can save an intermediate state and continue filling the form later. As a rule, a button with the action "Save" should be used. This action can be used when a process should be cached depending on a condition, for example.
Action variables
Actions of type Save provide Action variables which can be used in subsequent actions.
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.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article