User development,

A new message was posted in the thread "How to differentiate State and Task":

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

Author  : Maciej Swiderski
Profile : http://community.jboss.org/people/swiderski.maciej

Message:
--------------------------------------------------------------
Hi,
 
I am not sure that there is a public API for this or anything planned (perhaps 
you could browse jira) but it can be done by casting to internal types.
Execution executionInA = processInstance.findActiveExecutionIn("review");
String type = ((ExecutionImpl)executionInA).getActivity().getType();

This returns the type coresponding to xml tag.
 
It is not the best way (by using internal classes) but it can do what you need 
and perhaps such functionality is on its way if not, maybe create a new request 
for it would be good idea.
 
HTH
Maciej

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

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


_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to