Content Items

Content service uses the list of items to recognize received messages.

When a message arrives, the service steps through the items, in the order of their ID values, to find an item for which the message matches the specified pattern. If an item is found, the associated content is sent back to the sender. Optionally, an external application may be executed in order to check or process the request prior to sending the content.

See Content Item Dialog for the list of all item properties.

 

Execute external application

This action executes external application (e.g. Visual Basic scripts, Java scripts, .exe, .bat, etc.) which can additionally process received message.

The Application parameters setting will be used to produce the command line parameters for the application. You may use Content Text Parameters, Message Text Parameters, and Global Text Parameters to compose application parameters.

The application should process its command line parameters and perform desired operations. If the processing was successful, then a message with requested content will be sent. When the application finishes, it should set the ExitCode to zero if the processing was successful, otherwise, ExitCode should be set to a nonzero value, signaling that the processing failed. If the application does not return for the specified timeout period the processing will be considered as failed.

 

Content Setup dialog - General tab

This tab displays the list of content items.

The Action menu contains the following options:

The Tools menu contains the following options:

Use Pattern Test Bar to test how the rules are recognized. While you type the text, you can see if and how that text is recognized.

 

Copyright © 2002-2010 CodeSegment. All rights reserved.

   www.codesegment.com