AnsweredAssumed Answered

Accessing custom BPMN 2.0-attributes during execution

Question asked by sebastian.s on Feb 22, 2012
Latest reply on Feb 22, 2012 by sebastian.s
Hello Activiti Community,

the tasks in my process definition have custom attributes (which is allowed by the BPMN 2.0) spec. Is there way in Activiti to access these attributes during execution of the task? Or are custom attributes in the process definition simply ignored and stored nowhere?

In jBPM 3.2 there was a similar feature where you could list key-value-pairs under the <configuration>-element of a task. These values were then injected into the attributes/member variables whose names matched the keys. At runtime you were able to access the values stored in the member variables of the Java Delegation Class.