AnsweredAssumed Answered

Get ProcessDefinitions (Java API)

Question asked by gant on Jul 21, 2011
Latest reply on Jul 21, 2011 by gant
Hi,

I'd like to get all process definitions deployed on the engine (the latest version, if there is more than one). I can't find nothing in the user guide and Javadoc.

In the REST-section of the user guide, i can see, that

GET /process-definitions?start={start=0}&size={size=10}&sort={sort=id}&order={order=asc}

that is, what I want, is equivalent to

ProcessEngines.getProcessEngine(configuredProcessEngineName).getProcessService().createProcessDefinitionQuery().listPage()

But I can't find ProcessService anywhere. so how can I do this in a different way?

Regards
michael

Outcomes