This content has been marked as final. Show 3 replies
Hmm, that's definitely not any cleaner than what I had, which is below.
ActivityBehaviour act = ((ExecutionImpl) execution).getActivity().getActivityBehaviour();
boolean isCustom = ( act instanceof UserCodeActivityBehaviour );
I think cleaner ;-) , since it is generic and looks at the node type, not the implementing class.