Skip to content

Conversation

@CarliPinell
Copy link
Contributor

@CarliPinell CarliPinell commented Dec 15, 2025

Solution

When process is created with Alternatives A and B, from now on when PM Block is created from Modeler with option "Save as PM Block", depending on whether we are on the Alternative A or B tab, the PM block is generated with the process of each alternative.

How to Test

  1. Log in
  2. Go to Designer
  3. Click on Process
  4. Create a new process
  5. Create a alternative A and B
  6. Save process. with Alternative A / B
  7. Create a Pmblcok with that process
  8. Open the Pmblock

Related Ticket

https://processmaker.atlassian.net/browse/FOUR-25060

ci:package-pm-blocks:bugfix/FOUR-25060
ci:deploy

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

Copy link
Contributor

@eiresendez eiresendez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to merge. The PR now sends the selected AB alternative from the modal and the controller fetches the matching BPMN version (defaulting to A), so PM blocks won’t default to alternative B anymore.

@sanjacornelius sanjacornelius requested review from PaolaPellegrini and removed request for mcraeteisha and sanjacornelius December 16, 2025 19:55
@vladyrichter
Copy link

QA server K8S was successfully deployed https://ci-4c571dd418.engk8s.processmaker.net

1 similar comment
@vladyrichter
Copy link

QA server K8S was successfully deployed https://ci-4c571dd418.engk8s.processmaker.net

@processmaker-sonarqube
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants