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.-
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.-
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.-
Hello Martin,
Please, see Vacation demo processes for details.
It does exaclty what you want.
Regards,
Vitaliy S
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.-
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
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.
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
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?
Hello Martin,
Probably it will take a month.
Regards,
Vitaliy S