bugfix
This commit is contained in:
parent
7ac6d1d936
commit
d6289c8671
@ -310,11 +310,11 @@ where backid=${backid}$
|
|||||||
if ne.assignee is None:
|
if ne.assignee is None:
|
||||||
await self.auto_assign(sor, inst, ne, node)
|
await self.auto_assign(sor, inst, ne, node)
|
||||||
elif ntype == 'task':
|
elif ntype == 'task':
|
||||||
flg= self.is_ok_to_step_next(sor, node, edges, inst)
|
flg = await self.is_ok_to_step_next(sor, node, edges, inst)
|
||||||
if flg:
|
if flg:
|
||||||
await self.start_running(sor, inst, ne, node)
|
await self.start_running(sor, inst, ne, node)
|
||||||
elif ntype == 'subflow':
|
elif ntype == 'subflow':
|
||||||
flg= self.is_ok_to_step_next(sor, node, edges, inst)
|
flg = await self.is_ok_to_step_next(sor, node, edges, inst)
|
||||||
if flg:
|
if flg:
|
||||||
await self.start_subflow(sor, inst, ne, node)
|
await self.start_subflow(sor, inst, ne, node)
|
||||||
elif status in ['done', 'cancelled']:
|
elif status in ['done', 'cancelled']:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user