Based on the field selection in Ritm catalog tasks should be created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2025 12:31 AM
Hi All,
Requirement :
I have a variable which is only visible on RITM and hidden on catalog form , so that variable field on RITM will have 2 options which are yes and NO so based on which 2 tasks should be configured in flow , during the second level approval once approver approved and select the any one choice and saved the form then based on the selection tasks should be created.
1) if Yes is selected then TASK A and Task B should be created.
2) else No is selected the Only TASK A should be created.
I have created the flow in flow designer but somehow the conditions are evaluated falsea and tasks are not generated , How can this be achieved.{ Attaching the images for reference}
Thanks in advance,
Vasavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2025 01:10 AM - edited 08-13-2025 01:12 AM
Tried with your req and it worked for me.
When you are validating the value in If statement what is runtime value is it yes or no or blank? I feel the catch is use Get Catalog Variables action after approval is asked, so it will get the latest value selected on RITM. Below is usecase I tried in my PDI.
Variable with type as Yes/No
Flow for my Catalog Item.
RITM with Variable selected as YES and its flow context
RITM with variable selected as NO and its flow context.
Tip: When you are confused why its not working try to check flow context see what is runtime value and then you will get most of concern or query answered and you will learn quick.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2025 02:09 AM
Hello @Viraj Hudlikar @Ankur Bawiskar , I have updated the get variables action before the if condition but not sure it is not working as expected , when I check the flow context those conditions are evaluated false, Could you Please guide me on that .[Attached the screenshots] Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2025 03:02 AM
if you see here in below highlighted image you are not able to get the variable value and hence comparison didn't work.
OR
that variable is still with None and hence an empty String and gave false when using IF
is that variable part of MRVS or standalone?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2025 03:08 AM
Over ritm is value set for that variable?? As in flow context and as highlighted by Ankur value is not present so I doubt it's not set and saved... Do try to save value and then proceed with approval and check results
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.