Hi,
I have the folowing setup for 3 jobs:
1. Authentication job
This job gets an authentication key and updates a job variable 'authentication key' in job 3 (set job variable task)
2. Master job
This job runs job 3 mulitple times and updates their job variable 'download path' to retieve files from (job/task control task)
3. Slave job, download job
This job retrieves files from his job variable 'download path' using his job variable 'authentication key'
This job starts by running job 1 to get the authentication key (job/task control task)
The whole meganism works fine in the flow, the 'download path' is updated every time, but the 'authentication key' isn't.
When Job 1 is running the output is that the job variable is updated to a new value, but when I check the value of the job variable in job 3 after calling job 1, it is not changed.
Why thinks job 3 that it has an old value as job 1 is updating it?
[update]
When I put in all the tasks from job 1 in job 3, the job variable is updated, but as this (retrieving an authentication key) happens multiple times in job 3, i seperated this as a single job so my job 3 is nice and tidy.
[/update]
Regards,
Erik
Edited by user
2019-11-21T10:19:32Z
|
Reason: Not specified
Uses Visualcron since 2006.