Handle deleting of subflow context entries

pull/5071/head
Nick O'Leary 2025-03-03 16:10:43 +00:00
parent 2feb290ae3
commit 5ef2f9f0f3
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 5 additions and 1 deletions

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) {