3 Replies Latest reply on Feb 3, 2013 1:46 PM by Shawn Imholte

    WorkItem definition paramater and process variable mapping in Designer

    Shawn Imholte Newbie



      I'm trying to create a custom work item definition and map process variables to the paramaters.  But if the name of the process variable doesn't match the name of the WI paramater the BPMN2 file created has an incomplete dataInputAssociation.


      WI definition:


      import org.drools.process.core.datatype.impl.type.StringDataType;



          "name" : "Log",

          "parameters" : [

            "Message" : new StringDataType()


          "displayName" : "Log",

          "icon" : "http://localhost:8080/drools-guvnor/rest/packages/ebtsx/assets/defaultlogicon/binary"




      Variable definition:



      Assign the Paramater of the WI to the variable.




      Click on "BPMN2"

      <bpmn2:dataInputAssociation id="_JYTDp2muEeKEtcYn_A4DTg">





      You can see that the dataInputAssociation is incomplete.  I attached the bpmn2 file.


      I'm sure I'm doing something wrong so if someone could point me down the correct path I would appreciate it.


      Guvnor version 5.4

      Designer version 2.4

      JBOSS AS7