Download all process definitions as bpmn files which are deployed


I would like to download or export all the deployed process definitions using Java API not Rest call. Could you please help me with it?

Thank you,

1 Like

You could use the rest API to first get all deployed definitions and then get the BPMN XML for each.

1 Like

Without using rest api? something using repositoryService or any other service. I can find functions to pass process definition id. I need list of process definition id

Do you want to use the Java API instead?

Yes please. Thats would suffice

This should do the trick


Thank you so much ! worked! :slight_smile: