Executing an Infrastructure Process

Infrastructure Process Lifecycle

In the lifecycle, a new process is created in a Pending status, which allows editing, duplicating or deleting of the Infrastructure Process record.

New processes are created in a Pending status. While in this status the Infrastructure Process record can be modified, deleted or duplicated.

Note: Once an Infrastructure Process record is created, its type cannot be changed. To change the type, you can delete the process that was created with the wrong type (if it is still in Pending status) and create a new process with the correct type.

Use the Start action, on the maintenance portal to begin the process execution. The process status will change to In Progress.

Note: While the Infrastructure Process is in Pending status, the steps will not have a status or any available actions. When the process transitions to In Progress status the process step records are created. From that point on they have a status and actions according to the step that and status.

While the process is In Progress the steps of the process will execute one by one according to their sequence. The process can be stopped using the Stop action. In this case the current step that is in progress will continue but the next step will not be executed. If any of the steps fail, the process will also transition into Stopped status and will not execute the next step.

When the process is in Stopped status it can be resumed by selecting the Resume action, or it can be cancelled by selecting the Cancel action.

Infrastructure Process Step Lifecycle

In the lifecycle, process steps are created in Pending status and transition to the In Progress status by the process logic. Steps that are in the In Progress status can transition to the Complete, Failed or Skipped status.

A process steps is created in Pending status and is transitioned to In Progress by the process logic when its turn to execute arrives.

When a step is In Progress, the following transitions are possible:

  • Transition the step into Completed status upon successful completion of the step’s work or by selecting the Complete action.

  • Transition the step into Failed status when an error was detected during the step’s work or by selecting the Fail action.

  • Steps may include logic that will transition the step into Skipped status if that logic determines that the step should not be executed.

When the step is In Progress, selecting the Job Status action will display information about the job running status (if it is a batch job type of step).

Note: Manually changing the step status to Completed or Failed while the step is In Progress should be carefully considered. This should only be done when step stays In Progress status for a long time and upon investigation it is clear that some manual intervention is required.

When a step is in Failed status it is still possible to manually transition the step into Completed status.

Note: Transitioning the step from Failed to Completed status should only be done if it is clear that the step was able to successfully accomplish its task. This will likely be established after some investigation.