Handle deleting of subflow context entries

This commit is contained in:
Nick O'Leary
2025-03-03 16:10:43 +00:00
parent 2feb290ae3
commit 5ef2f9f0f3

View File

@@ -241,7 +241,11 @@ var api = module.exports = {
} else if (scope === 'node') {
var node = runtime.nodes.getNode(id);
if (node) {
ctx = node.context();
if (/^subflow:/.test(node.type)) {
ctx = runtime.nodes.getContext(node.id);
} else {
ctx = node.context();
}
}
}
if (ctx) {