fix workflow app bugs

This commit is contained in:
takatost
2024-03-08 18:37:08 +08:00
parent 1a0b6adc2c
commit c152d55f68
7 changed files with 79 additions and 43 deletions

View File

@ -143,7 +143,7 @@ class Workflow(db.Model):
return []
# get user_input_form from start node
return start_node.get('variables', [])
return start_node.get('data', {}).get('variables', [])
class WorkflowRunTriggeredFrom(Enum):