Hello community,
is it possible to set/change the value of a process variable in a scripttask/expression for example when a condition is true other than node output is stored as.
I know how to set a value of a processvariable in the node output, but can it be done in like setting the value of a localvariable?example:if(pv!fruit="Apple",pv!color:"green","")
Kind Regars,
Erik
Discussion posts and replies are publicly visible
No, you cannot achieve this as in your code posted above - process variables will be updated on the data tab, node input or outputs. What is your use case / where are you attempting to run this expression?
Hi Chris,
Thanks for you answer.Now I know that there is no other way, I will use the node outputs in a scripttask to set the variables based on the expression with the condition.
Kind Regards.