Product documentation Docs
    • English
    • Deutsch
    • 日本語
    • 한국어
    • Français
  • More Sites
    • Now Community
    • Developer Site
    • Knowledge Base
    • Product Information
    • ServiceNow.com
    • Training
    • Customer Success Center
    • ServiceNow Support Videos
  • Log in

Product documentation

  • Home
How search works:
  • Punctuation and capital letters are ignored
  • Special characters like underscores (_) are removed
  • Known synonyms are applied
  • The most relevant topics (based on weighting and matching to search terms) are listed first in search results
Topics are ranked in search results by how closely they match your search terms
  • A match on the entire phrase you typed
  • A match on part of the phrase you typed
  • A match on ALL of the terms in the phrase you typed
  • A match on ANY of the terms in the phrase you typed

Note: Matches in titles are always highly ranked.

  • Release version
    Table of Contents
    • DevOps
Table of Contents
Choose your release version
    Home New York DevOps DevOps DevOps Accelerating DevOps change

    Accelerating DevOps change

    • Save as PDF Selected topic Topic & subtopics All topics in contents
    • Unsubscribe Log in to subscribe to topics and get notified when content changes.
    • Share this page

    Accelerating DevOps change

    Enable the Change Acceleration feature of DevOps for automatic change request creation in your pipeline, and use change approval policies to automate approval under certain conditions.

    Note: ServiceNow Change Management must be installed for change acceleration.
    Enable and set up change control when you model your pipeline in DevOps:
    • Model an Azure pipeline in DevOps
    • Model a GitLab basic CI pipeline in DevOps
    • Model a Jenkins pipeline in DevOps

    You can view details for active change requests by navigating to DevOps > Orchestrate > Pipeline Change Requests.

    Change control process

    When change control is enabled for a job in your DevOps development pipeline, a change request is automatically created and set to Assess state to request approval for the execution of the current stage or job.

    Starting with version 1.20, pipeline steps can be configured to create change receipts, which do not pause the pipeline. Change receipts include all pipeline data, but do not require approval to proceed in the pipeline.

    Change requests can be approved automatically by configuring conditions in a change approval policy. The DevOps change approval policy (DevOps Change Policy) and workflow (Change Request - DevOps) are provided with the DevOps application.

    The difference in the DevOps workflow (Change Request - DevOps) from the Normal workflow (Change Request - Normal) is that the change approval policy in the DevOps workflow is the DevOps Change Policy instead of the Normal Change Policy and, therefore, does not use Technical approvals nor Risk approvals activities that are part of the Normal workflow.

    Once approved, either automatically or manually, change requests move to Implement state and the job is run. Once the job is run, the change request is moved to Closed with Close code as Successful on a successful job run, or Unsuccessful on error in the job run.

    If a change request is not approved and moved into canceled state or closed state, the associated Jenkins job is marked as failed and a console message is shown:

    [ServiceNow DevOps] Job was not approved for execution

    Automatic approval of change requests using Change Policy workflows

    You can enable automatic approval of DevOps changes using the Change Approval Policy workflow and the DevOps Change Policy workflow.

    Change Approval Policy workflow

    A change request is automatically approved for low risk changes, when calculated risk and impact are below threshold values (set on the Step form for the pipeline). The state is moved to Implement.

    When calculated risk and impact values are at or above threshold values, the normal change stays in the Assess state until approved.

    Note: If the Standard change template field on the Step form is set, and the calculated risk and impact are below threshold values, a standard change request is created. Otherwise the change is always normal.
    DevOps Change Policy workflow

    A change request is automatically approved when certain conditions in the DevOps auto approval cycle are met. The state is moved to Implement. DevOps Change Policy approval is useful for less critical changes that do not require manual approval.

    Change Approval Policy is mapped to DevOps Change Policy (instead of Normal Workflow Policy), and Risk Approvals is mapped to DevOps Change Policy.

    This policy is inactive by default.

    DevOps Demo Change Policy workflow

    Starting with version 1.14, when demo data is installed, Flow Designer  DevOps  Demo  Change Automation flow  is available where  normal type change requests can be auto-approved based on the decision policies. 

    As a part of demo data, the decision policies available are: 
    • Low risk auto approval policy, where the failed test value is zero  .
    • High risk manual approval policy, where the failed test value is greater than zero .

    See DevOps Demo Change Automation flow for more details.

    Custom change request templates

    Starting with version 1.14, when you configure change acceleration, you can select a custom template to populate fields automatically when creating the change request. In the ServiceNow DevOps step, set the change type as standard, normal, or emergency and select the custom template for the change.

    The type of change request corresponds to the change request table in global scope.

    DevOps Model Change Request flow

    Starting with version 1.14, customize the DevOps Model Change Request flow using a flow or a script.

    Once the change request is approved, rejected, or canceled, the state of the step execution can be updated by calling Flow Designer action Update the state of step execution table even before implementing the change request. If a change request is not approved, and moved into  canceled or rejected state, the associated job is marked as  canceled or failed and a console message is shown.

    Flow Designer action Update the state of step execution table serves as a trigger for Change Control Callback flow, which is used to notify the change decision to the orchestration tool. Hence, calling the Flow Designer action Update the state of step execution table is mandatory. 

    Automatic change request related lists

    For a change request automatically created by DevOps, the Category field is automatically set to DevOps, and these related lists are added:
    Commits
    Commits associated with the change request.
    Work Items
    Work items associated with the change request.
    Test Results (build test summaries), starting with version 1.13

    List of build test summaries for the tests run after the associated package was created and linked.

    If there is no package, or the change request is created before package creation, then the list of build test summaries includes tests that were run after any associated artifacts were created and linked.

    If no package or artifact versions are linked to the pipeline execution, then the list is empty.

    Artifact Versions, starting with version 1.13

    List of artifact versions associated to the package linked to pipeline execution for packages created before the change request is approved.

    If no package is linked to the pipeline execution, then the list is empty.

    Test Summaries (replaces Test Results related list), starting with version 1.15

    List of test summaries for a pipeline execution associated with an artifact, package, or task execution before the change request.

    See Test Results for more details.

    DevOps Change Related Lists
    Note: Implementation details from the orchestration tool are automatically added to the Work notes field on the change request form. Detail added to the work notes is limited to 5 KB of the task execution log for the step.

    Custom change request process

    These DevOps change properties are available to customize your change request flow.

    • DevOps change request implement state
    • DevOps change request post implement state
    • DevOps change request cancel state
    • DevOps change request approval text

    To customize your change request flow, you must first create a System Definition > Choice List. For example, DevOps_Implement (value - 10).

    Then, add the choice list to System Definition > Script Include > ChangeRequestStateHandlerSNC.

    Once you have created the choice list and added it to the script include, you can update DevOps change properties with the new choice list values. For example, DevOps change request implement state -10.

    DevOps Risk Condition

    You can use the DevOps risk and impact calculation based on committer risk score.

    This condition is inactive by default.

    Test Results related list

    Lists the tests that were run in a pipeline after a package was created. If no package was created, then the list includes the tests that were run after an artifact version was created.

    Scenarios:

    A package is created in the pipeline, but no artifact versions are registered.
    • If the change request is created in the package creation stage:

      No test results are displayed because a package is not yet linked to the pipeline execution.

    • If the change request is created in a stage after the package creation stage:

      Build test summaries include those associated with stages after the package creation stage, up to the change-controlled stage.

    Artifact versions are registered, but no package is created.
    • If the change request is created in the artifact version stage:

      No test results will be displayed, because no tests are associated until the task execution is completed.

    • If the change request is created in a stage after the artifact version stage:

      Build test summaries include those in the artifact version stage, as well as the stages afterward, up to the change-controlled stage.

    Both artifact versions and package are created in the pipeline.
    • If the change request is part of the stage after artifact version and package creation stages:

      Build test summaries include those associated with the package creation stage, as well as the stages afterward, up to the change-controlled stage.

    • If the change request is part of the package creation stage, and artifact versions are created as part of an earlier stage; or

      the change request is created in a stage (not package creation) after the artifact version stage, but before package creation stage; or

      the change request is part of the package creation stage and artifact versions are created as part of an earlier stage:

      Build test summaries include those associated with the artifact version stage, as well as stages afterward, up to the change-controlled stage.

    Pipeline executions view

    You can view pipeline activity by navigating to DevOps > Orchestrate > Pipeline Executions.

    DevOps pipeline execution
    • DevOps change acceleration for releases

      Starting with version 1.11, DevOps change acceleration for releases lets you view all commits and work items in the change request for the DevOps release when approving, rather than having commits spread across multiple task executions.

    • Using DevOps Model Change Request flow

      Starting with version 1.14, customize or recreate the DevOps Model Change Request flow based on your requirements using a flow or a script.

    Tags:

    Feedback
    On this page

    Previous topic

    Next topic

    • Contact Us
    • Careers
    • Terms of Use
    • Privacy Statement
    • Sitemap
    • © ServiceNow. All rights reserved.

    Release version
    Choose your release version

      Accelerating DevOps change

      • Save as PDF Selected topic Topic & subtopics All topics in contents
      • Unsubscribe Log in to subscribe to topics and get notified when content changes.
      • Share this page

      Accelerating DevOps change

      Enable the Change Acceleration feature of DevOps for automatic change request creation in your pipeline, and use change approval policies to automate approval under certain conditions.

      Note: ServiceNow Change Management must be installed for change acceleration.
      Enable and set up change control when you model your pipeline in DevOps:
      • Model an Azure pipeline in DevOps
      • Model a GitLab basic CI pipeline in DevOps
      • Model a Jenkins pipeline in DevOps

      You can view details for active change requests by navigating to DevOps > Orchestrate > Pipeline Change Requests.

      Change control process

      When change control is enabled for a job in your DevOps development pipeline, a change request is automatically created and set to Assess state to request approval for the execution of the current stage or job.

      Starting with version 1.20, pipeline steps can be configured to create change receipts, which do not pause the pipeline. Change receipts include all pipeline data, but do not require approval to proceed in the pipeline.

      Change requests can be approved automatically by configuring conditions in a change approval policy. The DevOps change approval policy (DevOps Change Policy) and workflow (Change Request - DevOps) are provided with the DevOps application.

      The difference in the DevOps workflow (Change Request - DevOps) from the Normal workflow (Change Request - Normal) is that the change approval policy in the DevOps workflow is the DevOps Change Policy instead of the Normal Change Policy and, therefore, does not use Technical approvals nor Risk approvals activities that are part of the Normal workflow.

      Once approved, either automatically or manually, change requests move to Implement state and the job is run. Once the job is run, the change request is moved to Closed with Close code as Successful on a successful job run, or Unsuccessful on error in the job run.

      If a change request is not approved and moved into canceled state or closed state, the associated Jenkins job is marked as failed and a console message is shown:

      [ServiceNow DevOps] Job was not approved for execution

      Automatic approval of change requests using Change Policy workflows

      You can enable automatic approval of DevOps changes using the Change Approval Policy workflow and the DevOps Change Policy workflow.

      Change Approval Policy workflow

      A change request is automatically approved for low risk changes, when calculated risk and impact are below threshold values (set on the Step form for the pipeline). The state is moved to Implement.

      When calculated risk and impact values are at or above threshold values, the normal change stays in the Assess state until approved.

      Note: If the Standard change template field on the Step form is set, and the calculated risk and impact are below threshold values, a standard change request is created. Otherwise the change is always normal.
      DevOps Change Policy workflow

      A change request is automatically approved when certain conditions in the DevOps auto approval cycle are met. The state is moved to Implement. DevOps Change Policy approval is useful for less critical changes that do not require manual approval.

      Change Approval Policy is mapped to DevOps Change Policy (instead of Normal Workflow Policy), and Risk Approvals is mapped to DevOps Change Policy.

      This policy is inactive by default.

      DevOps Demo Change Policy workflow

      Starting with version 1.14, when demo data is installed, Flow Designer  DevOps  Demo  Change Automation flow  is available where  normal type change requests can be auto-approved based on the decision policies. 

      As a part of demo data, the decision policies available are: 
      • Low risk auto approval policy, where the failed test value is zero  .
      • High risk manual approval policy, where the failed test value is greater than zero .

      See DevOps Demo Change Automation flow for more details.

      Custom change request templates

      Starting with version 1.14, when you configure change acceleration, you can select a custom template to populate fields automatically when creating the change request. In the ServiceNow DevOps step, set the change type as standard, normal, or emergency and select the custom template for the change.

      The type of change request corresponds to the change request table in global scope.

      DevOps Model Change Request flow

      Starting with version 1.14, customize the DevOps Model Change Request flow using a flow or a script.

      Once the change request is approved, rejected, or canceled, the state of the step execution can be updated by calling Flow Designer action Update the state of step execution table even before implementing the change request. If a change request is not approved, and moved into  canceled or rejected state, the associated job is marked as  canceled or failed and a console message is shown.

      Flow Designer action Update the state of step execution table serves as a trigger for Change Control Callback flow, which is used to notify the change decision to the orchestration tool. Hence, calling the Flow Designer action Update the state of step execution table is mandatory. 

      Automatic change request related lists

      For a change request automatically created by DevOps, the Category field is automatically set to DevOps, and these related lists are added:
      Commits
      Commits associated with the change request.
      Work Items
      Work items associated with the change request.
      Test Results (build test summaries), starting with version 1.13

      List of build test summaries for the tests run after the associated package was created and linked.

      If there is no package, or the change request is created before package creation, then the list of build test summaries includes tests that were run after any associated artifacts were created and linked.

      If no package or artifact versions are linked to the pipeline execution, then the list is empty.

      Artifact Versions, starting with version 1.13

      List of artifact versions associated to the package linked to pipeline execution for packages created before the change request is approved.

      If no package is linked to the pipeline execution, then the list is empty.

      Test Summaries (replaces Test Results related list), starting with version 1.15

      List of test summaries for a pipeline execution associated with an artifact, package, or task execution before the change request.

      See Test Results for more details.

      DevOps Change Related Lists
      Note: Implementation details from the orchestration tool are automatically added to the Work notes field on the change request form. Detail added to the work notes is limited to 5 KB of the task execution log for the step.

      Custom change request process

      These DevOps change properties are available to customize your change request flow.

      • DevOps change request implement state
      • DevOps change request post implement state
      • DevOps change request cancel state
      • DevOps change request approval text

      To customize your change request flow, you must first create a System Definition > Choice List. For example, DevOps_Implement (value - 10).

      Then, add the choice list to System Definition > Script Include > ChangeRequestStateHandlerSNC.

      Once you have created the choice list and added it to the script include, you can update DevOps change properties with the new choice list values. For example, DevOps change request implement state -10.

      DevOps Risk Condition

      You can use the DevOps risk and impact calculation based on committer risk score.

      This condition is inactive by default.

      Test Results related list

      Lists the tests that were run in a pipeline after a package was created. If no package was created, then the list includes the tests that were run after an artifact version was created.

      Scenarios:

      A package is created in the pipeline, but no artifact versions are registered.
      • If the change request is created in the package creation stage:

        No test results are displayed because a package is not yet linked to the pipeline execution.

      • If the change request is created in a stage after the package creation stage:

        Build test summaries include those associated with stages after the package creation stage, up to the change-controlled stage.

      Artifact versions are registered, but no package is created.
      • If the change request is created in the artifact version stage:

        No test results will be displayed, because no tests are associated until the task execution is completed.

      • If the change request is created in a stage after the artifact version stage:

        Build test summaries include those in the artifact version stage, as well as the stages afterward, up to the change-controlled stage.

      Both artifact versions and package are created in the pipeline.
      • If the change request is part of the stage after artifact version and package creation stages:

        Build test summaries include those associated with the package creation stage, as well as the stages afterward, up to the change-controlled stage.

      • If the change request is part of the package creation stage, and artifact versions are created as part of an earlier stage; or

        the change request is created in a stage (not package creation) after the artifact version stage, but before package creation stage; or

        the change request is part of the package creation stage and artifact versions are created as part of an earlier stage:

        Build test summaries include those associated with the artifact version stage, as well as stages afterward, up to the change-controlled stage.

      Pipeline executions view

      You can view pipeline activity by navigating to DevOps > Orchestrate > Pipeline Executions.

      DevOps pipeline execution
      • DevOps change acceleration for releases

        Starting with version 1.11, DevOps change acceleration for releases lets you view all commits and work items in the change request for the DevOps release when approving, rather than having commits spread across multiple task executions.

      • Using DevOps Model Change Request flow

        Starting with version 1.14, customize or recreate the DevOps Model Change Request flow based on your requirements using a flow or a script.

      Tags:

      Feedback

          Share this page

          Got it! Feel free to add a comment
          To share your product suggestions, visit the Idea Portal.
          Please let us know how to improve this content

          Check any that apply

          To share your product suggestions, visit the Idea Portal.
          Confirm

          We were unable to find "Coaching" in Jakarta. Would you like to search instead?

          No Yes
          • Contact Us
          • Careers
          • Terms of Use
          • Privacy Statement
          • Sitemap
          • © ServiceNow. All rights reserved.

          Subscribe Subscribed Unsubscribe Last updated: Tags: January February March April May June July August September October November December No Results Found Versions Search preferences successfully updated My release version successfully updated My release version successfully deleted An error has occurred. Please try again later. You have been unsubscribed from all topics. You are now subscribed to and will receive notifications if any changes are made to this page. You have been unsubscribed from this content Thank you for your feedback. Form temporarily unavailable. Please try again or contact  docfeedback@servicenow.com  to submit your comments. The topic you requested does not exist in the release. You were redirected to a related topic instead. The available release versions for this topic are listed There is no specific version for this documentation. Explore products Click to go to the page. Release notes and upgrades Click to open the dropdown menu. Delete Remove No selected version Reset This field is required You are already subscribed to this topic Attach screenshot The file you uploaded exceeds the allowed file size of 20MB. Please try again with a smaller file. Please complete the reCAPTCHA step to attach a screenshot
          Log in to personalize your search results and subscribe to topics
          No, thanks Login