Hi,
I want to find the no.of instances started,ended & susped for a given process definition.
I have taken a loop through towards no of instances and
taken counting for each instance started,ended or suspended (hardcoded data).
But I want to kwon is there any Class/method API in JBPM to find the no.of processes started. ( without using manual count).
regards
subrahmanyam
There is a method off of GraphSession that can be found on the jbpm context.
JbpmContext().getGraphSession().findProcessInstances(ProcessDefinitionId);