How to implement a relative duration The general steps for implementing a relative duration. Create the cmn_relative_duration table. Create the DurationCalculator script include. Create a sample relative duration entry (for example, "Next business day by 4pm"). Add the needed fields to SLA tables to support relative durations. Modify duration calculation for SLAs. Modify SLA Percentage timer calculation for SLAs (this must use work_seconds). Add schedule fields to the Workflow: Schedule and Timezone (selected based on the field from workflow table). Add duration support fields to the Workflow Task activity. Implement duration calculation script for the task activity.