Get the env config node from the parent subflow

This commit is contained in:
GogoVega 2024-11-15 14:30:47 +01:00
parent e48607c743
commit 6d6e6fa416
No known key found for this signature in database
GPG Key ID: E1E048B63AC5AC2B

View File

@ -113,6 +113,10 @@ async function evaluateEnvProperties(flow, env, credentials) {
resolve()
});
}))
} else if (type === "conf-type" && /^\${[^}]+}$/.test(value)) {
// Get the config node from the parent subflow
const name = value.substring(2, value.length - 1);
value = flow.getSetting(name);
} else {
try {
value = redUtil.evaluateNodeProperty(value, type, {_flow: flow}, null, null);