1 Reply Latest reply on Dec 19, 2014 11:57 AM by dosten

    how can I use Map type in process bpmn file

    stevenhu

      How can I access the map from one task, such as scripting task, if I define a map type process variable?

       

      Another question, I defined a Map type parameter to a custom task. how can i enter the key/value to it on bpmn diagram editor? How can I get the parameter in the handler class?

       

      does anyone give some suggestion?

        • 1. Re: how can I use Map type in process bpmn file
          dosten

          You have to define the process variable as Object. In a script task, you can then cast it to Map.

          As for the custom task variable, you probably have to set the map key/value pairs in a script task then map the entire Map to an input variable of the task.

          1 of 1 people found this helpful