Fx.global: the api of the function stage related to global variables
1. Find global variable value
Fx.global.findByApiName(<String apiName>)
Parameter Description
| parameter | type | description |
| ------------ | ------------ | ----------------------- ----------------------------------------- |
| apiName | String | apiName of the global variable |
return type
APIResult
Return value description
Map (returns global variable value)
Java example
APIResult result = Fx.global.findByApiName("var_zx9ua__g");
Fx.log.info(result);
Groovy example
def (Boolean error,String result,String errorMessage) = Fx.global.findByApiName("var_zx9ua__g")
Fx.log.info(result)