AnsweredAssumed Answered

Programmatic creation of a process and using activiti XSD entries

Question asked by johnament1 on May 27, 2014
Latest reply on May 30, 2014 by jbarrez
Hi all,

I'd like to programmatically setup my process flows, for a number of reasons the XML files don't work for what I'm trying to do.

I'd like to be able to set the attributes like activiti:expression in my process, however I don't see an appropriate setter in BPMN's ServiceTask to properly point to an UEL expression for my beans.  I'm planning to use CDI based services for most of the work.

Is there a subclass of ServiceTask ( org.activiti.bpmn.model.ServiceTask ) that allows me to populate the custom attributes?  Thanks in advanced!

Outcomes