Create a policy through script
Use the ServiceNow platform native scripting mechanism to define the policy condition. You can externalize the decision making to script includes and reuse the code across different policies.
Before you begin
Role required: sn_itom_ccg.governor
Procedure
What to do next
Test the policy to make sure that it is working properly. For more information, see Test the policy.