Trigger Business Rule on change of state on AVIT or VIT in Servicenow Vulnerability Response odule n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I have created a onChange BR on AVIT (sn_vul_app_vulnerable_item)table whenever there is a change on if state changes from closed to trigger so that each AVIt will have only one rem task in open state
But lets say when ever the assignment group on the avit i schnaged manually and saved. then avit is closed and reopened which means state is chnaged from closed - in this case my BR itself is not triggering
but if there is no change on asignment group on avit and state is changed from closed then the BR is triggerring.
Here in case after the assignment group is chnaged we are saving the form and then closing and reopening BR is not triggering. Please help me on what I can do here
thanks,
Harika.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @satya30 ,
Please share the screenshot of the conditions and Script of your BR. This will help in understanding the issue
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @palanikumar
Script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
The condition highlighted in the below line may not work in all the scenarios. You can remove this check and see whether your issue is resolved
if(task.state ==1&& gs.nil(task.u_external_case_number) && task.filter_type !="manual") {
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I just wanted to push only open rem tasks then in that case how should I be able to look into it.
thanks,
Harika
