Hi everyone,
I am currently facing a blocking issue with Survey123 regarding ID management when creating related records via a begin repeat.
My Architecture:
Environment: ArcGIS Enterprise Portal with an Enterprise Geodatabase (SDE).
Service: Referenced Feature Service (not hosted).
Structure: A "Line" layer (Parent) and a "Points" layer (Children, 1:M relationship).
Relationship Class: Based on the Line's GlobalID to a guid_globalid field (GUID data type) in the Points layer.
The Problem: When filling out a form using a begin repeat, Survey123 correctly links the children to the parent within the mobile app. However, upon submitting the data to the server, the IDs become out of sync:
The server (or SDE database) rejects the temporary ID generated by the app and creates a brand new definitive GlobalID for the parent Line (e.g., {AAAA-AAAA...}).
The issue is that the child Points retain the temporary ID initially generated by Survey123 (e.g., {BBBB-BBBB...}) in their guid_globalid field.
Result: The points become orphaned on the server and my relationship is broken, because the server changes the parent's ID without updating the foreign key of the related children.
Given that this is a referenced layer from an SDE database, would anyone have a workaround or solution for this conflict? Is there a specific setting I missed (on the ArcGIS Pro publishing side, Enterprise GDB configuration, or an option in Survey123 Connect) to force the relationship to be maintained?

Thanks in advance for your help and insights!