getAffectsVersionSwappedToFromEvent

Availability

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

Syntax

getAffectsVersionSwappedToFromEvent()

Description

Retrieves a structure containing information about a version that has been deleted.

Return value

A JVersion value containing the component data.

Example

The following example shows how you can obtain a structure containing the version id, the version name, the version description, the project key of the version, the start date, the release date and if the version is archieved or released. 

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

See also