TTEscalationPolicy Class Reference

Inherits from NSManagedObject
Declared in TTEscalationPolicy.h

Overview

TTEscalationPolicy contains the rules for escalated messages sent to a specific role.

Note: Rules include how long to wait before escalating to the backup recipients, whom to message after the current recipient did not respond, and how long the group is kept alive after the escalation has resolved.

  token

Policy’s identifying token

@property (nullable, nonatomic, copy) NSString *token

Declared In

TTEscalationPolicy.h

  alwaysEscalate

BOOL indicating whether escalation is always on for every message sent to the target.

@property (nullable, nonatomic, copy) NSNumber *alwaysEscalate

Declared In

TTEscalationPolicy.h

  destructionDuration

Amount of time the escalation group exists after escalation has completed (acknowledged, no response or cancelled).

@property (nullable, nonatomic, copy) NSNumber *destructionDuration

Declared In

TTEscalationPolicy.h

  targetDuration

Amount of time in minutes allowed for the initial recipient to answer before message gets sent to the first back up role/user.

@property (nullable, nonatomic, copy) NSNumber *targetDuration

Declared In

TTEscalationPolicy.h

  backup1EscalationDuration

Amount of time in minutes allowed for the first back up role/user to answer before message gets sent to the second back up role/user.

@property (nullable, nonatomic, copy) NSNumber *backup1EscalationDuration

Declared In

TTEscalationPolicy.h

  backup2EscalationDuration

Amount of time in minutes allowed for the second back up role/user to answer before escalation is marked with a “No Response” resolution.

@property (nullable, nonatomic, copy) NSNumber *backup2EscalationDuration

Declared In

TTEscalationPolicy.h

  backup1

Role/user to which the message gets sent after the initial recipient opts to skip or after the targetDuration time expires before the initial recipient responds.

@property (nullable, nonatomic, retain) NSSet<TTUser*> *backup1

Declared In

TTEscalationPolicy.h

  backup2

Role/user to which the message gets sent after the first back up role/user opts to skip or after the backup1EscalationDuration time expires before the first back up role/user responds.

@property (nullable, nonatomic, retain) NSSet<TTUser*> *backup2

Declared In

TTEscalationPolicy.h

  role

Initial recipient of the escalated message.

@property (nullable, nonatomic, retain) TTRole *role

Declared In

TTEscalationPolicy.h