I just set up an example in my test group as I was wondering about something like this myself. I suspect with some tweaking it could be adapted for your needs. At any rate it might give you some ideas or at least another way to approach the problem. I'll do my best to explain.
I set up a timeTrigger test job with 2 job variables, TimeTrigger and TimeTriggerMet. TimeTrigger holds the time I want the second task to start and TimeTriggerMet is a flag that indicates when that time has been met:
The tasks I call are popups for testing, but in reality they would be jobs that could be called asynchronously.
First task initialize job variable(s).
2nd task is the first job to run.
3rd task sets the timeTriggerMet variable and consists of one line: {LOGIC(If|String|{JOB(Active,Variable,TimeTrigger)}|==|{TIME()}|1|0)}
If the time is not met, set to 0, when the time is met, set to 1.
The time is in the format "11:34 AM". Note it has a loop that runs until the TimeTriggerMet = 1 (true)
The 4th task is popup 2 which has a condition set consisting of 2 conditions. popup 1 task must be done (IsRunning = FALSE) AND the TimeTriggerMet variable must equal 1.
This simple example works fine so please give it a try.
At any rate, please report back and let us know your solution.
Edited by user
2017-05-23T17:25:37Z
|
Reason: Not specified