---
schema_version: "1"
id: ad38c9d18ca63a483f20d49663de2831b9f01eb651ef05991b83f13e69f7598c
title: Create the Script Structure (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_create_the_script_structure_1.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_create_the_script_structure_1.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e77d4931ac69e1513a17bebffeb25a513c2aa09a706ffee8f6fb9d000f62257b
description: For the managed package runtime, create the logic that executes when the script runs, by building a hierarchical structure of Actions and Steps.
products:
  - Omnistudio
release: "264"
---
# Create the Script Structure (Managed Package)

For the managed package runtime, create the logic that executes when the script runs, by building a hierarchical structure of Actions and Steps.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

Actions outside steps perform actions for the entire script, such as getting, posting, evaluating, and transforming data. Steps typically include Block, Input, and Display elements, but can also include Actions as buttons and Functions specific to the step. Each page of an Omniscript is called a Step and can contain Group elements, such as Blocks, Input elements, such as Checkboxes, Actions, such as Email Actions, and Functions, such as Formulas.

![image](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/omniscript_structure_diagram_may_2020_final.png)