Community forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline SnapDiligence  
#1 Posted : Tuesday, August 15, 2017 7:10:34 PM(UTC)
SnapDiligence

Rank: Paid support

Joined: 2/17/2017(UTC)
Posts: 10
United States
Location: Texas, Houston

Thanks: 2 times
Was thanked: 3 time(s) in 3 post(s)
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?

Edited by moderator Wednesday, August 16, 2017 1:39:32 PM(UTC)  | Reason: Not specified

Offline Support  
#2 Posted : Wednesday, August 16, 2017 1:39:24 PM(UTC)
Support

Rank: Official support

Joined: 2/23/2008(UTC)
Posts: 11,167

Thanks: 868 times
Was thanked: 443 time(s) in 421 post(s)
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!
thanks 1 user thanked Support for this useful post.
SnapDiligence on 8/17/2017(UTC)
Offline SnapDiligence  
#3 Posted : Thursday, August 17, 2017 6:05:59 PM(UTC)
SnapDiligence

Rank: Paid support

Joined: 2/17/2017(UTC)
Posts: 10
United States
Location: Texas, Houston

Thanks: 2 times
Was thanked: 3 time(s) in 3 post(s)
Originally Posted by: Support Go to Quoted Post
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?

Edited by user Thursday, August 17, 2017 9:53:30 PM(UTC)  | Reason: Not specified

Users browsing this topic
Guest (2)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Scroll to Top