- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
I've created a new system property called 'sn_apm_affected_certfification_element_tables' that mentions the below tables:
I've got a business rule that uses the below if statement:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
try this
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi @matthew_hughes ,
i can see the you have created the system properties but you are not using in the business rule .
you ca get property values
gs.getProperty('sn_apm_affected_certfification_element_tables')
this will retrieve those table names.
once you get this property value then split and use in you business rule
If you found my solution helpful, please mark it as Helpful or Accepted Solution...!
thanks,
tejas
Email: adhalraotejas1018@gmail.com
LinkedIn: https://www.linkedin.com/in/tejas1018
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi @4078_TA That is what I'm wanting to know. How do I apply the system property within my business rule so that I can get the table values to compare against?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
hey @matthew_hughes ,
you have created a system property but you are not actually using it here
Try the code below to get the system property in the br:
var affectedTables = gs.getProperty('sn_apm_affected_certfification_element_tables', '');
var tableList = affectedTables.split(',');this above will help you actually get the value in the br itself.
Please mark helpful if you found my answer of any use.
Warm Regards
Kaustubh Dubey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Thanks @kaustubhdub How do I included that in my if statement?
