Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: Setting process variable in script task using BPM standard method"
To view the discussion, visit:
https://community.jboss.org/message/775311#775311
--------------------------------------------------------------
jBPM nodes can define dataoutput that then are used to set process variables, for instance
human task can have defined dataoutput and its assignments to achieve what you described.
Don't think script task supports that and looking at your case not sure you should use
it to set variable like this. Variables are set/changed based on some steps in the process
or external interaction. So better is to look at what can change a variable and define it
via dataoutputs.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/775311#775311]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]