FOUR-12579 data._parent.request_id the value is wrong by julceslauhub · Pull Request #5697 · ProcessMaker/processmaker

Issue & Reproduction Steps

Id related to parent request are storing the uuid instead the. numeric id.

Solution

  • Before store the data the parent request id is replaced by the correct value.

How to Test

Create a process that uses a sub-process and check the 'parent" values in data, specifically the request_id.

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 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.