How to use a Business Rule Query in a System Property
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
55m ago
I'm working on a Business Rule that uses the below query in the if statement:
((current.u_external_auditor_sox_control == true || current.u_sox_control == true) || (current.u_cbp_tier == 'Tier A' || current.u_cbp_tier == 'Tier B') || current.u_supports_crown_jewels == 'Yes' || (current.u_bia_confidentiality == 'severe_1' && current.u_bia_integrity == 'severe_1'))
So I'm wanting to put this massive query into a system property called 'lbg.ama.privileged.access.rating.query'
I was just wondering if anyone knows how I would need to do this so that it makes my business rule look tidier.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
41m ago
Hi @matthew_hughes ,
You can use the system property to store static content ( in your case -its a collection of conditions).
For your use case, store the encoded query in a system property and whenever modification is needed, update it.
