Change Filter conditions to conditions field in business rules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 09:29 AM - edited 04-09-2024 09:34 AM
I have an ask to change the filter conditions in "when to run" tab to Condition field in "Advanced" tab in business rules. I have to call the script include function by dynamically setting the "Most Recent discovery", "Guest OS name" through system property along with other conditions.
Attaching the screenshots for reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 11:19 AM
Hi @Sowmya549
Are you wanting to pass system property values into your script include from the advanced condition?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 12:13 PM
No, I wanted to give the filter conditions through advanced Condition. For that best practice is to call the script include with all the conditions in the script include. But for those 2 fields i want them to store them in system property and use in script include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 10:40 AM
Can you provide more information on the values you are expecting to store in the system properties?
I am not understanding what value you are adding by using a script include to evaluate if the business rule should trigger?