On timeout
Actions of this type are launched cyclically for defined instances. They allow you to specify the starting time and repetition cycle. Several actions of various types can be associated with one timeout. The way of calculating the times of consecutive executions depends on individual parameter settings.
Please note that such actions can be defined only within the steps as they have to be associated with a particular instance.
Configuration
You can access the configuration window of the On timeout actions by adding such an action in the step or path configuration window (the Actions tab → the Actions list panel → On timeout).
1. ID
The timeout identification number in the database (if it is smaller than "0", the timeout has not been saved in the database yet).
2. Name
A timeout name entered by the user.
3. Description
A description of a timeout entered by the user.
4. Operation mode
The Only action execution mode is a standard timeout operation mode. It causes the execution of actions associated with it in intervals defined in its settings.
The Path transition after action call mode causes the instance to move along a path in intervals defined in the timeout settings.
Please note that it is not possible to add actions to timeouts operating in the Path transition after action call mode. In this case, the timeout defines the duration of actions embedded on path with which it is associated.
5. Insert condition (SQL)
The field enables you to enter an SQL query that checks if a timeout can be inserted. If the query returns a value of "1" or "TRUE", the timeout will be associated with an instance. Otherwise, the timeout will be ignored.
6. Type
Specifies the type of a timeout action. Available types:
- Immediate – an action is triggered only once and it will not be repeated,
- Minute,
- Hour,
- Day,
- Week,
- Month.
7. Interval (minutes)
The frequency of consecutive repetitions. Depending on its type, the interval is defined in minutes, hours, etc.
8. Repetition count
Restricts the number of timeout repetitions.
9. Day in period
The option is applied only to the types of Week and Month. It specifies from which week (month) the timeout is to be run.
10. Delay (days)
Specifies by how many days from the start date the timeout is to be delayed.
11. Start date
The date on which a timeout is started. It can be the date when an instance enters a step or the date saved in the Date and time form field of the instance.
12. Only nighttime
Specifies if timeouts are to be run only at nighttime.
13. Executed at specific hours
Defines hours when a timeout is to be activated.
14. Ignore days off
Specifies if timeouts are to be run only on working days (Monday-Friday).
15. Path transition on execution error
Path transition occurs if any timeout action returns an error. This also applies to errors (including validation errors) from path transitions after executing a timeout action, or saving an instance after executing a timeout action in th Only action execution mode.
If any action on the selected path returns the value of "FALSE" or an error, the path transition will not occur.