lfRefreshScreen

Availability

This routine is available starting with

  • Power Scripts™ 2.5.5 (server)
  • 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