How are you trying to get the variables before the task has been started? You can try to see how does jbpm-console deal with this same task. These could be good starting points: https://github.com/droolsjbpm/jbpm/blob/master/jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/CommandDelegate.java -> method getProcessInstanceVariables() https://github.com/droolsjbpm/jbpm/blob/master/jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/ProcessManagement.java -> method getInstanceData() and its usages
Reply to this message by going to Community
Start a new discussion in jBPM at Community