AnsweredAssumed Answered

Assign Task Local Variables in BPMN (JavaServiceTask)

Question asked by jrussell.smyth on Apr 25, 2012
Latest reply on Sep 3, 2013 by jbarrez
Is there a way to assign a task local variable for a Java ServiceTask from BPMN?

My use case is developing small reusable ServiceTasks and we would like to not have to have them know about the larger process they are running in, rather we would like to take a process level var and assign it to a task level var for use in the task.

I know this can be done programatically, but we dont really have a hook for this as we are attempting to keep the workflow assembly in bpmn.

The similar case I can find docs on is Web Service tasks with <dataInputAssociation/> or the from elements for UserTasks. I want something similar but for Java Service Tasks]

Thanks!

Outcomes