Hi all,
In my bpmn I have two service tasks, both of them are functions to call my service class functions.
The below is my bpmn file code.
<serviceTask id="updateContact" activiti:expression="#{printer.updateContact()}" />
<sequenceFlow id="flow3" sourceRef="updateContact" targetRef="readContact" />
<serviceTask id="readContact" activiti:expression="#{printer.readContact()}" />
The printer variable inside expression is an object of my class Printer which contains updateContact() and readContact() functions. Now what I want is to pass an object from updateContact serviceTask to readContact serviceTask. I saw examples of passing objects to functions using delegate but I want to know if we can pass an object between two serviceTasks? If yes, then how? I am new to Activiti so please help me out with this.