I have a process in jBPM. The process has a Human Task. Also there are Data Objects: SrcData, CalcInter.
In the Human Task's Assignment Data I/O panel I need to read properties from the objects in Data Inputs section, and write a calculated variable in the property of CalcInter object in Data Outputs section (see picture).
Screenshot of Assignment Data I/O panel
Objects' properties reading in Data Inputs works as intended. As suggested here: How to call a getter method in the Data Assignments I/O in a jbpm task?
But writing Object property in Data Outputs in such way doesn't work. I've tried:
#{CalcInter.setAxx(axx)}
#{CalcInter.setAxx((int)axx)}
#{CalcInter.setAxx(#{axx})}
How to solve this? (And why is it so complicated?)