Demian Calcaprina [http://community.jboss.org/people/calca] created the discussion
"Re: Getting the current state in a process and printing out as String" To view the discussion, visit: http://community.jboss.org/message/614552#614552 -------------------------------------------------------------- With this you can get the state: WorkflowProcessInstance pi = (WorkflowProcessInstance)ksession.getProcessInstance(pid); And states are: int STATE_PENDING = 0; int STATE_ACTIVE = 1; int STATE_COMPLETED = 2; int STATE_ABORTED = 3; int STATE_SUSPENDED = 4; I don't know if there is any method that makes that, but you can code it easily with this information. Hope it helps, Demian -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/614552#614552] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
