Class Priority
Used to handle priorities.
Syntax
Constructors
Priority()
Initializes a new instance of the Priority class.
Declaration
Priority
Methods
checkEscalating(Integer,Integer)
Checks if the ticket should change its alert level based on the priority and action. If it is to change, the alert level and alert timeout for the ticket will be updated.
Declaration
Void checkEscalating(Integer ticketId, Integer action)
Parameters
Type | Name | Description |
---|---|---|
Integer | ticketId | The ID of the ticket to check |
Integer | action | The action that triggered this escalation. |
Returns
Type | Description |
---|---|
Void |
Remarks
Useful if you want to change the state of a ticket that is monitored by the its priority. It will take care of all the escalation routines so you do not have to do this manually.
Possible action values: Ticket changed owner = 0 Ticket change owner = 1 Ticket received new information = 2 Ticket closed = 3 Ticket changed priority = 4 New ticket = 5