[jboss-user] [jBPM] New message: "Re: Determine whether current Activity is custom or not"
M M
do-not-reply at jboss.com
Wed Jan 13 15:22:36 EST 2010
User development,
A new message was posted in the thread "Determine whether current Activity is custom or not":
http://community.jboss.org/message/519889#519889
Author : M M
Profile : http://community.jboss.org/people/gubespam
Message:
--------------------------------------------------------------
Hmm, that's definitely not any cleaner than what I had, which is below.
{code}
ActivityBehaviour act = ((ExecutionImpl) execution).getActivity().getActivityBehaviour();
boolean isCustom = ( act instanceof UserCodeActivityBehaviour );
{code}
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519889#519889
More information about the jboss-user
mailing list