Skip to content

Conversation

@rodriquelca
Copy link
Contributor

@rodriquelca rodriquelca commented Sep 24, 2025

Issue & Reproduction Steps

The parent request is storing the following information in the ERRORS column in the process_requests:

[{"body": " 'errors' =>\n array (\n 0 =>\n array (\n 'message' => 'Server Error',\n ),\n ),\n) in /opt/executor/script.php:5\nStack trace:\n#0 /opt/executor/bootstrap.php(45): require()\n#1 {main}\n thrown in...

The parent requests affected by this behavior show as ACTIVE, but they got stuck in the time event and this is because it is the next step to happen after the boundary error event is activated.

Solution

  • Create findInstanceWithRetry to find ProcessRequest with retry logic to handle race conditions

How to Test

plase see the related ticket

[## Related Tickets & Packages

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.

ci:deploy
ci:package-actions-by-email:bugfix/FOUR-26568

.

@rodriquelca rodriquelca requested a review from caleeli September 24, 2025 13:58
@processmaker-sonarqube
Copy link

@vladyrichter
Copy link

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

1 similar comment
@vladyrichter
Copy link

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

@nolanpro nolanpro merged commit d9995af into develop Oct 30, 2025
15 of 18 checks passed
@nolanpro nolanpro deleted the bugfix/FOUR-26568 branch October 30, 2025 21:07
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.

5 participants