Get all process definitions

Hi Experts,

I am trying some way to find all the process definitions which are deployed. I could not found any such method.

	*

processEngine.getRepositoryService().getProcessDefinition(processDefinitionId) ;

Above code seems The only way it seems we need to pass the definitionId as below, which only returns specific object.
I need some method like
—.getAllProcessDefinitions();

Is it possible ?

Hi @ajay,

please try

processEngine.getRepositoryService().createProcessDefinitionQuery().list();

Hope this helps, Ingo