Set Job Variable Task Equivalent in API - VisualCron - Forum

Community forum

SnapDiligence
2017-08-15T17:10:34Z
I'm trying to use the API to have jobs self modify their Job Variables during runtime within that job instance like the Set Job Variable task can. Currently, I've only figured out how to update the original job on the server, which means that the running job instance doesn't get the updated variable values until it runs again.

I currently have to nest the jobs I need to modify during runtime as child tasks and modify them before they get called in the parent, but it would be a lot cleaner if I could just have the running job instance modify itself.

Does the Set Job Variable Task have something with the same functionality available in the API?
Support
2017-08-16T11:39:24Z
You cannot do this during runtime unless using the Set Variable Task in the Job itself.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
SnapDiligence
2017-08-17T16:05:59Z
Originally Posted by: Support 

You cannot do this during runtime unless using the Set Variable Task in the Job itself.



Alright, thank you.

Would exposing that functionality in the API dll be a reasonable feature request?
Scroll to Top