Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Configurable Job Variable
System
I have a WFM workflow where I am defining a hidden Configurable Job Variable and assigning it a default value of some string. I also have a PostProcessor Java class that updates the value of that Configurable Job Variable string based on some logic. That works great.
Problem is, I have some individual task variables that I also want to be updated to this same value as the Configurable Job Variable. I define the Value of the individual task variables to be the Configurable Job Variable (same ID). It would make sense (to me) that therefore, when the job variable is updated, the task variables would also be updated. But the task variables retain their same default string when I modify the job variable in the PostProcessor code.
I am verifying this by using the Debug mode during instantiation of the workflow. I can see that the job variable is updated, but the task variables are not. Is this just not how it works? Do I need to also update each task variable individually in the PostProcessing code? That would be a pain. I suppose I could change the code that uses the task variables to use the job variable instead, but I was hoping to not change any code.
If there's a cool way to map a task variable to a configurable job variable where if you change the job variable, all the task variables automatically update to that same value, please enlighten me.
TS 6.7.2 Solaris
Find more posts tagged with
Comments
There are no comments yet