Notifications

6 views

Description

Approval functionality is not working properly, i:e; when one of the approvers approves the article, the approval status of all the other approvers in the same assignment group is not getting changed to 'No Longer Required'.
Expected: As per approval functionality, approvals status of other approvers in the same assignment group should change to "No Longer Required" when one of the members approves. 

Cause

We see in the workflow there is an error "After running a sequence of activities we expected a 'last executing' record to predict the future stages from" and once the approval are refer back for the first time, the workflow is not moving forward as expected.

Resolution

OOB script workflowApprovalUtils is customized.
https://<instancename>.service-now.com/sys_script_include.do?sysparm_record_rows=33&sysparm_record_list=nameCONTAINSworkflow%5EORDERBYname&sysparm_record_row=13&sysparm_record_target=sys_script_include&sysparm_view=&sys_id=0360b36d0a0a0b260a89dfec60c339c4&sysparm_nostack=true

We reverted the above to OOB and created an article that is now working as expected.

Article Information

Last Updated:2019-11-26 18:28:52
Published:2019-11-27