---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Write and test policies

# How to write and test custom PaCE policies {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

This section provides guidelines on how to write and test PaCE policies.

You can write PaCE policies using JavaScript and create
the policy record within your instance application scope. PaCE policies can be executed within the scope in which
they are created and all functions available in this scope are available to the policy.

When a policy is invoked, a default set of parameters is passed and these parameters can be
used in the policy logic as required. A decision indicating whether the policy is compliant,
non-compliant, or compliant-exception and additional information is returned using the
decision object.

