I am facing an issue where I am setting a variable in the process model at first to be false and at the end I am setting it to be true, this change was made flawlessly across all the process models only this one. whenever I try to return the value via the web API it keeps on returning false. just note that the script task that change the value is set after a sub process model. keep in mind all chains are enabled !
Discussion posts and replies are publicly visible
Are you sure the name of the variable you are updating is "success" with the same case? And you, by mistake, did not add the script task name instead of the variable name in the API's success parameter? And do you also have the chaining enabled in the sub process?
I am sure that the name of the variable is success...
yes all chains are enabled in the sub process
Okay. And when you check the process history and variable's values in the process instance, does it show true there? If yes, the only reason I can think of is the broken activity chaining somewhere.
Did you configure the sub process nodes to chain into the called process?