Better Workflow scheduling options #8292
Labels
Area: Workflow
Issues & PRs related to all things regarding workflow
Type:Suggestion
Issue containing a suggestion of functionality, process or UI. Associated PRs are called enhancement
Issue
This is a suggestion for a feature which comes form this discussion #3806, I think it shouldn't get lost as I often see requests for similar things in the Forums, and I believe this is relatively easy to implement.
The problem
Workflows job is typically executed once per minute. If you want to do something only once per hour, day, month, etc., you have to play with some field to store whether it has run already in the current period or not; and have a condition break the execution if it has. This is inefficient in terms of performance, and cumbersome and confusing to set up.
You can also just set up a custom scheduler job in PHP, but this is a show-stopper for users who are not programmers and want to stick to the Workflows UI.
The proposed solution
I have a suggestion for a design to solve this same problem, with a generic solution, and I believe it isn't too much work to develop:
Run
asOnly From Specific Scheduler Job
Add Scheduler
calledRun Specific Workflow
with parameter letting you choose existingOnly from Specific Scheduler Job
Workflows from DropdownThis way the full possibilities of
crontab
settings could be applied to any specific Workflow.Note that we already have a
Process AOW Wokflow
Scheduler job, but it runs all the Workflows, not a specific one.The text was updated successfully, but these errors were encountered: