Assign a script to an event

You can assign scripts to events generated by the Streaming and Distribution components and to accounting events that can be generated by several components.

  1. For component events, open the process with the component and select the component.

    For accounting events, on the Administration tab, click System Administration and click the system object.

  2. In the Object Inspector pane, in the Action section, click the event property and click the ellipsis button.
  3. In the Select an object dialog, select the preferred script and click Select.

    Only scripts with the appropriate context are available for selection.

  4. In the Object Inspector pane, double-click an event to open the assigned script. If you double-click an event with an empty event property, the Create New Script dialog appears. The script automatically receives the context that fits.

You can also assign scripts to process designer blocks and components.