Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store

Add a resource script to a resource block

Add a resource script to a resource block

A resource script operates on a resource during deployment or returns data to the CMDB after a resource is deployed.

Before you begin

Role required: sn_cmp.cloud_service_designer


  1. Navigate to Cloud Management > Cloud Admin Portal > Design > Resource Blocks.
  2. Select the resource block and then select Draft on the Resource Blocks form:
  3. On the Resource Script tab, specify a unique and meaningful Name and then define the script:
    Script Script code.
    Type Type of script:
    • Instance Script: Javascript that performs an operation on the ServiceNow platform (for example, a workflow).
    • PowerShell Script
    • Python Script
    • Response Processor: Converts return data from the external cloud API to the operation implementation into a format that the CMDB can accept.
    • Shell Script
  4. Click Submit.
    Add as many as scripts as are needed.

This site is scheduled for a small content update on Tuesday, December 18th, between the hours of 4:00pm and 8:00pm Pacific Time (Dec 19 00:00 – Dec 19 4:00 UTC). Access to this site may be slightly delayed during that time.