Task Forecasts

Task forecasts predict the expected execution times and the estimated runtime of tasks.

In your Process Monitoring perspective you probably have many tasks that are scheduled to be executed regularly. They can be very complex if they contain multiple child tasks, calendar conditions, status dependencies, etc., so it is difficult to know when they will start the next time and how long they will need to complete. For this purpose, you use task forecasts.

Forecasts for tasks are created manually in the Process Monitoring perspective or via a script. Creating forecasts is possible only for single objects; bulk calculations are not available

Precondition

You can only create forecasts for Tasks with a run ID and a start time.

To Create a Task Forecast

  1. Open the Process Monitoring perspective and select the task for which you want to create the Forecast.
  2. Right-click and select Create Forecast. The Create Forecast for Task "xxx" dialog is displayed:

    Click to Expand

  3. Name displays the name of the selected task by default, but you can change it.

    This can be useful if, for example, you have created various forecasts for one task and want to differentiate them.

  4. In Reference Run ID enter the run ID of the task for which you are creating the forecast. By default, the run ID of the selected task is displayed but you can change it.

    Generating forecasts based on run IDs gives you the chance to create multiple forecasts of one and the same task targeting different executions. This allows you to analyze different scenarios and react accordingly.

  5. If the selected task is scheduled using a Period object, the Periodic Task Forecast day picker is available.

    Since schedules defined in Period objects may last forever, this value limits the number of forecasted days for these tasks.

  6. If a Job Group is involved in the execution (JOBG), or if the task contains children (Schedule or Workflow objects, for example), specify how you want the forecast to calculate its runtime:

    Option

    Description

    Consider actual entries

    The forecast will check the calculation method specified for each task in the group or parent task and base the calculated ERT of the group on these definitions.
    Use ERT of the Group The ERT defined in the Group or parent task (Workflow or Schedule) and NOT the definitions in their child tasks is considered for the runtime calculation.
    Use Fixed Value Based on your experience with your objects and processes, you probably already know how long it takes to execute most of them. In this case you can indicate here a specific value.

    Note: Forecast always uses the current ERT for forecast calculations. If a fixed value is set, it is used for further task executions but not for the forecast. If you want to use a fixed value, you must reset the ERT calculation first and also after the next execution. The fixed value is also the current ERT.

  7. Click Create.

    The forecast opens in the Process Monitoring window. Based on the task data, the estimated end date/time and status of the execution as well as the expected end status are displayed. For example:

    Click to Expand

    The Logical Start and Estimated End column specify the date and time in which the system expects the object to start and to finish respectively; calendar conditions and system workload are taken into account for this calculation.

    The Estimated Status column indicates the status the system expects the tasks to reach after the execution. Note that the desired status can be set in the object definition on the Runtime Page.

    The Estimated Runtime column indicates how long the system expects the task to run.

See also: