Add process_launchpad_id Property to Helper Process Request Data by sanjacornelius · Pull Request #6178 · ProcessMaker/processmaker
This PR adds a new property process_launchpad_id in the Helper Process request data object. This property will enable the PLG team to reference the process/launchpad id in which the re-run wizard helper process was initiated.
Solution
- Add
process_launchpad_idproperty to request data for Guided Template Helper Processes
How to Test
- Run a Guided Template helper process.
- Upon completion, select the 'Re-run wizard' link in the launchpad.
- Close the modal to cancel the request, go to 'Requests -> All Requests'.
- Locate the recently canceled request.
- View the summary tab.
- Ensure the property
process_launchpad_idis present. - In the URL, update the URL to navigate to
/processes-catalogue/[PROCESS_LAUNCHPAD_ID]. - Ensure the id corresponds to the correct launchpad.
Related Tickets & Packages
ci:next
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.