I am using Java API to trigger the start signal, but want to pass the business key to the start signal. Here is the code I have to start the signal, but I don’t see the business key getting passed.
Map<String, Object> variables = new HashMap<String, Object>();
variables.put("businessKey", businessKey);
runtimeService.createSignalEvent(taskId.trim()).setVariables(variables).send();