3 Replies Latest reply on May 9, 2006 12:09 PM by kukeltje

    variable+process

    medjbpm

      Hello

      how do I specify variables of type date, boolean etc in the processdefinition.xml

      thanks

        • 1. Re: variable+process
          kukeltje

          you can't. If you could, the documenentation would have stated so.

          • 2. Re: variable+process
            hosierdm

            If you want to do something like that, write your own custom controller to handle variables. It would be a 'string' in the process definition, but your custom controller can interpret it as any type you want. For example, you can enter the String 5-8-2006 and then use that string to create a Date object in your custom controller. Same goes for booleans, just enter the literal string 'true' or 'false' and then create a boolean from it in your controller.

            • 3. Re: variable+process
              kukeltje

              in 3.1.1 and 3.2 the processdefinition.xml can be stored in the db as an xml file. It can then be augmented with additional tags which can be read runtime. This way some extensions are possible