Anytime the data integration Flow is executed, the following global variables are set automatically:
-
request_tenant_name
: a tenant name. Empty if the Flow is executed under the main account. Read about tenants. -
request_user_name
: a name of the user.
As usual, you can access these global variables programmatically:
// props is a java.util.HashMap<String, String>
var props = com.toolsverse.config.SystemConfig.instance().getProperties();
// use the same key you stored in props.put(...)
var tenant = props.get("request_tenant_name");
var user = props.get("request_user_name");
You can also use them to parametrize Connections.
Comments
0 comments
Please sign in to leave a comment.