Menu

Process Variable Value not updated

Help
2006-08-17
2013-03-11
  • Martin Gaido

    Martin Gaido - 2006-08-17

    Hi,

    Please tell me how to update the value of a process variable. I need to develop a process that starts when a user fills several fields. Then another user checks them and can decide give it back to original user in order to be corrected. But when the user updates the variables, the changes are omitted :-(

    Is this similar as swimlane initialization???

    Please, I need to solve this before we put the process in production.

    Thanks a lot in advanced.

    Regards,

    Martin.-

     
    • Vitaliy Semochkin

      Hello Martin,

      Please, see Vacation demo processes for details.
      It does exaclty what you want.

      Regards,
      Vitaliy S

       
    • Martin Gaido

      Martin Gaido - 2006-08-17

      Hi Vitaliy,

      Look, I see what's happening. The variables were defined for a specific state/form. If you always return to that state, the variables can be changed.

      But, if you try to change them from another state/form (I need this case) is ignored. Do I have to define the same variable name for this state again?. Please explain me why this works in this way... I have almost 20 variables and I don't have to define them twice......Well, I think I'll have to see how to go back to original state and dinamycally show form lay-out to consideer both possible paths.

      Tell me if this analysis is correct or I'm wrong.
      Regards,

      Martin.-

       
    • Vitaliy Semochkin

      Hello Martin,

      You have to define variables you are going to update or initialize in each state.

      This prevents from sending unexpected variables with malformed URL;

      Regards,
      Vitaliy S

       
    • Martin Gaido

      Martin Gaido - 2006-08-17

      Hi Vitaliy,

      So, if I have a process with N states and a variable must be updated in any of those states.... do I have to define the variable N times?

      If so, It's a not good new for me, because right now I'm developing a business process related to ISO standar where several variables (more than 10) could be updated along process (in 4 or 5 states, eventually).

      Well, if there's not another way, I'll have to define them, but I see it very hard to mantain.

      I'm hearing for suggestions or optional ways.

      Regards,

      Martin.-

      PS: I'm thinking that perhaps it would be good that variables be defined in a abstract way, I mean, not related to states and that let you use them for reading, initializing/updating in any place you like or need.

       
      • Vitaliy Semochkin

        Hello Martin,

        re: I'm thinking that perhaps it would be good that variables be defined in a abstract way, I mean, not related to states and that let you use them for reading, initializing/updating in any place you like or need.

        In future GPD version we will let people specify variables separately and then specify activities they want to use with these variables.

        Regards,
        Vitaliy S

         
    • Martin Gaido

      Martin Gaido - 2006-08-18

      Hello Vitaliy,

      Re: In future GPD version we will let people specify variables separately and then specify activities they want to use with these variables.

      It sounds great. What does "future" mean? :-)... it seems it's not something for the short term, is it?

       
      • Vitaliy Semochkin

        Hello Martin,

        Probably it will take a month.

        Regards,
        Vitaliy S

         

Log in to post a comment.