Write a processing activity script
Write custom scripts on the assessment templates to update the processing activity fields using a script. The script runs when the assessment response is completed. You can write multiple scripts for both screening assessments and impact assessments.
Before you begin
Role required: sn_privacy.developer
Procedure
-
Navigate to All > Privacy Management > Assessments > All Assessment Templates.
-
Open the assessment template for which you want to write the script.
-
Select the Processing activity script configurations related list.
-
Select New.
-
On the form, fill in the fields.
|
Field |
Description |
|---|---|
|
Name |
Name of the script. |
|
Assessment template |
Assessment template to use. This field is automatically set. |
|
Active |
Option to indicate if the script is active. An active script is executed when the assessment response is submitted and the processing activity is created.Note: Only one script can be marked as active at a time. |
|
Description |
Script description. |
|
Script |
Script to be used to update the processing activity. |
Parent Topic:Create a privacy assessment
--- title: Write a processing activity script description: Write custom scripts on the assessment templates to update the processing activity fields using a script. The script runs when the assessment response is completed. You can write multiple scripts for both screening assessments and impact assessments. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/governance-risk-compliance/privacy-workspace/configure-a-processing-activity-script.html release: australia product: Privacy Workspace classification: privacy-workspace topic_type: task last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Create a privacy assessment, Configure, Privacy Management, Governance, Risk, and Compliance] --- # Write a processing activity script Write custom scripts on the assessment templates to update the processing activity fields using a script. The script runs when the assessment response is completed. You can write multiple scripts for both screening assessments and impact assessments. ## Before you begin Role required: sn\_privacy.developer ## Procedure 1. Navigate to **All** > **Privacy Management** > **Assessments** > **All Assessment Templates**. 2. Open the assessment template for which you want to write the script. 3. Select the Processing activity script configurations related list. 4. Select **New**. 5. On the form, fill in the fields. <table id="table_qh3_fr1_ntb"><thead><tr><th> Field </th><th> Description </th></tr></thead><tbody><tr><td> Name </td><td> Name of the script. </td></tr><tr><td> Assessment template </td><td> Assessment template to use. This field is automatically set. </td></tr><tr><td> Active </td><td> Option to indicate if the script is active. An active script is executed when the assessment response is submitted and the processing activity is created.**Note:** Only one script can be marked as active at a time. </td></tr><tr><td> Description </td><td> Script description. </td></tr><tr><td> Script </td><td> Script to be used to update the processing activity. </td></tr></tbody> </table>6. Select **Submit**. **Parent Topic:**[Create a privacy assessment](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/governance-risk-compliance/privacy-workspace/create-assessment-template.md)
| title | Write a processing activity script |
| description | Write custom scripts on the assessment templates to update the processing activity fields using a script. The script runs when the assessment response is completed. You can write multiple scripts for both screening assessments and impact assessments. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/governance-risk-compliance/privacy-workspace/configure-a-processing-activity-script.html |
| release | australia |
| product | Privacy Workspace |
| classification | privacy-workspace |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Create a privacy assessmentConfigurePrivacy ManagementGovernanceRiskand Compliance |