1 Reply Latest reply on Jan 10, 2011 7:23 PM by krisverlaenen

    JBPM5 Human Tasks, On-entry Actions

    npereira

      Hi forum,

       

      I've was working on JBPM5 and was trying to create a screipt that would run on-entry on the human tasks.

       

      The fact is that I created the java scipt in a script task and worked fine. Although when I copy it to the On-entry Actions property of the Human task it didn't run.

       

      Afterwards, I went to check that it was writen on the xml of the process and it wasn't.

       

      Am I doing this write, is the "on-entry actions" the correct place to put my code?

       

      Regards

        • 1. JBPM5 Human Tasks, On-entry Actions
          krisverlaenen

          on-entry/-exit actions are unfortunately not part of the BPMN2 specification, so there's no default way to save that in BPMN2 XML.  I'll be adding support for them though as a custom extension, so you can use them as you were used to in jBPM4 / Drools Flow.

           

          Kris