Skip to end of banner
Go to start of banner

getOldVersionFromEvent

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Availability

This routine is available starting with Power Scripts 4.0.0.

Syntax

getOldVersionFromEvent()

Description

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

Return value

A JVersion value containing the version data.

Example

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

The result is a structure containing the version id, name, description, project key of the version, start and release dates, and information on whether the version is archieved or released. 

See also

  • No labels