Run background scripts using VS Code

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • Run scripts from your ServiceNow instance in VS Code using the ServiceNow Extensions for VS Code.

    시작하기 전에

    Role required: admin

    프로시저

    1. While writing the script in the VS Code IDE, select the script in the text file and right-click on the script.
    2. Select Run Background Script- Current or Run Background Script- Global from the context menu.
      The background scripts runner tab opens in VS Code and shows the location where the script is executed in the server.