SAP Knowledge Base Article - Public

2758073 - Scheduled Workflow Rules Is Not Triggered for Activity Task

Symptom

Your scheduled Workflow Rule is not getting triggered for Activity Tasks created by a Workflow Rule action.

Environment

SAP Cloud for Customer

Reproducing the Issue

In this scenario, we will consider that we have a workflow rule that creates an Activity Task based in certain opportunity's condition and a scheduled workflow rule that should trigger when the Activity Task is created with Open status.

  1. Go to the Sales work center.
  2. Go to the Opportunities view.
  3. Click on New button.
  4. Create an opportunity that fulfill the workflow rule conditions.
  5. Open this opportunity.
  6. Go to the Sales Activities facet.
  7. Open the activity task created via the workflow rule.
  8. Go to the Workflow Changes facet under the task.
  9. You will see that the scheduled workflow rule did not get triggered, even though the workflow rule condition was fulfilled.

Cause

This scenario is not supported. Any workflow rule defined on Activity will not execute when the activity is created via workflow at the time of creation to avoid scenarios like recursion where it might end up in loop and will keep on creating/updating the activities again and again.

Resolution

This is the standard behavior of the system.

Though once the activity is created via workflow, any update done on the activity either via workflow or manually will trigger the scheduled workflow rule as usual.

If you need this functionality urgently you may contact your implementation manager to help with such request or approach directly the SAP Cloud Service Center.

You can find more details about the services offered by Cloud Service Center. You can contact Cloud Service Center as follows:

  1. If you are a partner: please use cloudsolutionpartner@sap.com or the Partnerfinder.
  2. If you are a customer: please use the little blue box “Contact Us” shown on the very right hand side of SAP Application Development site, choose “Contact Us”, choose “Services”, choose “SAP Custom Development” and complete the page.

Note: The services of the SAP Cloud Service Center will be charged as packaged services based on fixed prices.

An alternative option may be to check the SAP Customer Influencer Site to submit an idea.

Keywords

KBA , LOD-CRM-WKF , Workflow , How To

Product

SAP Cloud for Customer add-ins all versions