Change Filter conditions to conditions field in business rules

Sowmya549
Tera Contributor

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.

3 REPLIES 3

Jon23
Mega Sage

Hi @Sowmya549 

Are you wanting to pass system property values into your script include from the advanced condition?

Sowmya549
Tera Contributor

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.

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?