Repository navigation
Task/FOUR-34427: Create skill to optimize process and create an Alternative "B" of the process - #9177
Conversation
Add a tool to enable Alternative B and support selecting A or B when retrieving, validating, and updating process BPMN drafts.
PR SummaryMedium Risk Overview
Process server instructions and JSON schemas were extended accordingly; feature tests cover metadata-only updates, combined BPMN+metadata, permission gating, and the Alternative B enable/edit flow. Reviewed by Cursor Bugbot for commit 29f6f72. Bugbot is set up for automated code reviews on this repo. Configure here. |
Hydrate draft versions only when updating BPMN, and persist accompanying metadata without overwriting the published process definition. Add regression tests for metadata-only and combined updates.
Persist live metadata without triggering versioning behavior that deletes unpublished drafts, and hide draft or Alt B BPMN from users without edit permission. Add regression tests for draft preservation, category updates, and BPMN visibility.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 004190e. Configure here.
Keep view-only users on published BPMN when retrieving or validating processes, and avoid labeling alternative A's XML as B. Preserve updater attribution and clear the project-asset cache when persisting metadata.
|





Issue & Reproduction Steps
Introduce an end-to-end refactoring guide with delivery-mode approval, proposal and data-integrity gates, and coordinated asset updates. Link it from PM4 guidance and update skill-routing evaluations.
https://processmaker.atlassian.net/browse/FOUR-34427