Creating If Statements in a Flow Designer variable

Peter Williams
Kilo Sage

i have created this flow that will assign the request to the request_for location service desk.

 

PeterWilliams_0-1664822752439.png

if the requestor is from Toronto then it will assign it to the AV TOR group if from MOntreal then AV MTL group and so on.

the issue i am facing, if the user is from Montreal or Toronto it will only get assigned to the first one AV - TOR. 

it doesnt confirm the second Else if

1 ACCEPTED SOLUTION

in your record, select trigger only till Requested item, else i dont see any issues, apart from user you are checking may not have the location set.

Thanks

Harshad

View solution in original post

11 REPLIES 11

ahh, No keep your original script as it is with == but add gs.log("Location Value" + varCity) after first line var varCity.

 

And go to system logs -> All and look for *Location Value in messages and see what value its printing.

 

showing as undefined

 

PeterWilliams_0-1664826514367.png

 

means our varCity script is not working,

 

I just tried on my system and it worked for me.Can you please share your update request selection , i mean if you are selecting correct table and trigger.

 

 

 

Thanks

Harshad

here is the update statement

PeterWilliams_0-1664828667506.png

 

in your record, select trigger only till Requested item, else i dont see any issues, apart from user you are checking may not have the location set.

Thanks

Harshad