Generation

Executable objects go through four execution stages. The first one is the Activation stage. The generation stage includes the following steps:

Note: Not all script types are processed in the generation stage. The following types of scripts are processed at later stages:

Tip: On the Attributes Page, you can define that the object should be generated either at activation or at runtime. This attribute can have an important impact in the execution times of your tasks. Have a look at Generating at Activation or at Runtime, where the implications of either option are described.

The following diagrams describe the steps that a task goes through during the generation stage.

Preparing for Generation

Immediately after it has finished the activation stage, the task is either waiting for user input or it enters the generation stage. The following steps take place:

At this point, the task can have one of the following statuses:

Status: Ready to Generate, Ready to Start, or Waiting for Manual Release

If the task reached this point in the generation with one of these statuses, the following validations and actions take place:

Status: Waiting for Predecessor

If the task reached the Waiting for Predecessor status, the following validations and actions take place:

Status: Waiting for Start Time

If the task reached the Waiting for start time status, the following validations and actions take place:

Status: Registered

If the task reached the Registered status, the following validations and actions take place:

Script Processing in Detail

Next Stage

When the generation stage has finished, the task enters the Processing stage.

See also: