Creating a custom action consists of the following high-level steps:
Create a custom action category with which to associate the action.
Create an action template to specify the scope of objects and events to which the action applies.
For an action template to be used in a design or change time policy, you specify the location of your custom action rule, which fires when the action executes.
Add parameter templates to define the parameters that serve as input to the action.
There are two ways you can add custom actions:
You can use CentraSite Control to create action categories and action templates, as described in Adding Custom Actions Using CentraSite's UI. Then, you create action rules programmatically (as Java programs or Groovy scripts), which is described in Creating Action Rules. You upload the rules into action templates when you create the action templates, using CentraSite Control.
—OR—
You can create action categories, action templates and action rules programmatically, as described in the section Adding Custom Actions Using APIs. Then, you upload the rules (Java programs or Groovy scripts) into action templates using JAXR-based calls in the action templates.