Symptom
You need to configure a determination so that the Due Date Time (dueDateTime) is calculated from the Start Date Time (startDateTime) based on the Task Category (category). Specifically:
- If the category is "Plan review",
dueDateTimeshould bestartDateTime+ 14 days. - If the category is "BA Collection",
dueDateTimeshould bestartDateTime+ 7 days.
Using the standard plannedDuration field did not fulfill the requirement. An error message, "Operands [INTEGER, DATE] incompatible," was encountered when trying to create a determination.
Read more...
Environment
- SAP Sales Cloud Version 2
- SAP Service Cloud Version 2
Product
Keywords
Determinations, dueDateTime, startDateTime, Task Category, Plan review, BA Collection, ISO 8601, onPreHook, expression-based determination, Activity Manager Object Worklist, configuration error, error message, duration calculation, conditional logic
, KBA , CEC-CRM-TSK , Task for SAP Sales/Service Cloud , CEC-CRM-CZM-CUL , Custom Logic for for SAP Sales/Service Cloud , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview