The Call Routine action (previously known as Call Another Action Set) is used to run the actions of another control.
This is commonly used so as not to duplicate the same actions in different controls.
- Select A Routine: select a control with the action set you wish to call. The event the action is in will be listed in brackets.
- Jump to this action set: this will take the user to the control with the action set.
- Wait for the App Routine to finish before continuing (slower): If unchecked, then the routine will be run in the background and a notification will indicate when it is complete. Warning, if actions after the Call Routine action relies on its output, do not uncheck this.
Example: Imagine four buttons that can save a record:
- Save and return
- Save and new
- Duplicate Save button at the top of the screen
All of these buttons have the same actions except for minor differences. You can put the common save actions in the first button, and then use Call Another Action Set from the other three buttons with additional actions to handle their special cases. This way, if there is any change to the core save process, you will only need to update it in one place.
You may notice that one of the options in the dropdown has routines underneath an App heading. These are app routines defined within the app.
For more information, please see our App Routines article.