Tutorial - Generating Forecast Data

In this exercise, we will:

  • Add a workflow and its tasks to the Forecast calendar.
  • Run the workflow and display its forecast information.
  • Update a task in the workflow and then re-run the workflow.
  • Recalculate the forecast information for the workflow.
     

Step 1

Create a Time trigger and enter/select the following values:

  • Name = Simple Workflow Trigger.
  • Task(s) = Simple Workflow
  • Forecast = enabled
  • Business Days = enabled
     

Step 2

Save the trigger and then enable it. A trigger must be enabled in order to generate forecast data for it.

Step 3

From the Automation Center navigation pane, select Triggers > Forecast Calendar. The Forecast Calendar identifies Simple Workflow on the days in the forecast period, for the current month, when it will be launched by Simple Workflow Trigger. (By default, tasks within a Workflow are not displayed.)
 

Step 4

Click any Simple Workflow link in the Forecast Calendar to display a Forecast Details pop-up. Note that the Launch Time and End Time are identical; since the workflow has never been run, there is no data to support estimated times.
 

Step 5

From the Automation Center navigation pane, select Triggers > Forecasts. The Forecasts list identifies Simple Workflow and every task in Simple Workflow, as well as their Launch Times and End Times, for every day in the forecast period when Simple Workflow will be launched by Simple Workflow Trigger.
 

Step 6

Re-display the Time Triggers list, right-click Simple Workflow Trigger, and then click Trigger Now to launch Simple Workflow.

Step 7

When Simple Workflow has completed, re-display the Time Triggers list, right-click Simple Workflow Trigger, and then click Recalculate Forecast.
 

Note

You also can recalculate the forecast by right-clicking Simple Workflow on the Workflow Tasks list and then clicking Recalculate Forecast.

Step 8

Re-display the Forecast Calendar and click any Simple Workflow link in the Forecast Calendar to display a Forecast Details pop-up, which now contains estimated Launch Time and End Time information based on the Workflow run just completed.
 

Step 9

Open the Timer Task and change the Timer Duration in Seconds value from 10 to 50, and then click Update.
 

Step 10

Re-run Simple Workflow.

Step 11

When Simple Workflow has completed, re-calculate its Forecast; since the updated time for the Timer1 task affected the Simple Workflow End Time (the time it took to run the Workflow), the Forecast information for Simple Workflow is now obsolete.

Step 12

Re-open the Forecast Calendar and click any Simple Workflow link to see that 20 seconds has been added to the End Time.



For additional information, see: