Implement action execution in moqui_browse_screens
- Parse screen definition and find transitions directly - Execute transitions (service calls) instead of queuing actions - Handle action types: null (browse), submit (form), create, update, or named transition - For 'submit' action: pass parameters to screen render for form processing - For other actions: call service directly and return result - Add actionResult to browse response with status and service details - This bypasses CSRF/session limitations by executing transitions at service layer Enables models to actually trigger state changes via MCP instead of just queuing actions.
Showing
1 changed file
with
115 additions
and
7 deletions
-
Please register or sign in to post a comment