Modeling Guide for SAP Data Hub

Schedule Graph Executions

The SAP Data Hub Modeler provides capabilities to schedule graph executions.

Context

Scheduling graph execution is useful, for example, to schedule graph executions with recurring conditions.

Procedure

  1. Open the graph that you want to execute in a graph editor.
  2. In the editor toolbar, choose (Run).
  3. Choose the Schedule menu option.
  4. Schedule a graph execution.
    In the Schedule Graph dialog box, define the schedule.
    1. In the Schedule Description text field, provide a name for the schedule.
    2. Select a schedule property.
      The application supports a form-based approach or a cron expression to define the schedule.
      Schedule Property

      Property

      Description

      Form

      Provide a form-based UI to define a condition that specifies the frequency (or the number of occurrences) for executing the graph.

      The system uses the UTC equivalent of the frequency pattern that you specify to schedule the executions.

      For example, you can define a recurring condition that executes the graph every day at 9:00 AM

      Expression

      Use this mode to define a cron expression that provides the condition for scheduling a recurring graph execution. The cron expression is a string comprising of five fields separated by white spaces.

      The syntax for the cron expression is Minute Hour DayOfMonth Month DayOfWeek.

  5. Choose Schedule.

Next Steps

After creating a schedule, you can monitor the schedule within the Modeler or use the SAP Data Hub Monitoring application to monitor and manage all schedules.

In the bottom pane of the Modeler application, under the Schedule tab, you can monitor and manage the schedule. In this tab, you can view the description of the schedule and the graph execution state. If the graph is in the active state, the schedule trigger runs, otherwise, it is suspended. To stop a schedule, select the required graph and choose (Stop Process).