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.
<br>@Deployment<br> public void testSignalWithProcessVariables() {<br> <br> ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("testSignalWithProcessVariables");<br> Map<String, Object> processVariables = new HashMap<String, Object>();<br> processVariables.put("variable", "value");<br> <br> // signal the execution while passing in the variables<br> runtimeService.signal(processInstance.getId(), processVariables);<br> <br> Map<String, Object> variables = runtimeService.getVariables(processInstance.getId());<br> assertEquals(variables, processVariables);<br> <br> }<br>