6 Replies Latest reply on May 29, 2009 5:55 AM by Tom Baeyens

    jBPM 4 start parameters

    Afgs AFD Newbie

      My goal is to run java code in a process with some given start parameters

      After some research I found this in the userguide :

      4.3.4. With variables

      A map of named parameter objects can be provided when starting a new process instance. These parameters will be set as variables on the process instance between creation and start of the process instance.


      executionService.startExecutionByKey("MyProcess", variables);

      This is the part in my process.jpdl.xml :

      <java name="executeMyCode"
       <flow to="goToNextStep" />

      What do I have to replace #### with, to get this working ? Or isn't this possible ? Looking the other examples, it should be something like "#{myvar}"