Info Text Parameters
When composing replies, SQL query or external application command line, you can include the following text parameters:
- %RuleName% - The name of the rule.
- %ReplyAccountID% - The ID of the account which should be
used for sending the reply. If the rule has a reply account specified, then
this parameter returns the ID of that account. Otherwise, the account ID from
the received messages is returned.
- %ReplyAddress% - The address of the sender of the reply. If
the rule has a reply address specified, then this parameter returns that
address. Otherwise, the default address of the reply account is returned.
- %P% - The list of all parameters extracted from the received
message separated with space characters.
- %Pm-ns% - The list of parameters extracted from the received message starting from the m-th parameter and ending with the n-th parameter separated with s. If m is not specified the
list starts with the first parameter, if n is not specified the list ends with the last parameter, if s is not specified parameters are separated with spaces.
- %R% - The list of all parameters returned by SQL query separated with space characters.
- %Rm-ns% - The list of parameters returned by SQL query starting from the m-th parameter and ending with the n-th parameter separated with s. If m is not specified the list starts
with the first parameter, if n is not specified the list ends with the last parameter, if s is not specified parameters are separated with spaces.
- %PipeName% - The name of the pipe from the named pipe
settings in the Info Setup dialog.
- %Prefix% - The prefix detected in the message text based on the Pattern setting of the info rule.
- %WithoutPrefix% - The part of the incoming message text after the prefix.
For example:
- %P3% - returns the 3rd parameter.
- %R2-5;% - returns the list of parameters starting with the 2nd and ending with the 5th, separated with semicolons.
Additionally, you can use the following parameters:
- %ServiceType% - The type of the service.
- %ServiceName% - The name of the service.
- %ServiceFileName% - The file name of the service.
- %ServiceInboxCount% - The number of messages in the Info Inbox.
- %ProcessingCount% - The number of messages that are currently being processed.
- %ProcessedCount% - The number of processed messages.
- %FailedCount% - The number of messages whose processing failed.
- %NotProcessedCount% - The number of not processed messages.