As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<userTask id="task" name="My Task" activiti:assignee="${ldapService.findManagerForEmployee(emp)}"/>
org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier 'emp'
<br>runtimeProcess.startProcessInstanceByKey('processKey', variables)<br>
<br><process id="executionListenersProcess"><br> <br> <extensionElements><br> <activiti:executionListener class="org.activiti.examples.bpmn.executionlistener.ExampleExecutionListenerOne" event="start" /><br> </extensionElements><br> <br> <startEvent id="theStart" /><br> <sequenceFlow sourceRef="theStart" targetRef="firstTask" /><br> ….<br>
<br>public class ExampleExecutionListenerOne implements ExecutionListener {<br><br> public void notify(ExecutionListenerExecution execution) throws Exception {<br> execution.setVariable("variableSetInExecutionListener", "firstValue");<br> execution.setVariable("eventReceived", execution.getevent());<br> }<br>}<br>