Cron trigger : first occurrence date and number of occurrences
It should be possible to be more specific when specifiing cron triggers by defining the date of the first occurence and the number of occurence.
Usecases:
Differing the beginning of the execution of a cron trigger to future date.
Limiting the number of occurrences of a cron trigger.
Executing workflows only once at a given date.
Implementation:
* We need to add a column to the cron_triggers_v2 database:
- remaining_
* We need to add two new optionals parameters to the trigger creation:
-first_
-remaining_
* We also need to extend the client to support these new parameters.
The proposed format for the first_execution
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Medium
- Drafter:
- Pierre-Arthur MATHIEU
- Direction:
- Approved
- Assignee:
- Pierre-Arthur MATHIEU
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
- Implemented
- Milestone target:
- 2015.1
- Started by
- Renat Akhmerov
- Completed by
- Renat Akhmerov
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Trigger remaining-
Addressed by: https:/
Trigger remaining-
Work Items
Work items:
'pattern' parameter should be now optional in case of number of remaining executions is 1: INPROGRESS
In other cases 'pattern' is required to know periodicity: INPROGRESS