Environment
You are working as administrator in SAP Hybris Cloud for Customer where you are facing issues in
workflow rules configuration.
Goal
The goal of this document is to answer the following questions:
- What are workflow rules & how they can be created?
- How to configure workflow rules to update business fields or trigger business action?
- How to configure workflow to send email notifications and create tasks?
- How to create scheduled tasks/jobs & how to implement custom business logic?
- How the manager can be notified using workflow if a ticket is assigned only to an Org Unit via Organizational Work Distribution?
- You are unable to attach html template to workflow.
- You are not able to define Street of the Account Address in workflow placeholder.
- Workflow is not triggering any e-mail even though all data are already maintained.
- You want to create a workflow rule using which a notification can be sent to the processor who has changed the lead.
- How to trigger workflow rules in relative time, so that a warning of an impending SLA breach can be notified?
- How to send Satisfaction Survey using workflow?
- Which language workflow considers - Recipients or Sender?
- You are unable to attach HTML template while creating Workflow Rules.
- You want to change the Standard Notification text.
- The workflow rule has been created & activated, but the e-mail is not getting triggered.
- Workflow Rules of type Notification does not display the custom party roles under Recipient Determination. However, custom party roles are visible for Email rule type.
Resolution
1. What are workflow rules & how they can be created?
- SAP Cloud for Customer - Workflow Rules
2. How to configure workflow rules to update business fields or trigger business action?
- Guide: How to configure workflow rules to update business fields or trigger business action
3. How to configure workflow to send email notifications and create tasks?
- Guide: How to configure workflow to send email notifications and create tasks
4. How to create scheduled tasks/jobs & how to implement custom business logic?
- How to orchestrate custom business logic and wo... | SCN
5. How the manager can be notified using workflow if a ticket is assigned only to an Org Unit via Organizational Work Distribution?
6. You are unable to attach html template to workflow.
- Unable to attach html template to workflow | SCN
7. You are not able to define Street of the Account Address in workflow placeholder.
- Workflow Rule-Define Actions | SCN
8. Workflow is not triggering any e-mail even though all data are already maintained.
9. You want to create a workflow rule using which a notification can be sent to the processor who has changed the lead:
This is not possible using standard workflow rule.
- http://scn.sap.com/thread/3893089
10. How to trigger workflow rules in relative time, so that a warning of an impending SLA breach can be notified?
- Triggering workflow rules in relative time; Warning of an impending SLA breach
11. How to send Satisfaction Survey using workflow?
- http://scn.sap.com/thread/3887202
12. Which language workflow considers - Recipients or Sender?
- The language is determined based on the logged on language of the user who is actually triggering the notification and it is not based on the recipients language, this is the current behavior.
13. You are unable to attach HTML template while creating Workflow Rules.
- The reason for this behavior is that the user has not enabled HTML document upload from the Business Configuration Screen.
- Steps: Business Configuration work center -> Overview view -> Find Allowed MIME Types for Document Upload Activity -> Open the activity -> search for MIME Type Code 10082 -> Select the Line and Check the Allowed Box.
14. You want to change the Standard Notification text.
- Currently with the Notification feature with Workflow, there is no way you would be able to change the standard description. You would have to use the Email feature, where you could use a template.
15. The workflow rule has been created & activated, but the e-mail is not getting triggered.
- Check if you have maintained the Sender e-mail address in the workflow.
If no, Maintain sender e-mail ID in the "Sender" field of the "Define Actions" step of the workflow.
The Sender email ID should be like DoNotReply@myXXX.mail.crm.ondemand.com (which is maintained as Default Sender Address in the Email and Fax Settings activity of Business Configuration).
16. Workflow Rules of type Notification does not display the custom party roles under Recipient Determination. However, custom party roles are visible for Email rule type.
- This is the current expected behavior. For Notification rule type only employee role types can be considered, since tasks can be created only for employees. Therefore all custom party roles will not be available for determination of recipients. However, currently you can find only standard delivered party roles of type employees. In upcoming releases, we can expect custom party roles of type employees to be also available for recipient determination.