Analytics.Engine.invokeTERRFunction()

Signature

Object[] invokeTERRFunction(String engine, String functionName, Object... args)

Domain

ACTION

Description

Calls the Terr engine and returns the function results.

Parameters

NameTypeDescription
engineStringEngine Name
functionNameStringFunction Name
argsObject...Element of Object.. should be String if it is TERR variable name or object if within BE node. It should be null if function doesn't take arguments

Returns

TypeDescription
Object[]

Cautions

Boolean values are returned in int format since there are 3 types of R: TRUE(1), FALSE(0), NA(-1)This function should be used after the TERR function is made known to TERR using engineExecute()

Example

Analytics.Model.invokeTERRFunction("engine1", "testFunction", args);