how to integrate ExclusiveGateway , EndEvent and other workflow objects using java to create own Model
I'm working on a workflow project using Activiti and i'm wondering if there is any helpful doc where i can find how to create object such as ExclusiveGateway , EndEvent ... using java not the XML representation
Re: how to create object such as ExclusiveGateway , EndEvent ... using java
What is the particular use case that you're looking to solve doing this? Generally speaking within BPMN, the process is intended to be pretty structured from the get-go, meaning that the gateways and end events are already created prior to running any Java code along side the process instance.
// 1. Build up the model from scratch BpmnModel model = new BpmnModel(); org.activiti.bpmn.model.Process process = new org.activiti.bpmn.model.Process(); model.addProcess(process); process.setId("my-process");