Previous Topic: Controlling Processes from an External Application with SOAP CallsNext Topic: Monitor the FileTrigger Dataset of a Process Started by a File Trigger


How File and Mail Triggers Work

This topic provides a description of the processing sequence for triggers. It uses file and mail triggers as examples.

File and Mail Trigger Example:

  1. At the configured frequency, CA Process Automation searches for new content in the configured folder and the configured email account.
  2. If a new file object or mail object is found, CA Process Automation attempts to run the process, based on the XML content.

    An illustration of valid XML content for the file trigger follows:

    This graphic shows that the flow consists of process path, credentials, and process initializaiton parameters..

  3. When the trigger executes the process specified in the trigger instance, the process dataset is populated with the values contained in the XML. The following example demonstrates how the values in the XML content are used to populate the file trigger process dataset.

    This graphic shows how you can compare the values in the XML example with the values in the resulting dataset and see that they are the same..

  4. The results are posted to the processed folder in the configured path.

    This graphic shows that the path displayed is the configured path for the trigger output..

  5. Emails received at the configured email account are processed in much the same way as XML content received in files. In addition confirmation emails are sent, where the content states whether the XML content was found in the body of the email or in an attachment. The following example shows both messages:

    This graphic shows that the content location, body or attachment, is noted in the confirmation.