03 May 2023
Link to this post
On the first two forms of my form flow, it passes the primary key from the record created on the first form without issue, but when creating a child record on the third form, the next form loads with a completely different primary key that can't be found in our database. This only happens on creation, when editing the form the cdm_permitapplicationid usually stays the same. If I use the navigation to skip that node, it keeps the same cdm_permitapplicationid also.
Example:
Forms 1-3 URL
/brs/brownfields-application?nodeid=6b9EbDUVk9&cdm_permitapplicationid=c8746dce-9532-cef0-90e6-ff8c89b86a32&cdm_environmentalinterest_0=47e54c4a-2f90-91cf-b1f0-2e7e7674fd88
4th Form URL (loads with different cdm_permitapplicationid, not found in our database)
/brs/brownfields-application?nodeid=EvqCJeWb3A&cdm_permitapplicationid=a2b2c175-91c5-4092-82ef-d43a125d1a31&cdm_environmentalinterest_0=47e54c4a-2f90-91cf-b1f0-2e7e7674fd88