This commit is contained in:
yumoqing 2026-03-16 16:36:14 +08:00
parent bb0a1d89e4
commit 1c11a995d7

View File

@ -260,7 +260,7 @@ where backid=${backid}$
elif ntype == 'subflow': elif ntype == 'subflow':
await self.try_start_subflow(sor, inst, ne, node) await self.try_start_subflow(sor, inst, ne, node)
elif ntype == 'start': elif ntype == 'start':
await self.node_transfer(sor, inst, ne, node, flow_def) await self.node_transfer(sor, dsl, inst, ne, node, flow_def)
await sor.U('node_execution', { await sor.U('node_execution', {
'id': ne.id, 'id': ne.id,
'status': 'completed' 'status': 'completed'
@ -278,7 +278,7 @@ where backid=${backid}$
}) })
break; break;
elif status in ['done', 'cancelled', 'failed']: elif status in ['done', 'cancelled', 'failed']:
await self.node_transfer(sor, inst, ne, node, flow_def) await self.node_transfer(sor, dsl, inst, ne, node, flow_def)
await sor.U('node_execution', { await sor.U('node_execution', {
'id': ne.id, 'id': ne.id,
'status': 'completed' 'status': 'completed'