Business rule is not triggering for new records in scoped application as vulnerability response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2024 04:10 PM
Initial Condition for Business rule to trigger : (current.active == true && (current.cmdb_ci.changes() || current.source_risk_score.changes() || previous.active != true || ((new sn_vul.vulUtils())).shouldRefershRiskScore(current))))
Updated Condition : (current.isNewRecord() || (current.active == true && (current.cmdb_ci.changes() || current.source_risk_score.changes() || previous.active != true || ((new sn_vul.vulUtils())).shouldRefershRiskScore(current))))
In the updated condition I have added (current.isNewRecord() so that business rules also triggers for New records. This business rule is designed on Insert and Updated (After).
Question : Why this business rule is not triggering for new records despite adding the condition as (current.isNewRecord()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2024 06:18 PM
Seems you need to provide sufficient details on your BR definition for some of us here to provide assistance. Post screen shots.