Inbound messages¶
Pre conditions¶
Specify the conditions under which a script is used before processing a newly arrived message from a pilot.
Displayed name |
AttributeName |
Description |
---|---|---|
ID |
MessagePreConditionId |
Primary Key. |
Name |
DisplayName |
Name for administrator. |
Order |
Rank |
The order in which conditions will be taken into account. Numbers do not need to form a sequence or be unique. |
IMR script |
ImrScriptAId |
Selecting a welcome script. Specifies which message script to execute when the message is received. If it is NULL, then none. |
Finish processing |
Terminate |
Specifies that when a message event is executed and eventually handled, the email will be processed. |
Language |
LanguageId |
Change language to specified if condition is met. |
Directory |
PhoneBookId |
A condition indicating that the sender’s address must be listed in a specific phone book to comply with the rule. If it is NULL, it is not checked. |
Gate |
GatewayId |
A condition indicating that a message must come through a particular input pilot. If it is NULL, it is not checked. |
Rule set |
TextMatchId |
A text match condition that determines whether the message contains certain strings. If it is NULL, it is not checked. |
Calendar mode |
TimeMode |
Time condition. How to Interpret TimeFrom / TimeTo Fields. If it is NULL, time is not checked. |
From |
TimeFrom |
Date and time of the time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |
To |
TimeTo |
Date and time end of time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |
Project conditions¶
Specifies conditions under which the initial project is selected. Allows you to specify a preferred agent.
Displayed name |
AttributeName |
Description |
---|---|---|
ID |
MessageProjectConditionId |
Primary Key. |
Name |
DisplayName |
Name for administrator. |
Order |
Rank |
The order in which they will be taken into account. Numbers don’t have to be in sequence or unique. |
Project |
ProjectId |
An initial project that is assigned to a message if it meets the condition. |
Priority |
Priority |
Change priority to specified, NULL unchanged. |
Skill |
Skill |
Initial acceptable project skill. |
Preferred Agent |
AgentId |
Preferred agent if condition is met. If NULL, no agent is preferred. |
Language |
LanguageId |
Change language to specified if condition is met. |
Knowledge |
Proficiency |
Basic proficiency of language. It can be NULL if NULL is. |
Directory |
PhoneBookId |
A condition indicating that the sender’s address must be listed in a specific phone book to comply with the rule. If it is NULL, it is not checked. |
Gate |
GatewayId |
A condition indicating that a message must go through a particular gateway. If it is NULL, it is not checked. |
Rule set |
TextMatchId |
A text match condition that determines whether the sender’s field contains certain strings. If it is NULL, it is not checked. |
Calendar mode |
TimeMode |
Time condition. How to Interpret TimeFrom / TimeTo Fields. If it is NULL, time is not checked. |
From |
TimeFrom |
Date and time of the time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |
To |
TimeTo |
Date and time end of time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |
IMR mask |
ImrResponseA |
IMR Condition. ImrResponse processing mask (by Targets field), compared by LIKE way (%_^). If it is NULL, it is not checked. |
Post conditions¶
They specify the conditions under which the script will run after the project is selected, when we already know the initial project. It also allows to change the project.
Displayed name |
AttributeName |
Description |
---|---|---|
ID |
MessagePostConditionId |
Primary Key. |
Name |
DisplayName |
Name for administrator. |
Order |
Rank |
The order in which post conditions will be taken into account. Numbers don’t have be in sequence or unique. |
IMR script |
ImrScriptBId |
Choosing the initial script. Specifies which message script to execute when the message is received. If it is NULL, then none. |
Finish processing |
Terminate |
Specifies that when a MessageScript event is executed and eventually handled, the email will be processed. |
Target workgroup |
ProjectId |
Change a project that is assigned to a message if it still fulfills the condition during initial processing. |
Target language |
LanguageId |
Change language to specified if condition is met. |
Default preference time [s] |
WaitingOffset |
Preferential (+) or penalty (-) message time. NULL means 0. |
The number of Agents logged in is less than |
LoggedAgentsUnder |
Condition for below-limit number of logged-in agents in the current project. If it is NULL, it is not evaluated. |
Queue longer than |
QueueLengthOver |
Condition for total number of waiting in the project queue to be exceeded. If it is NULL, it is not evaluated. |
Position in queue greater than |
QueuePositionOver |
Condition for queuing messages in queue not received. If it is NULL, it is not evaluated. |
Exceeded number of inbound messages |
AcceptedMessagesOver |
Condition for exceeding the number received in the queue. If it is NULL, it is not evaluated. |
Current project |
CurrentProjectId |
Condition for the current project. If it is NULL, it is not evaluated. |
Current language |
CurrentLanguageId |
Current language condition. NULL means that the language check condition is not used. |
IMR mask |
ImrResponseA |
IMR Condition. ImrResponse processing mask (by Targets field), compared by LIKE way (%_^). If it is NULL, it is not checked. |
Gate |
GatewayId |
A condition indicating that, to meet a condition, a message must have come through a particular input pilot. If it is NULL, it is not checked. |
Rule set |
TextMatchId |
A text match condition that determines whether the message contains certain strings. If it is NULL, it is not checked. |
Calendar mode |
TimeMode |
Time condition. How to Interpret TimeFrom / TimeTo Fields. If it is NULL, time is not checked. |
From |
TimeFrom |
Date and time of the time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |
To |
TimeTo |
Date and time end of time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |
Wait post conditions¶
Specify the conditions under which the script will run. They also allow you to change the project or terminate processing.
Displayed name |
AttributeName |
Description |
---|---|---|
ID |
MessageWaitPostConditionId |
Primary Key. |
Name |
DisplayName |
Name for administrator. |
Order |
Rank |
The order in which wait post conditions will be taken into account. Numbers don’t have to be in sequence or unique. |
IMR script |
ImrScriptWId |
Selecting a script while waiting for a message. Specifies which message script to execute when the message is waiting. If it is NULL, then none. |
Finish processing |
Terminate |
Specifies that when a MessageScript event is executed and eventually handled, the email will be processed. |
Target workgroup |
ProjectId |
Change the project to another if the condition is valid. |
Target language |
LanguageId |
Change language to specified if condition is met. |
Priority |
Priority |
Change priority to specified, NULL unchanged. |
Preferential time shift [s] |
WaitingOffset |
Preferential (+) or penalty (-) message time. NULL means 0. |
Waiting Time Over |
WaitingTimeOver |
Waiting condition exceeded in seconds. If it is NULL, it is not evaluated. |
Effective Waiting Time Over |
EffectiveWaitingTimeOver |
Condition to exceed the effective waiting time in seconds. If it is NULL, it is not evaluated. |
The number of Agents logged in is less than |
LoggedAgentsUnder |
Condition for below-limit number of signed-in agents in the current project. If it is NULL, it is not evaluated. |
Queue longer than |
QueueLengthOver |
Condition for total number of waiting in the project queue to be exceeded. If it is NULL, it is not evaluated. |
Position in queue greater than |
QueuePositionOver |
Condition for queuing messages in the queue of all pending misses. If it is NULL, it is not evaluated. |
Exceeded number of inbound messages |
AcceptedMessagesOver |
Condition for exceeding the number received in the queue. If it is NULL, it is not evaluated. |
Current preferrence time less than [s] |
CurrentWaitingOffset |
Current preferential (+) or penalty (-) message time. NULL means 0. |
Current workgroup |
CurrentProjectId |
Condition for the current project. If it is NULL, it is not evaluated. |
Current language |
CurrentLanguageId |
Current language condition. NULL means that the language check condition is not used. |
Calendar mode |
TimeMode |
Time condition. How to Interpret TimeFrom / TimeTo Fields. If it is NULL, time is not checked. |
From |
TimeFrom |
Date and time of the time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |
To |
TimeTo |
Date and time end of time condition. YearInYear is ignored, DayInWeek is extracted only the day of the week. May be NULL only if TimeMode is also NULL. Local time. |