---
sourceDocument: Xanadu ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/xanadu/servicenow-platform

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Run Script workflow activity

# Run Script workflow activity {#r_RunScriptActivity__tr1_nks_3x}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The Run Script activity runs the specified script in the scope of the workflow version.{#r_RunScriptActivity__run-script-shortdesc}
Note:  
All changes to `current` are automatically updated. There is no need to call current.update()

## Input variables

Input variables determine the initial behavior of the activity.
{#r_RunScriptActivity__table_dsp_l5l_sq__entry__2}

| Field | Description |
|-|-|
| Script | Script to execute. |
[Table 1. Run Script activity input variables]

{#r_RunScriptActivity__table_dsp_l5l_sq}

