06-10-2014 04:11 PM
<userTask id="usertask1" name="First User Task">
<extensionElements>
<activiti:executionListener class="realfoundation.foundationservices.process.tasks.FoundationTaskListener" event="start">
<activiti:field name="involvedGroups" expression="${organizers}" />
</activiti:executionListener>
</extensionElements>
</userTask>
public class FoundationTaskListener implements ExecutionListener {
private Expression involvedGroups;
@Override
public void notify(DelegateExecution paramDelegateExecution) throws Exception {
if (involvedGroups != null) {
for (String group : transformInvolvedActorsToList(involvedGroups.getValue(paramDelegateExecution).toString())) {
paramDelegateExecution.setVariable("involvedPeps", involvedGroups.getValue(paramDelegateExecution).toString());
}
}
}
}
06-10-2014 04:55 PM
06-10-2014 06:07 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.