StartProcessInstanceByTime
Description
This timer takes a specific timestamp or a timespan as parameters and if it is in the past, the timer checks whether an instance has been started already on this day. If that is not the case, a new process instance is started.
Webservice Name
ProcessInstanceManager
Webservice Method
createProcessInstancesByHandler
Parameter
action_handler,name_of_process;day_of_week-hour:minutes
Parameter | Description |
---|---|
| It is the actionhandler that is called by the timer. Normally: |
| Name of the process definition that should be started. (e.g. |
| Contains the period in question or the time. e.g. e.g. You can also set only one day with no range. e.g. . Â The day of week starts with Sunday: 1 = Sunday 2 = Monday 3 = Tuesday 4 = Wednesday 5 = Thursday 6 = Friday 7 = Saturday |
A valid example: Start Instance On Certain Days of Week and Time by Timer
Case 1: One daytime Entry
2-12:45:03
If only one daytime entry is entered, the timer will check If another process instance has already been started on the same day, and if no instances have been started yet, the timer will start a new instance at 2-12:45 which will be Monday at 12:45.
Case 2: Multiple Daytime Entries
2-12:45&4-13:15
If two different daytime entries are entered, the timer will check on 2-12:45 which will be Monday at 12:45 and 4-13:15 which will be Thursday at 13:15. If another process instance has already been started within this timespan, the timer will not initiate a new instance. However, if no instances have been started yet, the timer will start a new instance.
© TIM Solutions GmbH | AGB | Datenschutz | Impressum