Using CHECK CURRENT TIME precondition

Document ID : KB000093702
Last Modified Date : 02/05/2018
Show Technical Document Details
Question:
We have a workflow with 2 child-tasks that is executed recursively every 30 minutes
While task 1 should start every time recursive workflow starts, we want successor job (task 2) only starts during specific un-uniformed time ranges (instead of starting with workflow every 30 minutes), else it should be inactive.
Is it possible? how?
Answer:
There are many ways to achieve the setup you are looking for, but a simply approach could be: Using preconditions (check current time)
  • Open preconditions tab of task 2
  • Choose CHECK CURRENT TIME condition and fill in the desired time range
    • The task should FINALLY RUN if the condition is met
    • The task should FINALLY SKIP if the condition is not met
  • If you want to setup multiple time ranges settings then you can use layered CHECK CURRENT TIME conditions (i.e below screenshots)
on AWIon Java UI
Using of CHECK CURRENT TIME on AWIUsing of CHECK CURRENT TIME on Java UI
Additional Information: