Additional variable(s) defined below are specific to Script based plugins and are not available in Workflow editor and Shell based plugins.

Variable Name

Description

wfcontext

POJO object representing execution details.


Groovy and WLST scripts can invoke Java methods on variables supplied in environment. Here are the available methods for use by script based plugins. If method returns POJO object, other methods can be called to find specific value. For example, wfcontext.getCurrentInstance() returns Instance POJO, which provides additional methods like getInstance(), getName() and getCode() etc.


1 - available since 4.5.2 patch release 2/9/2018