- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hello - we have this Zurich issue and would apreciate your input.
In Zurich release we observed that Service Catalog type Yes/No variables when leveraged with Flow Designer > Get Catalog Variables action output Runtime Value true/false as opposed to yes/no in Yokohama or Xanadu releases (added some screen shots for context)
Are you aware of some system property that mitigates this issue? Any feedback is appreciated. Thanks all.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Ankur Bawiskar @Dr Atul G- LNG @kaushal_snow ServiceNow answered to the HI Case and they do have a property that will revert behaviour.
Add system property "com.glide.hub.flow.catalog_variables.yes_no_as_boolean" and set value to false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
In Zurich, Get Catalog Variables returns true/false for Yes/No catalog variables because in the Zurich version they’re mapped to Boolean type (True/false) in Flow Designer....
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You often have to explicitly convert back to Yes/No via a script step (checking if the variable == 'Yes' then returning 'Yes' or 'No') to work with choice fields...
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thanks for the feedback Kaushal. The refactor and regression testing is extensive and with high impact. I still hope there is a fallback option other than not upgrading until refactoring all impacted areas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I don't think it's because of Upgrade.
Did you compare it against your instance which is in Yokoham/Xanadu?
Seems something similar was reported earlier as well
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
