09-05-2016 07:02 AM
case ACTIVITY_STARTED:
if (ActivitiActivityEvent.class.isAssignableFrom(event.getClass())) {
ActivitiActivityEvent activitiEvent = (ActivitiActivityEvent) event;
runtimeService.setVariable(event.getExecutionId(), "current-activity", activitiEvent.getActivityName());
}
break;
(String) activitiService.getRuntimeService().getVariable(execution.getId(), "current-activity"));
09-05-2016 11:53 AM
Is there a simple way to achieve it ?Nope. Transactions, cancellations and multiple executions per process are ruining the whole idea.
09-05-2016 12:21 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.