62 views

Symptoms


 Approval - User being set to "No Longer Required" automatically after insert

Release


Kingston Patch 7

Cause


Custom record's state is set to a value of 3 which is Out of the box closed state. This sets the active == false for the record and triggers Business Rule  (Moot Approvals Upon Cancellation) that sets approver to No Longer Required.

Resolution


1. Modify close states in Script Include or define as attribute in the dictionary. 
2. Revert Business Rule 'mark closed' to OOB version

 

Additional Information


 
https://docs.servicenow.com/bundle/london-application-development/page/app-store/dev_portal/API_reference/TaskStateUtil/concept/c_TaskStateUtil.html 
 
https://docs.servicenow.com/bundle/london-application-development/page/app-store/dev_portal/API_reference/TaskStateUtil/concept/c_TaskActiveStateMgmtBusRule.html 

 

Article Information

Last Updated:2018-10-08 13:46:46
Published:2018-10-08