Forum
»
Support
»
API
»
Set Job Variable Task Equivalent in API
  Rank: Paid supportJoined: 2/17/2017(UTC) Posts: 10  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
|
|
|
|
  Rank: Official supportJoined: 2/23/2008(UTC) Posts: 11,229
Thanks: 875 times Was thanked: 447 time(s) in 425 post(s)
|
You cannot do this during runtime unless using the Set Variable Task in the Job itself. |
|
 1 user thanked Support for this useful post.
|
|
|
  Rank: Paid supportJoined: 2/17/2017(UTC) Posts: 10  Location: Texas, Houston Thanks: 2 times Was thanked: 3 time(s) in 3 post(s)
|
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? Edited by user Thursday, August 17, 2017 9:53:30 PM(UTC)
| Reason: Not specified
|
|
|
|
Users browsing this topic |
Guest
|
Forum
»
Support
»
API
»
Set Job Variable Task Equivalent in API
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.