AnsweredAssumed Answered

Passing Liferay workflow objects to Activiti serviceTask

Question asked by guru_nayak on Sep 6, 2012
Latest reply on Sep 10, 2012 by guru_nayak
We are integrating Liferay with Activiti Workflow along with Drools. We would like to pass the Liferay workflow context to the service task in Activiti workflow. Can anyone tell me the best way to do this.
We tried defining a script task

<scriptTask id="scriptTask" scriptFormat="LiferayJavaScript">
          def var person = (Long) workflowContext.getSomething("aaa");
Now the issue is this person object is not accessible outside in other workflow script tasks. How to access the person object.
If we define other scriptTasks with scriptFormat as "javascript" then it gives various errors or classnotfound or such related exceptions.