- Introduction to WorkXpress
- Building Your Application
- Examples and Best Practices
- Technical Manual
Use this control when you don't want the user to wait for a set of actions to process. You may either process the nested actions immediately in the background, or you may schedule them to run at a future time. The User's activities will proceed forward regardless of whether these Actions have completed. (Also called: Scheduled Actions)
This will cause the action to run immediately when triggered.
If 'schedule for a specific time' is chosen, use the Expression Builder to calculate the appropriate 'Unix time stamp', i.e. the number of seconds since Jan 1, 1970. Otherwise, the actions will run immediately, but in a background process.
When 'schedule for a specific time' is used, there is a background record created for running the action at the specified time. If the record the action is on is saved, this triggers the action and the background record is overwritten. If the scheduled time has not changed and is in the past, this will cause the associated action to run again. If it time is in the future, the action will work as expected.
To avoid having a scheduled action run repeatedly for a past time, put a checkbox on the table that has the context of the action. For example, if you have a reminder email set up to go out when a project's deadline is approaching, you would put a checkbox on the project table for “Notification Email Sent”. In the queue action, add a set field value action to check that box. Then add an evaluation around the queue action to check if the box has been checked before running the action.
Useful as a comment, this description will overwrite the automatically generated description in the Action Manager.