Add Human-in-the-Loop interrupt support for interactive workflows
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3571324. --> Reported by: [joevagyok](https://www.drupal.org/user/2876343) >>> <h3>Summary</h3> <p>Implement a comprehensive Human-in-the-Loop (HIL) system that enables workflows to pause execution and request user input before continuing. This feature is essential for building interactive workflows that require human decision-making, approval gates, or data collection during execution.</p> <h3>Business Value</h3> <ul> <li>Enables building approval workflows where human oversight is required at critical decision points</li> <li>Supports interactive chatbot and conversational AI use cases</li> <li>Allows workflows to collect additional information from users mid-execution</li> <li>Provides audit trail showing who responded to each interrupt and when</li> </ul> <h3>Features Implemented</h3> <ul> <li><strong>Confirmation Node:</strong> Simple Yes/No prompts for user decisions</li> <li><strong>Choice Input Node:</strong> Selection from multiple options (single or multi-select)</li> <li><strong>Text Input Node:</strong> Free-form text collection with validation</li> <li><strong>Form Input Node:</strong> JSON Schema-based forms for structured data collection</li> </ul> <h3>Technical Implementation</h3> <ul> <li>New <code>flowdrop_interrupt</code> module with persistent interrupt entity storage</li> <li>Exception-based interrupt handling working across all pipeline-based orchestrators</li> <li>RESTful API endpoints for listing, resolving, and canceling interrupts</li> <li>New job status "interrupted" with proper lifecycle transitions</li> <li>Full integration with FlowDrop Playground UI</li> </ul> <h3>Supported Orchestrators</h3> <ul> <li>Synchronous Pipeline Orchestrator</li> <li>Asynchronous Orchestrator</li> <li>StateGraph Orchestrator</li> </ul>
issue