[jboss-user] [jBPM] New message: "Re: how to get process state start and end date after completion of all its sub processes tasks"

Dominic Umbeer do-not-reply at jboss.com
Mon Jan 25 03:05:59 EST 2010


User development,

A new message was posted in the thread "how to get process state start and end date after completion of all its sub processes tasks":

http://community.jboss.org/message/521980#521980

Author  : Dominic Umbeer
Profile : http://community.jboss.org/people/homes

Message:
--------------------------------------------------------------
Hey,
 
I hope you want a solution for jbpm 4.x! You can use the HistoryService to get the start- and end-time.
 
HistoryService.createHistoryProcessInstanceQuery().processInstanceId("your_processInstanceId").orderAsc(HistoryProcessInstanceQuery.PROPERTY_STARTTIME).uniqueResult();
 
HistoryService.createHistoryProcessInstanceQuery().processInstanceId("your_processInstanceId").orderAsc(HistoryProcessInstanceQuery.PROPERTY_ENDTIME).uniqueResult();

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/521980#521980




More information about the jboss-user mailing list