Workflow Graph Q&A Nodes for Dynamic Execution Logic
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing workflow execution systems lack user control over execution logic, making it difficult for users to dynamically adjust the workflow based on user interactions.
Innovation Solution
Incorporating a question-and-answer node into the workflow graph, allowing configuration of target questions and actions based on user responses, enabling dynamic adjustment of workflow logic.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a fixed workflow execution system is used, then the workflow execution is simple and stable, but the system lacks user control and cannot dynamically adjust based on user interactions
Solution Approach 1:
The workflow is segmented into discrete nodes (question nodes, answer nodes, action nodes) that can be independently configured and connected. Each node represents a specific function or interaction point, allowing users to build complex workflows from simple, manageable components. This segmentation enables dynamic adjustment without overwhelming complexity.
Solution Approach 2:
The workflow system transitions from a fixed execution path to a dynamic structure where nodes can be added, removed, and reconfigured based on user interactions. The node connection graph allows the workflow logic to adapt dynamically during execution, enabling users to control the flow based on real-time inputs while maintaining an organized structure.
2Adaptability or versatility
If user interaction nodes are added to enable dynamic adjustment, then the workflow becomes adaptable and responsive, but the configuration complexity increases
Solution Approach 1:
The system provides pre-configured node templates (question nodes, answer nodes, action nodes) with standard functionalities. Users can quickly incorporate these pre-built components into their workflows without having to design each interaction from scratch. This preliminary preparation reduces configuration effort while maintaining dynamic adjustment capabilities.
Solution Approach 2:
The node connection graph serves as an intermediary layer between the user interface and the underlying workflow execution engine. It provides a visual, intuitive way to configure complex interaction logic by connecting nodes through edges, making the configuration process more accessible while preserving the adaptability of the system.
Data Source
AI summary
Embodiments of the disclosure relate to a method, apparatus, device, and storage medium for workflow creation. The provided method includes: in response to a received operation, adding a first node associated with a question-and-answer interaction to a node connected graph; obtaining configuration information for the first node via a set of input controls associated with the first node, the configuration information indicating: a target question to be provided in response to the first node being triggered, and a target action to be executed by the first node based on a response received for the target question; and creating a target workflow based on the node connected graph. In this way, the embodiments of the disclosure can support adding a question-and-answer node so as to obtain a response content for a particular question from users and trigger an action to be executed during execution of the workflow.


