XMAutomate

The XMAutomate Service has three configuration modes as follows:

  1. The first configuration mode allows you to schedule tasks on a daily, weekly, monthly or yearly basis.  These tasks appear in the relevant user’s Task List in the XMWorkspace at the scheduled intervals.
  2. The second configuration mode allows you to start processes based on files that are placed in a specified designated folder (and map the contents of the file to XMPro objects within a specified activity).
  3. The third configuration mode allows a process to be started by monitoring a specific email account.

Configuring the XMAutomate Service

Before you can configure the XMAutomate service/s you need to make sure the MMC application has also been installed.

The MMC allows for the management and configuration of the XMAutomate as well as the XMAlert services.

xmd_XMAutomate_ConfiguringXMAutomateService

  1. Double-click the XMPro Configuration in the left-hand panel (or click the arrow on the left) and double-click the XMAutomate below it (or click the arrow on the left).
  2. The settings form for the XMAutomate Service will display on the right.
  3. Complete the Site URL and login details as well as adjust the polling interval as required. The configuration time is in seconds (300 seconds = 5 minutes)
  4. Click Save. This sequence only needs to be completed the first time a new service is installed.

Time-Based Events

xmd_XMAutomate_TimeBasedEvents

  1. Right click on TimeBased and click on Add Event in the popup menu.
  2. Activity Event will appear below Time Based and in the right-hand panel. Click on Activity Event below Time Based or double click Activity Event in the right-hand panel.

xmd_XMAutomate_TimeBasedEventDefinition

  1. A time-based event definition form will now appear. Fill in this form in order to create and schedule a task.  Click Save when you are finished.
  2. Select the Activity Name to trigger when the specified recurrence setup is met.

File-Based Events

xmd_XMAutomate_FileBasedEvents

  1. Right click on FileSystem and click on Add Event in the popup menu.
  2. New EventDefinition 0 will appear below FileSystem and in the right-hand panel. Double click New EventDefinition 0 in the right-hand panel.  An Activity Settings form will now appear.

xmd_XMAutomate_ActivitySettings

  1. Select the Activity Name from the dropdown, browse to the monitor path.
  2. There are two file types that can be monitored: XML and CSV.
  3. Next select the File Object contained in the activity selected. This is required to load the original document (can be access through the process as required).
  4. The file Identifier is an optional field that can be used to only monitor for files with the specified name prefix.
  5. Once done click Apply, then Add ObjectGroup.
  6. New ObjectGroup 0 will now appear underneath the name of the new activity. Click on New ObjectGroup 0.  The ObjectGroup Settings panel will now appear.

xmd_XMAutomate_AddObjectGroup

  1. You need to map at least the Default (0) Object Group
  2. The GroupNode being used in reference to the source XML file. RepeatingNode is used when populating an object group using a common node in the XML.
  3. Example XML file and mappings:

xmd_XMAutomate_ExampleXMLfileMappings

xmd_XMAutomate_ObjectGroupSettings

  1. Click Apply, then Add Object
  1. The name of the object group will appear beneath the name of the activity, and New Object 0 will appear below that. Click on New Object 0 and the Object Settings panel will appear.

xmd_XMAutomate_AddNewObject

  1. Map the first object to the respective control within the selected activity as well as the source within the file.
  2. Click Save.
  3. Right-click on Default and Add Object to add additional objects to a map.

xmd_XMAutomate_AddNewObject_FileSystem

Email-Based Events

xmd_XMAutomate_EmailBasedEvents

  1. Right-click on EmailPolling and click on Add Event in the popup menu.
  2. New EventDefinition 0 will appear below EmailPolling and in the right-hand panel. Double click New EventDefinition 0 in the right-hand panel.  An Activity Settings form will now appear.

xmd_XMAutomate_EmailSettings

  1. The URL needs to map to the exchange server
  2. The selected Exchange versions currently supported are:
    1. Exchange 2007 SP1
    2. Exchange 2010
    3. Exchange 2010 SP1
  3. The username and password for the specified email account being monitored need to be added.
  4. The subject matches can be used to filter specific emails out for different activities.
  5. The activity being triggered needs to have configured:
    1. Attach email – file attachment control
    2. From – control to store the from details
    3. CC – control to store the cc details
    4. Subject – control to store the subject details
    5. Body – control to store the body details
    6. Attachment’s – Object Group
    7. Attachment – control to store the attachments contained within the above Object Group
  6. The delete email flag is optional.
  7. Click Apply.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X