Actions34
- Alert Actions
- Asset Actions
- Client Actions
- Requester Actions
- Ticket Actions
- Worklog Actions
Asset → Run Script
AI-generatedSummary
Executes a script on a specified asset in SuperOps.
Inputs
- assetId (required) — The ID of the asset on which the script will be executed.
- scriptId (required) — ID of the script to run on the asset.
- scriptArguments — Array of argument objects with
nameandvalueproperties, provided as JSON.
Output shape
a single record
Returns an object containing execution details including actionConfigId, script details, scriptArguments, and addedBy.
Examples
Example 1: Run a script on an asset without parameters
Set Asset ID to "987654321", Script ID to "12345", and leave Script Arguments as [].
Example 2: Run a script on an asset with arguments
Set Asset ID to "987654321", Script ID to "12345", and Script Arguments (JSON) to [{"name":"appName","value":"SuperOps.ai"}].