Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Vulnerability State Change Approval is auto rejecting by system.

GudiyaYadav
Tera Contributor

Hello Community,

 

 I have deactivated the approval rule 'Application vulnerable item field change request' , so that when i unassign the Application vulnerable item the Vulnerability State Change Approval is auto approved without any approver as i don't want to waste my time for getting approval from approvers. But, once i unassign the AVI then the generated VCA's state is auto-populated as rejected.

Can anyone help me to understand this, why it is happening?

 

Your help is much appreciated?

1 REPLY 1

Martin Dewit
Kilo Sage

The Unassign approvals are controlled via Subflow "Vulnerability Field Change Request", and if the property "

sn_vul.unassign_vr.approval_required" is true, then it checks for any approval rules. If there are no approval rules, then it rejects the VCA.
 
If you want the VCA auto-approved for unassign, then you could just set the property to false to remove any VCA being created.