Script Create SLA

Dear All

I need help creating an SLA based on regular business hours; do you have any script examples? Also, how can I test if the SLA is functioning correctly?

Thank you

I don’t do any special scripting for this task.

I’ve followed instructions and examples from Customizing/Sla - RT 6.0.2 Documentation - Best Practical and also update priority on a linear basis: RT::Action::LinearEscalate - RT 6.0.2 Documentation - Best Practical

Maybe you can find this useful: RT::Action::EscalatePriority - RT 6.0.2 Documentation - Best Practical