function getSetting(node, name, flow_) {
    if (node) {
        if (name === "NR_NODE_NAME") {
            return node.name;
        }
        if (name === "NR_NODE_ID") {
            return node.id;
        }
        if (name === "NR_NODE_PATH") {
            return node._path;
        }
    }
    var flow = (flow_ ? flow_ : (node ? node._flow : null));
    if (flow) {
        if (node && node.g) {
            const group = flow.getGroupNode(node.g);
            if (group) {
                return group.getSetting(name)
            }
        }
        return flow.getSetting(name);
    }
    return process.env[name];
}
Get value of environment variable.
@param {Node} node - accessing node
@param {String} name - name of variable
@return {String} value of env var