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

Change state activity scratchpad entries

Change state activity scratchpad entries

The activity writes this data to the workflow scratchpad.

Variable Description
instances An array of instance objects. Each object contains:
  • instance_id: the VM ID.
  • instance_state: an EC2 status code:
    • 0: Pending
    • 16: Running
    • 32: Shutting down
    • 48: Terminated
    • 64: Stopping
    • 80: Stopped
  • instance_xml: the raw XML returned by Amazon.