Skip to main content
January 25, 2022
Solved

process variables in decision

  • January 25, 2022
  • 3 replies
  • 0 views

Hi everyone

i m trying to understand whats wrong with the code that i wrote 

i have an interface where i need to choice a value from a radio button and then after in the process i have a decision to make and then go to the next node.

i create process variables  "choices" , and in the interface i have a rule input that is equal to the pv . it is saving the value ,and go to the decision node where i check if is the same text ,  but  after check the value  my decision is going to end node. and i want to go to signature

i dont understand whats wrong in my code .???

 

Best answer by mikes0011

Did you check your running process instance to confirm that pv!choices contains one of your expected values?  Also, I don't see any need to use the "exact()" function, it should be sufficient here to just write `pv!choices = "verification"` etc.

3 replies

mikes0011
mikes0011Answer
Brainy
January 25, 2022

Did you check your running process instance to confirm that pv!choices contains one of your expected values?  Also, I don't see any need to use the "exact()" function, it should be sufficient here to just write `pv!choices = "verification"` etc.

The Expression Guru
January 25, 2022

well i  did what you said .  i changed the functions to  pv!choices = signature"  try to debugg again , and i see that variables is not changing .. why its not changing

January 25, 2022

i find my error there was a ","   instead of " = "     [emoticon:c5352b3033f144c4ab70d527023c5190] 

thanks mike now it s working