---
sourceDocument: Brazil IT Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/it-service-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# Execution sequence and waiting logic for rerun jobs

# Execution sequence and waiting logic for rerun jobs {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Execution sequence and waiting logic for rerun jobs

This document explains how ServiceNow DevOps manages execution sequences and waiting logic when rerunning jobs within Azure DevOps pipelines, focusing on behavior differences between first-time runs and rerun attempts.
It highlights key considerations related to change requests, stage processing, and artifact handling during reruns for both build and release pipelines.
Show full answer Show less  

## Existing and Upgrade Considerations

* **Change Requests:** Should not exist in stages containing parallel jobs, nor be the first job in multiple parallel stages.
* **Parallel Stages:** In release pipelines, parallel stages display and process as in Azure DevOps UI. In build pipelines, stages run in parallel but display serially.
* **Upgrade Behavior:** No functional changes occur on first pipeline runs post-upgrade; rerun stages and pipelines from before the upgrade are ignored. Customers should run new pipelines after upgrading to enable rerun functionality.

## Execution Sequence and Processing Logic

* **Artifact Registration:** Duplicate artifact version registrations during reruns are ignored; however, new packages linked to artifact versions are created on each rerun, and artifacts from the latest package appear on change requests.
* **Build Pipelines:** Rerunning a stage triggers reruns of subsequent stages sequentially as defined in Azure DevOps.
* **Waiting Logic:** If a rerun is triggered before completion of previous attempts, the new attempt waits until all previous events finish processing.
* **Release Pipelines:** Stages run in sequence only on the first attempt; reruns require manual triggering of each stage. From the second attempt onward, even parallel stages process sequentially.
* **Change Requests and Test/Quality Results:** When creating a new change request on rerun, only the latest test summary and software quality scan results are shown. When reusing an existing change request for reruns, results from each attempt are displayed individually.

## Practical Impact for ServiceNow Customers

Understanding this execution and waiting logic enables customers to effectively manage rerun strategies for build and release pipelines, ensuring accurate tracking of change requests, test results, and package versions. Customers should plan rerun actions knowing that parallelism behaves differently between build and release pipelines and that rerun attempts respect completion of prior runs to maintain data integrity and pipeline consistency.  
Processing sequence and waiting logic for rerun jobs are different when you reuse or
create a change request as part of a rerun job.

## Existing Considerations {#devops-rerun-waiting-logic__section_ukk_ppm_vqb}

* A change request should not exist in a stage which contains parallel jobs.
* If more than one stage is running in parallel, change request should not be the first job in both the stages.

{#devops-rerun-waiting-logic__ul_k4s_spm_vqb}  
Note:  
Parallel stages in release pipelines are processed and displayed in the pipeline UI as they occur in the Azure DevOps pipeline. Parallel stages in build pipelines are still processed in parallel but appear in a serial order in the pipeline UI.

## Upgrade Considerations {#devops-rerun-waiting-logic__section_vzp_v5m_vqb}

There is no change in the functionality or execution when you run the first pipeline attempt. All stages are processed sequentially and associated tests, software quality scans and change requests are executed and created as modeled.  
Note:  
* Run a new pipeline after you upgrade if you have rerun stages and pipelines before upgrading. Rerun attempts and failed events prior to the upgrade are ignored by ServiceNow DevOps for reattempts.
* If you have only run the pipeline once before upgrade, you can rerun the stage or the pipeline. The rerun functionality applies as designed and is saved in ServiceNow DevOps.
{#devops-rerun-waiting-logic__ul_vl2_kxm_vqb}

## Execution Sequence and processing logic {#devops-rerun-waiting-logic__section_es4_zvm_vqb}

* If the same artifact version registration call is received in reattempt, the registration call is ignored.
* Package registration calls with same package name are not ignored. A new package associated to artifact versions and pipeline execution is created during reattempt. The artifacts that are associated to the latest package, will be shown on the change request.
{#devops-rerun-waiting-logic__ul_izp_cwm_vqb}

From the Azure DevOps GUI, if you rerun a stage in a build pipeline the
subsequent stages reruns are also triggered in it's specified sequence. If you reattempt
processing a pipeline before all the stages of the previous attempt are not complete. The
subsequent attempt waits until all the events in the previous attempt are processed.

For release pipelines, the stages are run in the specified sequence only during the first
run. For subsequent rerun attempts manually run each stage.
In release pipelines even
if stages are running in parallel in Azure DevOps, from the second attempt onwards the
events are processed in the specified sequence.  
* When a new change request is created for a reattempt stage job, and the stage that you're reattempting includes a test and a software quality scan, only the latest Test Summary and Software Quality scan results display on the change request related list.
* When a change request is reused for a rerun stage job, the Test Summary and Software Quality scan results for each attempt displays in the change request related list.
{#devops-rerun-waiting-logic__ul_yg5_s1n_vqb}

