Questions tagged [casemilestone]

Represents a milestone (required step in a customer support process) on a Case.

Filter by
Sorted by
Tagged with
0
votes
0answers
39 views

CaseMilestone on Apex test class

I have been trying to test a business process that uses Case/Entitlements/EntitleMent Processes/ and CaseMilestones. All these components are working just fine and there are not issues whatsoever in ...
0
votes
0answers
32 views

Reporting - Cases with Milestones

My team and I were about to create some custom reports. There is a business need to associate "Cases with Milestones" report with: Activities (Tasks), that are related with Case record ...
0
votes
0answers
24 views

How to trigger a flow if a milestone violation feed inserted to case

We all know salesforce has a known issue the field update from milestone does not trigger workflow/flow. https://trailblazer.salesforce.com/issues_view?id=a1p30000000SU70AAG So I tried to enable ...
0
votes
0answers
89 views

'Cannot update SLA process that is in use' error when deploying unchanged entitlement process

The project I'm working on has separate dev and qa orgs. We use git as source control and deploy between environments using a CI/CD pipeline. Every deployment to our QA org (and orgs further up the ...
0
votes
0answers
16 views

Milestone countdown

Is it possible to exclude the field "stopped" in the object case page layout without interfering with the process that pauses the SLA?
0
votes
1answer
156 views

Auto complete milestone when reach violation

Is there a way to automatically mark the milestone as completed when it reach violation? I tried to create an apex trigger (after update) on case object that will update the caseMilestone completion ...
0
votes
0answers
41 views

Challenge with resuming a casemilestone and completing a case milestone simultaneously

We have milestone set up as below: When a case is moved to Resolved status, all the case milestones are paused by setting IsStopped to true. IsStopped will be set as false when the status is changed ...
0
votes
1answer
21 views

How do I disable milestone breached emails?

From a sandbox org I am included in an email alert for Milestone breaches that I no longer want to receive. How can I stop the org from sending this to my account?
0
votes
1answer
101 views

Close Case after two days Milestone is completed

Im having issue with Case Milestones. I have two Milestones for cases, Reaction time and Resolution time. I have set milestones to mark as completed when case status is marked as closed. But team is ...
0
votes
0answers
74 views

Tracking time elapsed in each stage on a Case

Caveat: Broadly this is a question asked multiple times; Specifically this question do we have a pattern that we use OOTB? While it is very possible to track time using formulas or code - I am looking ...
1
vote
0answers
164 views

Entitlements and recurring milestone's start time and target time

I am new to entitlements and we are trying to leverage this for our service cloud. My business requirements are as follows: Requirements: Everytime a case status is set to "Response Received"...
0
votes
1answer
89 views

How to execute Apex code on Milestone Violation

Does anybody have an idea on how to execute Apex code on a Milestone Violation Action? Currently, I am willing to post a Case Feed Item when a given Milestone Violoation happens. I have already ...
1
vote
0answers
45 views

Multiple time triggers on milestones

I believe I have found a Salesforce "feature" which could also be described as a bug. I have attached a screenshot showing how we have configured time triggers on our milestone, such that a ...
0
votes
1answer
44 views

Milestones - Service Cloud

Is it good to have milestones as a countdown for internal processes? For example, let's say we don't have sla with a customer, but we want to have internally a rule to support that we will support him ...
0
votes
1answer
166 views

MilestoneUtils - writing test class [duplicate]

I was working off of the code provided here: https://help.salesforce.com/articleView?id=entitlements_milestones_trigger.htm&type=5 The test class they provided did not cover the full class. Still ...
0
votes
0answers
36 views

Case Milestone Trigger Code Code Coverage [duplicate]

Trigger: trigger CompleteFirstResponseCaseComment on CaseComment (after insert) { if (UserInfo.getUserType() == 'Standard'){ DateTime completionDate = System.now(); List<Id> ...
2
votes
0answers
55 views

Can we make case milestone record completion date uneditable for some users?

I was trying to hide the case milestone completion date for some profiles. I tried using page layout read-only option and we can't set field-level security for case milestone. Also, we can't write a ...
0
votes
1answer
36 views

Isolate multiple IF statements?

I'm running into some difficulty in getting a case milestone to update correctly. The context is that my Org had three departments, and three separate entitlement processes (which all completed on ...
0
votes
1answer
277 views

Case Milestone - Upload via DataLoad / Bulk Create

I have created Case Milestones - First Response, but due to some criteria mismatch no records were created. Now we have corrected the criteria and the First response is being executed/completed for ...
0
votes
1answer
648 views

I am writing a test class on Case object with entitlement, and I'm receiving an error message

When I execute my test class of " trigger class" on case object this error message is received: first error: FIELD_INTEGRITY_EXCEPTION, You can’t set an entitlement process' start time after any ...
0
votes
1answer
870 views

How to manage multiple teams working on the same case

I need to handle a scenario where a Sales Rep will raise a case for service activation for a customer. Such a case will have the following steps - Team A will validate the details and then pass on to ...
0
votes
0answers
247 views

Milestone Violation when Priority is Changed

Currently facing an issue where milestones are falsely being registered as violated when the priority of a case is changed. Here is how our entitlement process is setup for the first response ...
0
votes
1answer
441 views

Why is my entitlement not stopped during support holidays?

I have an entitlement process with a single milestone in it. I've created a support holiday and linked it to the business hours record I have set up on the milestone and on the entitlement process. ...
-2
votes
1answer
50 views

Not able to query custom field on CaseMilestone

I have created a custom field on CaseMilestone, But i am not able to do a query that particular field. is that a restriction from salesforce or i am missing something ? Regards Nirmallya
0
votes
0answers
383 views

Case milestone conclusion by the user doesn't seem to trigger the process builder?

I'm working on a service system on which the case has a field called "observations". When the case's status change the system is supposed to copy its content to a big object related to the case record,...
0
votes
0answers
583 views

Entitlement Process Deletion Issues

So, first things first. What I am trying to here is to Delete a version of Entitlement Process. While doing so I got a list of Cases with this: You can't delete this entitlement process because it'...
2
votes
1answer
2k views

Milestones are disappearing after completion

I've setup an entitlement process with milestones (no-reoccurrence type) & entitlement, and assigned the entitlement to a case. The process is working great, but once a milestone is complete it ...
2
votes
1answer
1k views

Milestone elapsed / actual elapsed / stopped times are always empty

I have a CompletedCaseMilestone custom object that I use to store the completed milestones for statistical analysis later. Everything is working great, but I came across an issue when I'm also using ...
4
votes
1answer
1k views

Dynamically create time trigger for warning and violation in milestone

While creating a milestone in entitlement process we specify warning and violation time statically. I have a custom date field in Case. The milestone should enter in warning state only when the ...
0
votes
4answers
2k views

Entitlement / Milestone field update doesn't trigger Process Builders

We have setup an Entitlement Process in our org which upon hitting milestones performs a number of field updates on the Case record. These checkboxes correctly update when the milestone is hit, ...
1
vote
0answers
414 views

Case Milestone Clock not appearing in Community Page Layout

While setting up community with case entitlements, the case milestone is not visible on Community login(case detail page). The user license used is 'Customer Community Plus'. The entitlement & ...
1
vote
1answer
777 views

Milestone calculating weekend as a day

I created a entitlement and milestone. Given business hours as default hours in entitlement process. Created Milestone for 5 days(working hours). I am enabled "Show the time remaining in actual hours,...
0
votes
1answer
227 views

How to remove linkage of Entitltement Process with Case from backend or programatically?

How we can remove the linkage of Entitlement Process with Case when we're using all the custom layouts with Visualforce pages? For ex: SELECT Id, CaseNumber, EntitlementId,Entitlement.Name FROM ...
0
votes
1answer
315 views

Entitlement and Support Record Update Rule Detail doesn't works for Closed Cases?

I am using OOTB Entitlement Process and Milestone in our application. On Prod, I already have 1 active version of Entitlement Process having 4 milestones running under it. Few Milestone start time ...
0
votes
0answers
122 views

Entitlement and Support Record Update Rule runing from past 2 days not complete

I am running Entitlement and Support Record Update Rule after creating a new version, but its running forever and stopped incrementing at certain of point of time and stuck. Couple of questions: Is ...
0
votes
3answers
1k views

How to stop recurrence milestone in apex

Hi I am using sequential milestone in our project. We also have initial response and resolution time milestones working on case. Sequential milestone we used to send an update to the customer between ...
1
vote
1answer
2k views

Better Approach use Task vs work order?

I have requirement to create task for an case but each task should be track for SLA violation. It is not possible in term of Task, Task doesn't support for the milestone. After reading lot of article ...
0
votes
1answer
357 views

Unable to include case owner in Entitlement Process Milestones

I have a requirement to provide customizable timelines to close a case with in specified time. So, i set up entitlement process but my requirement is to apply milestone for specific cases with ...
1
vote
1answer
5k views

Is there any way we can pause milestones?

I am in a situation where i want to pause the milestone clock until the status of the case does not changes to 'completed'. The situation is , milestones are triggering on the basis of case status. ...
0
votes
2answers
3k views

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'...
1
vote
1answer
1k views

Why Cant we access the `MilestoneStatus` field either on the `Workflow` or `Process Builder` or in `formula` field?

Why Cant we access the MilestoneStatus field either on the Workflow or Process Builder or in formula field ? As per current implementation, my Case Detailed page is pure custom and I have Entitlement ...
1
vote
1answer
700 views

Case Milestone fields are not visible in lightning

As per Salesforce Winter ’17 Release Notes most of the Case Mile Stone fields are Available in both: Salesforce Classic and Lightning Experience. But I am not able to see Milestone Status Icon & ...
0
votes
1answer
2k views

How to display Mile stone tracker in record detail page

we are going to setup entitlement process in our org.we created templates as well as Entitlement and milestones. But now as per standard we are able to display milestone tracker in case feed page. ...
2
votes
1answer
692 views

Can we track Case Milestone's Start Date,Completion Date and Target Date?

We would like to track the history of values in Start Date, Completion Date and Target Date fields on Case Milestones. I couldn't find any documentation about this on Salesforce Documentation site. Is ...
1
vote
1answer
422 views

Milestone completion date issue

I have an issue where when we complete a milestone, the completion date applies to all Milestones associated with that case, rather than just the latest open Milestone. I.e. overrides all the previous ...
0
votes
1answer
419 views

IsCompleted Checkbox for case milestone

We populate the value for "Completion Date" for a case milestone through code. So when a case milestone got its completion date, its "IsCompleted" checkbox is getting checked automatically.. Could ...
-1
votes
2answers
2k views

Why Milestone clock is not running?

I have created an Entitlement Process and Milestones, but the clock is not ticking up, What could be the reason ? I really need a quick help. The milestones are showing uo
-1
votes
2answers
1k views

Can the SLA fields Violation, Elapsed Time be shown up top at the case level

I am working on the OOTB Entitlement and Milestones. I want to show Milestones fields at the Case level like Violation, Elapsed Time and Target Response etc. Can the key Milestone fields Violation, ...
2
votes
2answers
854 views

How we can used two different business hours in an Entitlement and Milestones?

I am working on the OOTB Entitlement Process and Milestones. I have two different business hours Mexico and USA. I want my entitlement to be run for both the business hours, assuming 1 business hour ...
-1
votes
3answers
91 views

Why Unable to use Date Null check in an Entiltement Process?

I am trying to create an Entitlement Process to use the Apex class. In that Class, Once Deadline Value is populated (it will be future date), then TimeCalculator class will calculate the difference ...