If you would like a policy to execute a task that is not provided by a built-in action, you can create a custom action to perform the work. For example, a custom action can consist of a Java class or a Groovy script that performs the required task, such as running a test, creating a required attribute or logging an entry in an external database. You can insert custom actions into a policy just like you would insert a built-in action.
The content is organized under the following sections:
![]() |
Planning to Create Custom Actions | Provides an overview of planning for a custom action. |
![]() |
About Action Categories | Discusses the CentraSite system action categories and custom action categories. |
![]() |
About Action Templates | Describes the contents of the action templates. |
![]() |
About Parameter Templates | Describes the contents of the parameter templates. |
![]() |
Who Can Create and Manage Action Categories or Templates? | Describes the who can create and manage action categories or templates. |
![]() |
Viewing the Action Categories List | Describes how to view the list of action categories in CentraSite. |
![]() |
Adding Custom Actions Using CentraSite's UI | Describes how to create custom actions using CentraSite's UI. |
![]() |
Adding Custom Actions Using APIs | Describes how to create custom actions using APIs. |
![]() |
Viewing or Editing Action Categories or Templates | Describes how to view or edit action categories and templates. |
![]() |
Downloading Rules from System Action Templates | Describes how to download rules from the system action templates. |
![]() |
Deleting Custom Action Categories and Templates | Describes how to delete action categories and templates. |
![]() |
Versioning a Custom Action | Describes how to create new versions of a custom action. |
![]() |
Javadoc: policyAPI | Contains an overview of the policy API. |
![]() |
Sample Custom Actions | Describes the sample custom actions that are provided in your CentraSite installation. One action contains a Java class rule, and the other contains a Groovy script rule. |