User development, A new message was posted in the thread "[jBPm 4.1] - How to find a exeuction is ended or not":
http://community.jboss.org/message/530965#530965 Author : Maciej Swiderski Profile : http://community.jboss.org/people/swiderski.maciej Message: -------------------------------------------------------------- You could use HistoryProcessInstanceQuery to get such information. historyService.createHistoryProcessInstanceQuery().processInstanceId(). state(HistoryProcessInstance.STATE_ENDED).uniqueResult(); If that will return any result this will mean your process instance is finished. You can try different configuration for HistoryProcessInstanceQuery as well if above example does not suit your needs. HTH Maciej -------------------------------------------------------------- To reply to this message visit the message page: http://community.jboss.org/message/530965#530965
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
