Dynamic process creation

can i create dynamic BPMN process flow ?if yes how can i create & please provide me some sample example

Can you tell us what you mean by this?


Attached image is exiting process flow .Now they (customer) want to create the process flow as configurable .existing flow is start app ->customer engagement->scoring ->AML …now customer want to create process flow dynamically and they can use aml services end of the flow where AML ll be validate it.
is it feasible or not ?

@brajendra.kumar you can do that in two ways.

a) Create an user interface to configure the workflow elements by the user and using camunda java fluent builder api you can programmatically generate the bpmn file.
https://docs.camunda.org/manual/7.12/user-guide/model-api/bpmn-model-api/fluent-builder-api/

b) Better approach: Download and embed the bpmn.js library and customize as per the needs and it allows to provide configurable user interface to the user and also generates the bpmn file at the end.

you can find the discussions about bpmn.js in the forum:

Hi Aravind /Niall ,
you have given the url to create dyanmic process With the Fluent Builder API
.can you please share me url for source code .
Please advice me which approach i have to go …fluent api or java script…
one more thing i have to create dynamin process only …not required junit…