Symptom
Notification for the failed workflow is not received.
Environment
SAP Cloud for Customer
Reproducing the Issue
Prerequisite: Configuration to receive workflow notification is maintained for Business Object when workflow is failed.
- Navigate to the service work centre.
- Go to the Tickets work centre view.
- Search and open any ticket.
- Execute steps towards the defined workflow.
- Go to the Workflow facet.
- Log for the failed workflow appears.
- Notification towards failed workflow is defined in the following configuration.
Issue: Notification of the failure of workflow is not received by the user who is defined. Execute the following steps to check or assign the business users: -
- Go to the administrator work center.
- Go to the Workflow Rule work center view.
- Select the workflow row.
- Click on More.
- Select the option "Workflow settings".
- Click on the "Notification On Failed Rules" hyperlink.
- Click on Add.
- From the Value Help, select the business users to assign the user who receives the notification.
- Save.
Cause
Cache was not generated for notification type WKF_GEN_FAILED_RULE_NOTIF, due to which the system did not generate any notification.
Resolution
Disabling and enabling the following scoping question will generate the cache, which leads to receipt of notification for a failed workflow rule.
Execute the following steps towards the associated scoping question.
- Go to Communication and Information Exchange.
- Go to Business Process Management.
- Go to Business Task Management.
- Scoping question: "Do you want to switch off Failed Workflow Rule Notification for Key Users?"
- Disable the question and save.
- Enable the question and save.
- This generates cache in the backend.
Now, the cache is generated, and notifications for failed workflow rules are received.
Note:
- This feature is available for all workflows if the configuration is maintained.
- There will be a delay in notification received towards failure of workflow because the job runs every 1 hour.
Keywords
Failed workflow, notifications, Business Users, Not Received , KBA , LOD-CRM-WKF , Workflow , Problem