[SalesForce] Complete Case Milestone

I have a scenario where multi level escalation works.

I.E. when a case is escalated it escalates to the owner's manager and again, it escalates to the manager's manager. After the first escalation i'm updating a case Field to True in Milestone and and on True running the second escalation. However. my escalation stops at the first stage.

I.E. I cant go to second milestone until I complete the first milestone .I've tried to complete the first case milestone using both trigger and process Builder.Both work when I update the field manually.

Is there any way i can run both Milestones subsequently?

enter image description here

Best Answer

Yes Close the first Milestone using Process Builder. Note: You didn't provide the name of the escalation fields in your use case.

So lets say you had 2 checkbox fields called Escalation1 and Escalation2 (hidden on page layout of course)

  1. Create a Process on the Case Object (Choose Object Case) Choose: When a record is Created or Edited

  2. Add Criteria: Criteria Name: Close Milestone1

    Criteria for executing actions: Conditions are Met

  3. Set Conditions: FIELD OPERATOR TYPE VALUE [Case].Escalation1 Equals BOOLEAN TRUE

  4. Conditions X All of the conditions are met (AND)

  5. Advanced Do you want to execute the actions only when specified changes are made to the record? X YES

=== Next Step Immediate Actions

Action Name 1. Action Name Close Milestone1

  1. Record [Case].CaseMilestones

  2. Criteria for Updating Records X Updated records meet all conditions

Field Operator Type Value
Milestone Type ID. Equals ID 557180000008OZf (Used the ID Of YOUR Milestone1)

Set new field values for the records you update Field Type Value Completion Date. Formula. NOW()

This will do it my friend - I'm running it now....

Related Topic