Workflow Execution Service API Script Automation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional workflow execution systems face challenges in executing complex, automated series of workflows due to limitations in graphical user interfaces (GUIs) and the instability and lack of persistence in external client computers used for API scripting, which can lead to difficulties in troubleshooting, user error, and incomplete data processing.
Innovation Solution
Incorporating an API script directly into a workflow execution service, allowing it to instruct itself to perform complex analyses, while enabling GUI or CLI initiation and monitoring, thereby providing programmatic access and automation with server-side execution and control, and improving reproducibility and troubleshooting.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Extent of automation
If API scripting is executed on external client computers, then programmatic access and automation capabilities are improved, but system stability and persistence deteriorate
Solution Approach 1:
The patent merges the API scripting capability with the workflow execution service by embedding the API script directly into the service infrastructure. This combination allows the system to maintain programmatic automation capabilities while eliminating the instability of external client execution, as the script now runs within the controlled, persistent service environment rather than on volatile external machines.
Solution Approach 2:
The patent introduces an intermediary layer where the API script is stored and executed within the workflow execution service itself, acting as a mediator between the user's automation needs and the workflow execution infrastructure. This intermediary placement ensures that scripting capabilities are integrated into the stable service environment while maintaining programmatic access.
2Extent of automation
If API scripting is executed on external client computers, then programmatic access and automation capabilities are improved, but troubleshooting difficulty worsens
Solution Approach 1:
The patent implements feedback mechanisms by integrating the API script execution within the workflow execution service, which provides centralized logging, monitoring, and error reporting. This feedback infrastructure allows detailed tracking of script execution, making troubleshooting significantly easier compared to external client execution where logs and diagnostics are scattered across user machines.
3Ease of operation
If GUI is used for workflow execution, then ease of operation is improved, but programmatic access and automation capabilities deteriorate
Solution Approach 1:
The patent applies universality by designing the workflow execution service to support multiple interaction modes simultaneously - GUI-based operations for ease of use and API-based scripting for automation. The service is built to accept both graphical interface commands and programmatic API calls, allowing users to choose their preferred interaction method while maintaining full functionality in both modes.
Data Source
AI summary
Some embodiments relate to systems for processing one or more computational workflows. In one embodiment, a description of a computational comprises a plurality of applications, in which applications are represented as nodes and edges connect the nodes indicate the flow of data elements between applications. A task execution module is configured to create and execute tasks. An application programming interface (API) is in communication with the task execution module and comprises a plurality of function calls for controlling at least one function of the task execution module. An API script includes instructions to the API to create and execute a plurality of tasks corresponding to the execution of the computational workflow for a plurality of samples. A graphical user interface (GUI) is in communication with the task execution module and configured to receive input from an end user to initiate execution of the API script.


