I have create a business process flow using fluent API. I have few questions:
- With fluent API I am able to create a new process flow and validate it. But after build where that file (*.bpmn) is getting created?
RuleFlowProcessFactory factory = RuleFlowProcessFactory.createProcess("org.jbpm.HelloWorld");
factory
.name("HelloWorldProcess")
.version("1.0")
.packageName("org.jbpm")
.startNode(1).name("Start").done()
.endNode(2).name("End").done()
// Connections
.connection(1, 2)
.build();
Where HelloWorld.bpmn file will be created?
- Is there a way to create the process flow (*.bpmn file) inside kJar file with some API?
- Even if I somehow create a process using fluent API, how can I deploy it to a already existing kie server. I have a kie server running on localhost:8080, so is there a way to deploy the process created with fluent API on my kie-server.
- If not possible, is there a way to deploy the kJar to kie-server without using the business central. Is there any API for that?