2 Replies Latest reply on Jul 20, 2009 4:10 AM by oxelad

    Variables persistence

    oxelad

      Hallo,

      is this possible to not persist workflow varibles during workflow execution? Or by other words: is this possible to switch somehow from IN variables to IN-OUT variables?

      I have the following problem during my 'work-through'-workflow execution: all varibales what i get for a java task execution are deserialized copies of set workflow variables. That means that variable's scope is restricted to this call; all changes what i will made will be lost after task ends. I know that it possible to make 'variable-update' via return value, but the problem is that i can return only ONE object (but i have to chage the other one (what is IN variable) as well).

      Thank you.

        • 1. Re: Variables persistence
          shekharv

          Are you looking to how to persist the updated values of 'process variables'?

          so step2 in a workflow updates the 'discount' variable, you now need the updated variable down the line?

          Also what version of jbpm are u working against?

          • 2. Re: Variables persistence
            oxelad

             

            "shekharv" wrote:
            Are you looking to how to persist the updated values of 'process variables'?

            yes... exactly

            "shekharv" wrote:
            Also what version of jbpm are u working against?

            jbpm.v.4.0