1 2 Previous Next 17 Replies Latest reply on Dec 6, 2007 10:35 AM by kukeltje Go to original post
      • 15. Re: Can we save custom variables in a ProcessDefinition
        kukeltje

        Simon,

        The PD is xml, it is fairly easy to retrieve, make a Document out of it and retrieve e.g. via xpath the required fields. The change you want will most likely not be done before jBPM 4.

        npe: in that case the other solution will indeed not work. Generating xml from the PD object is not supported anymore (jpdlxmlwriter is deprecated)

        • 16. Re: Can we save custom variables in a ProcessDefinition
          npe

           

          "kukeltje" wrote:

          npe: in that case the other solution will indeed not work. Generating xml from the PD object is not supported anymore (jpdlxmlwriter is deprecated)


          I'm not sure I get that well :

          That means I have to forget about XML (no problem though) and persist it in another way ?
          I am wondering if it is possible to store it in the jbpm database using hibernate connection provided by jbpm (with maybe creating my very own table for that).
          I will check on that but if you have some clues...



          • 17. Re: Can we save custom variables in a ProcessDefinition
            kukeltje

            Yes, no xml. And yes, you can always use an additional table in the same database, retrieve data and set variables via the api.

            1 2 Previous Next