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.
import org.activiti.engine.delegate.DelegateExecution; import org.activiti.engine.delegate.JavaDelegate; public class xy implements JavaDelegate { @Override public void execute(DelegateExecution execution) { System.out.println("execution id " + execution.getId()); Long myVar = (Long) execution.getVariable("myVar"); System.out.println("received variable " + myVar); } }