Skip to end of banner
Go to start of banner

lfRefreshScreen

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

« Previous Version 7 Current »

Availability

This routine is available starting with

  • Power Scripts 2.5.5
  • SIL Engine™ (former katl-commons) 2.5.8

Syntax

lfRefreshScreen();

Description

Performs a page reload.

Example

You can use this routine to refresh information on a view issue screen after performing an auto-transition when issue is viewed for the first time. In this example, the issue is created in the New status. When first accessed, it is auto-transitioned to the Open status and the page is refreshed by means of the lfRefreshScreen routine to reflect the updated info.

if(argv["screen"] == "view" && status == "New") {
   autotransition("Move to Open", key);
   lfRefreshScreen();
}

See also

  • No labels