...
When you need to run recalculation of certain Steps or Calculations of a Model Object regularly, you can configure the list of available actions which could be scheduled. The end-user can set up the regular calculation schedule of those actions via UI page on model object detail page. The scheduling can be also done via SchedulesContext available via method schedulesContext() on the Model Context.
...
name* - Name of the action, unique in the Model Class
label* - Description of the action, visible to end-user on the model object Schedule page.
type* - What type of action is performed. Available options are
steps - this action will perform calculations from range of Steps. It can be performed only if the model is editable (i.e. not submitted/approved)
task - this action will perform a specified task
fromStep - (Only for type steps. Optional.) Name of a Step. When specified, the action will process only Steps starting with this one. When not specified, the action will process Steps starting from the first one.
toStep - (Only for type steps. Optional.) Name of a Step. When specified, the action will process only Steps until, and including, this one. When not specified, the action will process Steps until, and including, the last one.
task* - (Only for type task) Name of the task to be performed. The task must be defined within the same Model Class.
...
When you need to run calculations regularly , but only once the model has been approved (i.e. locked for modifications), you can configure the list of available tasks, which could be scheduledby using an Action of type task, the Task must be defined in the Model Class as follow.
Example of tasks definition:
...