You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Once a script has been evaluated, you can use the following ALH API to trace from where the script was called and access the Caller.
 

public NamedElement getCaller() {
...
}

It will return the Caller element of the script. For example, if a Behavior that runs a script is called from a callBehavior, you will get a callBehavior action as the Caller.