SAP Knowledge Base Article - Public

2792961 - Activity Plans do not delete Surveys or Tasks when the Routing Rules Conditions are not met anymore


You have used an Activity Plan to automatically add a Survey (or Task) to a Business Object (i.e. a visit). After the Survey is added to a new visit, you change the conditions in the Activity Routing Rule so that the Activity Routing conditions are not met anymore for the recently created visit. Hence, you now expect that the Survey to be removed from the visit.


SAP Cloud for Customer

Reproducing the Issue

The following steps are only an example. The same behavior can happen in other business objects.

  1. Go to the Activity Planner work center.
  2. Go to the Activity Plan view.
  3. Click New and Open.
  4. In the Surveys facet, add a survey.

  5. Go to the Activity Routing Rule view.
  6. Click New and Open.
  7. Add some conditions in the Conditions facet.

  8. Add the Activity Plan to the Activity Plans facet.

  9. Go to the Visits work center.
  10. Go to the Visits view.
  11. Click New.
  12. Edit the Visit so that it matches the conditions in your Activity Routing Rule.
  13. Click Actions > Refresh visit.
  14. RESULT: The survey in the activity plan is added to the visit.

  15. Go back to the Activity Routing Rule and change the conditions.


  16. Go to the Visit and click Actions > Refresh visit. 
    RESULT: The survey that was added in step 14 is not deleted.



Routing Rules only add surveys, do not delete them.


It is a new requirement that the system checks all previously added surveys and delete the ones that have not been answered yet.

You can manually delete the survey clicking the bin icon if desired.

See Also

  • KBA 2714596 - When You Create a Survey, and Add it to an Activity Plan Which Dates are Set in The Future, This plan cannot be added to a Routing Rule
  • KBA 2753358 - Tasks and Surveys Are Not Added From Activity Plan Within a Ticket
  • KBA 2738997 - Surveys and Tasks are Not Automatically Assigned to Sales Quotes From an Activity Plan
  • KBA 2728005 – There is no Check within the opportunity for mandatory Surveys/Tasks in an Activity Plan


survey, task, delete, activity plan, routing rule, , KBA , LOD-CRM-ACT-ROT , Activity Routing , LOD-CRM-ACT-VST , Visit Planning , How To


SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions