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 *tokenDeclared In
TTEscalationPolicy.h
alwaysEscalate
BOOL indicating whether escalation is always on for every message sent to the target.
@property (nullable, nonatomic, copy) NSNumber *alwaysEscalateDeclared 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 *destructionDurationDeclared 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 *targetDurationDeclared 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 *backup1EscalationDurationDeclared 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 *backup2EscalationDurationDeclared 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*> *backup1Declared 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*> *backup2Declared In
TTEscalationPolicy.h
role
Initial recipient of the escalated message.
@property (nullable, nonatomic, retain) TTRole *roleDeclared In
TTEscalationPolicy.h