#275 Approval workflow uses wait_for_event instead of tools.approval.request

closed high Created 2025-12-06 02:34 · Updated 2025-12-06 02:36

Description

Edit
The rodmena tenant's approval_workflow (definition_id=c94fd435) uses DSL's wait_for_event operator directly instead of tools.approval.request tool. This means no record is created in human_approvals table, so the /api/v1/approvals endpoint returns empty list. User reported workflow c94fd435 waiting for approval but nothing showed in API. Fixed by emitting event manually via absurd.emit_event(). Need to either: 1) Update workflow definition to use tools.approval.request, or 2) Document that wait_for_event is low-level and requires manual event emission

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...