SAP Knowledge Base Article - Public

3639549 - Last Agent Interaction field not working properly with Workflow Rule

Symptom

A Workflow Rule was created for Tickets, to trigger when Last Agent Interaction field is Equal to blank. However, Tickets that don't have this field filled, are still triggering the Workflow Rule.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to Service > Tickets.
  2. Open the desired Ticket.
  3. On Overview facet under Timeline section, see the Last Agent Interaction field is not filled (is null/blank)
  4. Click on edit and perform a change.
  5. Save.
  6. The rule is triggered when it should not.

 

Cause

The Last Agent Interaction field is a Date field. And when a Date field is left with condition value as blank/null, the backend system fills it with value 0001.01.01 00:00:00 UTC. 

Hence, it will not be null as the condition "Last Agent Interaction Not Equal To", becomes "Last Agent Interaction Not Equal To 0001.01.01 00:00:00". Causing the Workflow Rule to be triggered.

Resolution

This is the system standard behavior.

To resolve this, please change the condition according to the steps below:

  1. Go to Administrator > Workflow Rules.
  2. Search for and open the desired rule in edit mode.
  3. On condition steps, instead of using 'Not Equal to', please change the operator to 'Greater Than' and maintain the value as blank/null. 

Keywords

blank space, nothing, empty, nullfield, void, WKF, filling, e-mail, email, service request, inbound, outbound, triggers, doesn't does not, shouldn't, incorrect, not correct, not right , KBA , LOD-CRM-WKF , Workflow , LOD-CRM-SRP , Service Request Processing , Problem

Product

SAP Cloud for Customer core applications all versions