--- title: Define the scripted variables description: Define data for the scripted variables using the Template Configurations module for creating a report template in the BCM application. You can configure the data in either text or HTML format. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/governance-risk-compliance/create-scripted-vari-for-temp-config.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Set up the template configurations, Generating reports using Document designer, Configure, Business Continuity Management, Governance, Risk, and Compliance] --- # Define the scripted variables Define data for the scripted variables using the Template Configurations module for creating a report template in the BCM application. You can configure the data in either text or HTML format. ## Before you begin Role required: sn\_grc\_doc\_design.admin and sn\_bcm.admin ## Procedure 1. Navigate to **All** > **Business Continuity** > **General Administration** > **Template Configurations**. 2. Open the template for which you want to create scripted variables. The Scripted variables related list is shown. \[Omitted image "temp-config-scri-var-rel-list.png"\] Alt text: Scripted variables related list. 3. In the Scripted variables related list, select **New** to create a scripted variable. The Scripted variable new record is shown. \[Omitted image "temp-config-scri-var-rel-list-new-record.png"\] Alt text: Scripted variable new record. 4. On the form, add the name, type, and the custom script for the scripted variable. 5. Select **Submit**. The Scripted variables for the template, such as Asset dependencies and Attachments, are shown in the example. \[Omitted image "scripted-varia-rel-list-template-config.png"\] Alt text: Scripted variables related list. 6. To edit an existing scripted variable, select it from the related list, make the changes, and select **Update**.