Condition builder evaluator on the catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 11:10 AM
Hi all,
Is there anyone that knows how evaluate a glide record against a condition builder by script on the catalog?
I mean, imagine that you receive a POST call and in the scripted rest you want to verify if there is a Catalog UI policy that sets a variable to mandatory, but this UI policy has a condition on the condition builder, something like Contact type = Phone. Do you know if it's possible to achieve this verification on a script?
I already tried the glidefilter, however, the encoding on the catalog ui policies is a bit different from the normal ui policies.
Thanks for the help.
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 11:48 AM - edited 09-24-2024 11:49 AM
Hi @Nuno Oliveira You can evaluate condition builder using Glide Evaluator API
- https://developer.servicenow.com/dev.do#!/reference/api/vancouver/server_legacy/GlideEvaluatorAPI