A CL_INT type uproc has several variables used in its script. When the default value of a variable is updated for a rerun the variable value are changed, however if a subsequent rerun of the same Uproc is carried out the updated variable values reverts to its original Uproc value instead of remaining at its current value.
This happens for the Uproc variable of type password, but also for all normal variable if the are listed after a password variable.
For instance:
A Uproc has 3 variables in the indicated order:
Create a Uproc with 3 variables in the same order as indicated:
Create a Uproc with 3 variables in the same order as indicated:
variable type | name | value |
text | var1 | val1 |
password | password | secret |
text | var2 | val2 |
CL_INT:
echo %var1%
echo %var2%
echo %var3%
Now, run the Uproc to check the result.
Then rerun the Uproc (right-click Rerun) and change the values in the Window that is opened before rerun to:
val1mod
verysecret
val2mod
Everything works, so far.
Now rerun the Uproc a second time and observe the values in the Job Log:
val1mod
secret
val2
Release : 6.10
Component : DOLLAR UNIVERSE
This is a bug
Partial workaround:
Putting the password variable last in the list prevent other variables to be modified.
Solution:
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Application Server
Dollar Universe 6.10.91 - Available