getOldComponentFromEvent

Availability

This routine is available starting with Power Scripts™ 4.0.0 (server).

Syntax

getOldComponentFromEvent()

Description

Retrieves a structure containing information about a component that has been updated.

Return value

A JComponent value containing  component data.

Example

logPrint("INFO", "Result of listener: " + getOldComponentFromEvent());

The result is a structure containing component id, name of the component, its description, and the component lead.

See also