Automations

The Automations page allows you to design JSON messaging workflows that support a rich set of communication protocols. With a simple set of tools, you can leverage your FME Server to receive and send messages, and run workspaces on demand.

Automations are comprised of three primary components:

  • Triggers: Listen for and receive messages from external clients or from within FME Server.
  • Supported protocols

  • External Actions: Send messages to external clients or inside FME Server.
  • Supported protocols

  • Actions: Process messages between triggers and external actions, either in an FME workspace, or through another tool.
  • Supported Actions

The example below illustrates a simple workflow comprised of a single trigger, action, and external action. A Directory Modified trigger sends messages to a Run Workspace action whenever a specified directory is updated. If the workspace fails to run, a message is sent to a Send Email external action, which sends an e-mail.

Tip: You do not need an external message to run a workspace. You can trigger a workspace to run any time with the Schedule trigger.

Getting Started with Automations

Start a new automations workflow from the Get Started, Automation Builder, or Manage Automations page. (To use an existing automation as a starting point, select it from the Manage Automations page, click Actions > Duplicate, and open the duplicated automation.)

To start, one undefined Trigger and "Next Action" (which can be either an action or external action) are placed on the workflow area. As you continue to define the workflow, additional "Next Action" components are added.

Alternatively, to add additional components, expand . Double-click or click-and-drag from one of the applicable icons.

Tip: You can disable "guided mode" when building a workflow. Select Menu > Hide guides. To enable, select Menu > Show guides.

  1. Define Components
  2. Define triggers, actions, and external actions, as desired.

  3. Save, Name, and Tag the Workflow
  4. Click the Save icon, or Select Menu > Save As. In the Save As dialog, specify a Name and one or more Tags (optional), and click OK.

    Tip: If you have many workflows, use tags to organize them into meaningful categories. When viewing workflows on the Manage Automations page, you can filter on tags.

  5. Start the Workflow
  6. Workflows do not listen for incoming messages or run until you click Start Automation. Alternatively, you can start or stop workflows on the Manage Automations page.

    Note: You cannot edit a workflow unless it is stopped. Click Stop Automation.

Other Tasks - Building Workflows

Managing Automations

Working with Automation Logs