ARSperl Programmer's Manual - ars_SetEscalation

## `ars_SetEscalation(ctrl, name, escalationHash)`

This function modifies an existing escalation. You must first populate the `escalationHash` before calling this routine.

`name` is the name of the escalation.

`escalationHash` is a partially assigned Escalation Attributes hash.

On success
  Returns 1
On failure
  Returns 0

Example:

> This example changes the name and disables the escalation "TEST:Escalation".

          ars_SetEscalation( $c, "TEST:Escalation", {
            name   => "# TEST:Escalation",
            enable => 0,
          } ) || die $ars_errstr;

This function was introduced in version 1.90 of ARSperl

Back to Table of Contents