Work flow 1: User submits data and the work flow ends.
Work flow 2 : User submits data and it goes to the next level for approval.
Work flow 3 : User submits data and there are are 3 levels of approval.
All these workflows I need to create without having to design the bpmn diagram.
@deepti you can create workflow using camunda fluent API(process builder) programmatically without designing the bpmn model from modeler. You can refer this docs for your reference.
@deepti i will give you some suggestions for designing bpmn using camunda modeller over Java Fluent API.
Using camunda modeller to design bpmn model avoids boilerplate code, so you can concentrate on implementing business logic & application integration.
No down time required for changes in bpmn model when the changes are done through camunda modeller and the same can be deployed through rest api. Incase of using fluent builder to design bpmn, every changes required application restart thus resulting in downtime.
If you have bpmn file modelled using camunda modeller, then you can easily colloborate with different stakeholders or across different organizational units.
Again its upto you to decide based on your requirements.