Help for SAP Data Hub Cockpit

Schedule a Task Workflow Execution

After creating a task workflow, you can schedule the execution of the task workflow in the SAP Data Hub cockpit.

Prerequisites

You have created and activated one or more task workflows.

Procedure

  1. Start the SAP Data Hub cockpit in a Web browser.
  2. In the Service KPIs section, choose the Scheduling tile.
    The tool displays the list of all task workflows that you have scheduled for execution along with the schedule status.
  3. Schedule an execution of a task workflow.
    If you want to schedule a new execution for a task workflow, then
    1. In the menu bar, choose + (Add).
    2. In the Project dropdown list, select the project, which contains the task workflow that you want to schedule for execution.
    3. In the Task Workflow Name dropdown list, select the required task workflow that you want to execute.
    4. In the Schedule Description text field, provide a description for the new execution.
    5. In the Schedule Type dropdown list, select a value.

      Type

      Description

      Recurrence

      If you want to schedule recurring executions of task workflows based on certain defined conditions. This means that, the schedules run periodically at specified dates, times, or intervals. For example, you can schedule the execution of a task workflow to recur every Monday.

      Immediate

      If you want to schedule the execution of task workflow immediately and only once. This means that, the tool schedules the execution of the task workflow as soon as you create the new schedule.
  4. Define recurrence condition.
    If you have selected the schedule type as Recurrence, define the recurrence condition that the tool must use to schedule the task workflow execution.
    1. Specify the Start Time and the End Time.
      The scheduler executes the task workflow for this time period.
    2. In the Recurrence section, select a recurrence type.
      The tool supports two ways to schedule a recurring task workflow execution.

      Recurrence Type

      Description

      Frequency

      Define a condition that specifies the frequency (or number of occurrences) for executing the task workflow within the provided start time and end time. For example, you can define a frequency condition to execute the task workflow the last day of every month for a year.

      Expression

      Use a cron expression that provides the condition for scheduling a recurring task workflow execution. The cron expression is a string comprising of seven fields separated by white space.

    3. If you have selected Frequency, in the Recurrence Type dropdown list, select a value.
      Depending on the selected value, you can define the Frequency Pattern for scheduling the task workflow execution.
    4. If you have selected the recurrence type as Expression, in the Cron Expression text field, enter the required cron expression.
      System uses the UTC equivalent time for the cron expression to schedule the recurrences.
    5. Select the Show Next Schedules checkbox, to see the next five schedules.
  5. After defining the schedule, in the Create Schedule pane, choose Create.
  6. Maintain task workflows executions.
    If you have already scheduled task workflow executions, you can suspend the execution of an active task workflow or resume the execution of a suspended task workflow.
    1. Select the required task workflow.
    2. If you want to suspend the execution of a task workflow, in the menu bar, choose Suspend.
    3. If you want to resume the execution of a suspended task workflow, in the menu bar, choose Resume.
    4. If you want to filter the list of task workflows displayed, in the header, choose (Filter).
      You can filter the list based on the project name, task workflow name, or the date on which the task workflow was scheduled for execution.
  7. View execution details.
    Depending on the recurrence of a task workflow execution, the tool may execute a task workflow more than once. If you want to view more information for each execution runs, then
    1. Select a task workflow execution.
    2. In the menu bar, choose .
      For each scheduled task workflow execution, the tool provides more information on all execution runs performed, the status of each execution run, and also information on the next scheduled execution run.
    3. If you want to copy the execution details to the clipboard, in the Schedule Info dialog box, choose Copy.
  8. (Optional) Edit a task workflow execution schedule.
    You can modify the schedule defined for a task workflow execution.
    1. Select a task workflow execution.
    2. In the menu bar, choose .
    3. In the Edit Schedule pane, define the new schedule.
    4. Choose Save.