---
title: Script variables
description: The variables available to a script depend on several factors:
component: pingoneaic
page_id: pingoneaic:idm-scripting:script-vars
canonical_url: https://docs.pingidentity.com/pingoneaic/idm-scripting/script-vars.html
---

# Script variables

|   |                                                                                                                          |
| - | ------------------------------------------------------------------------------------------------------------------------ |
|   | For more information about the variables available in script triggers, refer to [Script triggers](script-triggers.html). |

The variables available to a script depend on several factors:

* The trigger that launches the script.

* The configuration file in which that trigger is defined.

* The object type:

  * For objects defined in the managed object configuration *(tooltip: You can edit the managed object configuration over REST at the config/managed endpoint.)*, the object type is a managed object or a managed object property.

  * For objects defined in the mapping configuration *(tooltip: You can manage the mapping configuration over REST at the config/sync endpoint.)*, the object can be an object-mapping object, a property object, or a policy object. For more information, refer to [Policy Objects](../idm-synchronization/synchronization-ref.html#sync-policy-objects)).

The following subtopics list the variables available to scripts, based on the configuration file in which the trigger is defined.
