- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2022 11:47 AM
i have created this flow that will assign the request to the request_for location service desk.
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2022 01:30 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2022 11:57 AM
Hello @Peter Williams
You are doing assignment rather than comparison.
your if should be if (varCity == "your_sys_id") // repeat same for else if condition,
Hope this helps!!!
BR,
Harshad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2022 12:14 PM
hi Harshad,
i did that and now no assignment group is getting added
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2022 12:19 PM
Can you please add a gs.log(varCity) and see what value you are getting?
Thanks
Harshad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2022 12:30 PM
sorry i am new with scripting in flow
i added it but its not returning anything