Help Topics Concepts Package Class

## JavaScript Agent Properties and Use

### Properties

The JavaScript Agent panel provides these options:

Init Script
  Enter the name of script to be run when the agent is initialized.
Process Script
  Enter the name of script to be run when the agent is processed.
ProcessTimer Script
  Enter the name of script to be run when the timer of an agent using timer processing expires.

### Use

The JavaScript Agent panel is used to generate an agent referencing JavaScripts for generic processing. JavaScripts may create, load, or process other beans or rulesets.

Steps in using the panel include:

1. Enter the names of the JavaScript files for init, process, and process timer.
2. Press the Generate Beans button to create JavaScript strings from those file(s).