User-Defined Action

In addition to the 'Report' and 'Burst' actions, 'User Defined' actions can also be specified for a scheduled task. Using a 'User Defined' Action involves the following steps:

Create a class which implements 'inetsoft.sree.schedule.UserAction', or extends 'inetsoft.sree.schedule.DefaultUserAction'.

Add this class to the CLASSPATH of the scheduler.

Select 'User Defined' as the action type in the task.

Specify the action's fully qualified class name in the Action tab of the task definition.

For ease of use, you can add a line to sree.properties that sets replet.viewer.schedule.actions to a comma-separated list of classes. This will populate a drop-down menu that will set the correct class. When selected, the parameter table will also be populated with the available parameters and default values. See Configuring the Scheduler to register a reusable user-defined action.

<< Burst Action © 1996-2013 InetSoft Technology Corporation (v11.5) Specifying Multiple Actions >>