0

I am trying to run a flow that changes a case owner if no one has taken the case from a queue after 24 hours. However, I only want this run on business days and non-holidays. I am trying a scheduled-flow and it does not allow for this option.

Case escalation is not applicable since the owner should be based ona field.

2 Answers 2

4

An approach to this problem is as follows

  • Run the scheduled flow every day
  • Use a decision block as the first element to decide if the rundate is a business day. If yes, continue to the other flow elements. If not, do nothing

How you decide whether it is a business day can be as simple as a formula that looks to see if the run date is a weekend day. If you need to include holidays, you can use an invocable apex to decide if it is a holiday

0

I am in the same boat here but for Business Hours. I would like the scheduled path to run only during business hours.

1
  • Welcome to Salesforce Stack Exchange (SFSE)! Please see the note about "me too!" responses in Why and how are some answers deleted?, and be aware that this "answer" will most likely be deleted. Please contribute to SFSE in other ways so that you gain reputation - you only need 15 rep to upvote a question and only 50 rep to comment under someone else's question. You can always Follow a question for updates. Or you could ask a new question, and in it link to this one for reference.
    – Moonpie
    Commented May 3, 2022 at 21:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .