Custom Policy Actions
You can use a policy to execute a task that is not provided by a built-in action by creating a custom action. For example, a custom action can consist of a Java class 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.
Creating a custom action consists of the following high-level steps:
1. Create a custom action category to associate the action.
2. Create an action template to specify the scope of objects and events to which the action applies.
3. Specify the location of your custom action rule to be used in a design or change time policy for an action template.
4. Add parameter templates to define the parameters that serve as input parameters to the action.
You can create action categories, action templates, and action rules using Java programs. You then upload the rules scripts to action templates using JAXR-based calls in the action templates.
To create and manage action templates for design/change-time policies, you must belong to a role that includes the Manage System-wide Design/Change-Time Policies permission. By default, the following predefined roles include the Manage System-wide Design/Change-Time Policies permission:
CentraSite Administrator
Asset Type Administrator
Operations Administrator