FME FlowSchedule

Use the Schedule trigger to complete workflow tasks at specific times in the future. You can use a Schedule trigger in conjunction with an Action, such asRunWorkspace, or an External Action, such asEmail.

The Schedule trigger has two output ports. The success port () can send a message if the trigger initiates successfully. The failure port (x) can send a message if the trigger fails to initiate.

Tip  "> TipYou can test a workflow that is initiated by a Schedule trigger, regardless of the times the Schedule is configured to execute. SeeTesting a Schedule-Initiated Worfklow, below.

Parameters

  • Schedule Type: Specify how often the task repeats:
    • Basic: Repeats based on a calendar-friendly selection of intervals derived from a specifiedStarttime.
    • Repeat On Interval: Repeats in intervals from a list of predefined units.
    • CRON Expression: Repeats based on your own cron expression.
    • Note  "> Note BasicandCRON Expressionmust be configured according to the time zone of theFME Flowthat runs the task. All other times can be expressed according to your local time zone.

      IfRepeat on Intervalis specified, the schedule does not adjust when switching between Standard Time and Daylight Saving Time.

  • Date Range: Specify the scheduleStartand/orEndtimes. Alternatively, selectStart Immediatelyand/orDoes Not Expire, respectively.
  • Recurrence: IfSchedule TypeisBasic, specify how often the task repeats from the drop-down selections.

Output Attributes

See Also

Attribute Description
time Event time
source Event type
error.type

(Failure port only) Error type:

  • InvalidMessage: An error occurred while configuring this component, such as missing or malformed values.
  • DeadLetter: An error occured while connecting to an external resource. Examples may include connection issues, invalid credentials, or generic external resource exceptions.
error.message (Failure port only) Error message

Testing a Schedule-Initiated Worfklow

For testing purposes, you can force a workflow that is initiated by a Schedule trigger to run at any time, regardless of the specified parameters of the Schedule.

When ready to test yourFME FlowSchedule workflow:

  1. ClickStart Automationto enable the workflow.
  2. Double-click on the Schedule component you want to initiate the worfklow.
  3. Under Schedule Details, clickTrigger.

A Trigger Schedule message displays to indicate whether the Schedule trigger was successfully requested. If so, the workflow runs as it is currently configured.