--- 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-03-12" 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.
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.
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)