--- title: Create and run a scripted risk indicator in the Risk Workspace description: Create and run a scripted risk indicator to identify the possibility of a future adverse impact on your organization. A scripted indicator enables you to write your own script to run the indicators. Indicators are an early warning system and they enable you to take preventative action on the risks. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/governance-risk-compliance/grc-risk-management-workspace/create-a-scripted-indicator.html release: australia product: GRC: Risk Management Workspace classification: grc-risk-management-workspace topic_type: task last_updated: "2026-03-12" reading_time_minutes: 3 breadcrumb: [Use Risk Workspace, Risk Management, Governance, Risk, and Compliance] --- # Create and run a scripted risk indicator in the Risk Workspace Create and run a scripted risk indicator to identify the possibility of a future adverse impact on your organization. A scripted indicator enables you to write your own script to run the indicators. Indicators are an early warning system and they enable you to take preventative action on the risks. ## Before you begin Role required: sn\_risk.manager or sn\_risk.admin ## Procedure 1. Navigate to **All** > **Risk** > **Risk Workspace** > **Indicators** > **Risk indicators**. 2. Click **New**. 3. On the form, fill in the fields.
Field Description
Category Category of the indicator. For example, select **Risk Indicator** to create a risk indicator.
Inherit from template Option to create the indicator from an existing template.
Template Template used to create the indicator. This field appears only if the **Inherit from template** option is selected.
Override template Option to override the template's properties such as the name of the indicator.
Name Name of the indicator. If you select a template in the **Template** field, then this field is automatically set to the template name.
Description Brief description of the indicator. This field is automatically set if you select a template in the **Template** field.
Entity Entity used to filter risks.
Applies to record Record that the entity applies to.
Risk Filtered risk that is related to the indicator.**Note:** If you have selected an indicator template, then the risk is also filtered based on the template.
Owning group Group that owns the indicator.
Owner Owner of the indicator. This field is automatically set to the owner's name based on the risk.
Method
Type Method used to determine the type of indicator. Select **Script**.1. To add your script, save the form and click **Add script**. 2. Click **Save**.
Target type Type of the target value. The choices are as follows:- **None**: Use this option if you do not want to set up any target or threshold for the indicator. - **Percentage**: Use this option to determine the indicator result by a percentage value. - **Count**: Use this option to determine the indicator result by a count value or total number.
Target Value that determines if the indicator succeeded \(passed\) or failed.
Schedule
Collection frequency Collection frequency for indicator results. Indicator tasks and results are generated automatically based on the indicator schedule.
First run date Date the indicator was first run.
Next run date Next collection time for indicator results. This field is automatically set based on the value in the **Collection frequency** field. You can also edit this field and change the date. **Note:** This field only gets updated based on the scheduled runs and not when the indicators are manually executed.
Results
Status Status of the indicator to show whether the indicator passed or failed.
Previous status Previous status of the indicator to show whether the indicator passed or failed.
4. To collect supporting data, save the form and click **Specify supporting data** and do the following: 1. In the **Source table** field, select the table used for collecting supporting data. 2. In the **Supporting data fields** field, select the fields of the source table that are used for collecting the supporting data. While specifying the supporting data fields, you cannot dot-walk in the Risk Workspace. 3. Click **Save** and reload the form. 5. Click **Execute**. The Indicator Results related list appears. 6. To see the results of the indicator, click the Indicator Results related list and do the following: 1. Click the result that you want to view. 2. To view the snapshot of the supporting data, click **View supporting data**. 3. To view a particular live record, click **View** for that record. Live records always open in the classic user interface and not in the Risk Workspace user interface. **Parent Topic:**[Using the Risk Workspace](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/governance-risk-compliance/grc-risk-management-workspace/using-risk-workspace.md)