Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Get condition from a Condition Builder from a Condition Field as a clean string

tdQ1w7xO6k
Giga Contributor

If you get the condition field from a table, you get a query string, with the ^OR and IN and sys_ids. Is it possible to get the text as it appears when you go to a .do page and look at the Condition builder, with 'is' instead of '=' and display names instead of ids and so on?

1 ACCEPTED SOLUTION
2 REPLIES 2

Shane41
ServiceNow Employee

Hi there,

This previous post may help you:

https://community.servicenow.com/community?id=community_question&sys_id=13768325db1cdbc01dcaf3231f96...

Hope this helps,

Shane

 

new GlideQueryBreadcrumbs().getReadableQuery(table_name, query);

You're a life-saver. I didn't know about that. Thank you.