After upgrading to Madrid, once the incident task is closed, the workflow does not move to the next activity
Release or Environment
The script include 'TaskStateUtil' has been customized
Once the task is closed, the business rule named "SNC - Run parent workflows" sends the updates to the workflow.
The business rule will run if the condition is satisfied: new TaskStateUtil().canRunParentWF(current)
The script include "TaskStateUtil" has been customized and it is missing the function 'canRunParentWF' and therefore the business rule condition fails and it never runs and the updates are not passed to the workflow
To resolve the issue, please apply the Madrid updates to the script include and then apply the customizations on top of it.