Differences

This shows you the differences between two versions of the page.

Link to this comparison view

action type - queue and schedule [2016/09/14 14:19] (current)
Line 1: Line 1:
 +====== Queue or Schedule Automation ======
 +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)
 +
 +===== Select when to run this block of actions =====
 +=== Queue Immediately ===
 +This will cause the action to run immediately when triggered. ​
 +=== Schedule for a specific time ===
 +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 [[Field Type - Checkbox|checkbox]] on the table that has the [[Context|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 [[Action Type - Set Field Value|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. ​
 +
 +===== Describe this action =====
 +Useful as a comment, this description will overwrite the automatically generated description in the [[Action Manager|Action Manager]].
  
action type - queue and schedule.txt ยท Last modified: 2016/09/14 14:19 (external edit)
Copyright WorkXpress, 2019