Business Rule
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2023 03:02 PM - edited 09-01-2023 05:44 PM
Hi Team i have a field that is from CMDB Integration and when i try to call him in business rule it doesn't work does anyone know why ?
if (current.name_of_field === 'Active')
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2023 05:33 PM
See:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0713029
on the use of "gr" as a GlideRecord variable name. Maybe it is a problem for that table. But use:
dontUseGrAsAVariableName.query();
for the 3rd line above. And elsewhere in your script (or choose a shorter object name like: 'ciComp'.)