We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [holidays]

The tag has no usage guidance.

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

Salesforce formula to exclude holidays between two date time fields

I would like to create one formula field on Case object which calculates business hours between two dates. Weekends, as well as Holidays mentioned in Business hours, should be excluded in the formula. ...
0
votes
1answer
37 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. ...
0
votes
1answer
87 views

Journey Builder | Is there an out of the box feature to send emails on the next day if it falls on a Canadian Statutory Holiday?

Scenario: Jane D. is a business owner with a business email address. According to the business rules implemented in Journey Builder Jane D. is scheduled to receive email communications on Christmas ...
2
votes
1answer
60 views

Apex Business Hours calculation glitch

I have a salesforce org with business hours set up from 8AM - 6PM (10 hours). Corporate holidays are on 25,26th Dec and 1st Jan. I'm using the standard apex method BusinessHours.add() to calculate ...
0
votes
2answers
1k views

Calculate No of working days difference between two dates?

This could be the very simple use case, but I am straggling to make this working. How we can find out the business working days difference between two dates ? I know 8/26/2017 is Saturday, next days ...
1
vote
2answers
7k views

How to add days with Date field?

I have one date field called "Billing date" and one Number Field called "Billing Delay". I want to update one Date field "DueDate" which computes "Billing date"+"Billing Delay" for Eg: "Billing ...
0
votes
1answer
1k views

Add Business Days

I am trying to add business days to a date using an invocable method. I cannot use the formula method as I need to take into account holidays as well as weekends. public static Date addBussinessDays(...
3
votes
1answer
1k views

How to Associate Holiday and Business Hours in Data Import

Is there a way to insert/update Holidays and create the association to an existing Business Hour? In the UI this is achieved by clicking into the Business Hour, clicking the "Add/Remove" button under ...
3
votes
1answer
141 views

Why is my escalation rule NOT ignoring holidays?

I have an escalation rule setup as follows: Rule Name: Idle Notification Active: Checked I only have 1 rule entry and it has the following attributes: Rule Criteria: (Case: Status not equal to ...
2
votes
1answer
35 views

Can different case teams in different territories have different holidays for calculating escalations, etc? [closed]

I have a situation where client has different holiday lists for different territories. For example there are 2 territories T1 and T2, and there are 3 holidays H1, H2 and H3. Is it possible to assign ...
5
votes
2answers
2k views

How to Calculate the Office Hours except holidays hours In Salesforce

I have the three field like below and I want to calculate the business hours but need to reduce the hour if the exist the holiday. I have write this code into the apex class and call this class form ...
18
votes
1answer
3k views

Creating Holidays and Business Hours in Test Code

I have been creating a Business Hours Calculation engine in the past few weeks and have gotten some great help on a few questions I've already asked (BH in Apex, BH and Holiday Affiliation). I have ...
10
votes
1answer
3k views

Business Hours and Holiday Affiliation

I have been in the process of creating a Business Hours Engine that calculates business hours. I have used the Case Flags product and like it, but I am looking to build a custom engine so I can take ...