Skip to main content

Questions tagged [holidays]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
135 views

How do I find the relationship between BusinessHours and Holiday?

As far as I understand, the junction object is hidden by Salesforce itself. I found an answer that advises to link objects by their names: BH : USA; Holiday : USA - New Year But in this case we will ...
Max Vitko's user avatar
0 votes
0 answers
86 views

How to exclude sending SMS on holidays?

I am setting up a journey with external API system in SFMC to send SMS message and have a situation of recurring journey running daily, taking all records from Call object who made a call the day ...
Anja Bašić's user avatar
0 votes
0 answers
546 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. ...
Anurag Bhardwaj's user avatar
0 votes
1 answer
1k 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. ...
Valyrion's user avatar
  • 1,144
0 votes
1 answer
409 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 ...
HSikder's user avatar
2 votes
1 answer
248 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 ...
user682217's user avatar
  • 1,171
0 votes
2 answers
4k 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 ...
user avatar
2 votes
2 answers
26k 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 ...
uma451's user avatar
  • 819
2 votes
1 answer
3k 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(...
developer__c's user avatar
  • 1,307
3 votes
1 answer
3k 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 ...
Heather Jones's user avatar
3 votes
1 answer
375 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 ...
Mike B's user avatar
  • 369
2 votes
1 answer
47 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 ...
Swayam Arora's user avatar
5 votes
2 answers
3k 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 ...
SFDC LEARNER's user avatar
22 votes
1 answer
5k 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 ...
Chris Duncombe's user avatar
12 votes
1 answer
5k 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 ...
Chris Duncombe's user avatar