Forecasts
Aim:
- Using the Auto Forecast
- Using the regular forecast
Lesson 12
You already know how to create, schedule and execute objects. As your tasks are mainly organized via Schedules, it is important to have the time and duration of task executions displayed centrally. The Auto Forecast provides this functionality.
Supported by the Auto Forecast, we will retrieve the next execution time of the file transfer that has been included in the Schedule.
- Highlight the Schedule object in the Explorer and start its execution with the button in the tool bar.
Note that the result of the Auto Forecast only includes tasks of active schedules and objects of type event.
- Open the Auto Forecast with the button in the toolbar.
- Click Recalculate if the calculation period for the forecast data is not up to date.
- Limit the result by selecting "FileTransfer" from the list of object types and enter the name of the FileTransfer object.
- Now enter the period of time for which the executions should be displayed. It must lie within the calculation period.
Your calculation period can deviate from the illustration shown above as it depends on the settings made by your administrator.
- Click Execute Query.
- The lower part of the window lists the next file transfer executions. If the period includes a weekend, the specified calendar conditions are also considered (as can be seen in the above illustration). The file transfer is not activated on weekends and therefore, the status box in the column Logical start is displayed white.
- Close the Auto Forecast and end the Schedule object.
In addition to the Auto Forecast, you can also query an individual forecast for a particular object. It provides information about the average duration of this object's execution.
- Right-click the Job object in the Explorer and select the command Forecast.
- The calculation of the average runtime is based on several options that can be specified here. In our case, the default settings are sufficient and you can click OK.
- The Forecast window opens in which all forecasts are located. The Runtime column informs about their average execution times.
Auto Forecast calculations also create individual forecasts (see above).
- Close the forecast window.
Exercise
Include the workflow in the Schedule object. Now start the Schedule. The Auto Forecast now also includes the workflow and its objects.