Generate SLA due date from start date and business days

Recipe ToolsDeveloper ToolMarketing

What it does

When a function is called with a start date and SLA hours, this automation calculates the due date by adding only business days and excluding weekends. The result is returned to the calling system so downstream processes have the accurate deadline.

Who it's for

Operations teams who need accurate SLA due dates based on business days for ticket and request management.

How teams use this

Set ticket SLA deadlines

Calculate when a support ticket is due based on the time it was created and the SLA hours assigned. The due date accounts for weekends so the team knows the real business day deadline.

Route requests by calculated deadline

Use the calculated due date to route incoming requests to the right team based on urgency. Only business days count toward the SLA so routing decisions are accurate.

Track SLA compliance metrics

Feed the due date into a reporting system to measure whether tickets are resolved before the business day deadline. Weekends are excluded so compliance metrics reflect actual SLA performance.

How it works

  1. Receive start date and SLA hours. A function call passes the start date and SLA hours to this automation in real time.
  2. Calculate business day due date in Py Eval. Py Eval runs Python code that adds the SLA hours to the start date while excluding Saturday and Sunday, then returns the calculated due date to the calling system.