In jBPM Business Central if I was to make a Business Process that had one Data Object called FinalValue with one Integer variable called endValue
and then in the Process I made a human task where the user picks an Integer value and it gets outputed as an Integer Process Variable userInput1, then I use that variable in the Script Task to enlarge it by a value of 10 and store it into another Integer Process Variable storedValue, how do I save that value into the Data Object variable so that it shows when I use the Data input int the Display form.
In the Script Task I tried many things like this:
storedValue = userInput1+10;
FinalValue fin1 = new FinalValue();
fin1.setEndValue(storedValue);