AnsweredAssumed Answered

Get the activity type of an PvmActivity

Question asked by cookie-exploit on Aug 29, 2012
Hello guys,

is it possible to get the type of an PvmActivity (e.g. serviceTask, userTask, exclusiveGateway, etc.)?
Would be be really great if this is possible.

Greets cookie-exploit

EDIT: After a bit more research I found the solution in the alfresco source code.

PvmActivity activity = transition.getDestination();
String activityType = activity.getProperty("type");