We have some workflows where we use Survey123 to submit and then edit a record, where different QA managers or similar update information about the submission in dedicated forms for their step of the workflow. To be clear, all forms in the workflow edit the same record from the same feature layer.
We have been using the Username field type in all of these forms to track who the "last submitted user". We do this because we have code that touches the record/data very quickly after form submission (webhook) and cannot rely on the last edited user to see who that user was.
For some time, this has been very reliable and every time a user submits a form in each step of the workflow, their username is populated correctly.
Just recently, seemingly about mid-December 2020, this is no longer working as it used to. Instead, the Username is not updating after the initial form submission. Meaning, we capture the username of the original submitter just fine, but each of the subsequent forms that submit/edit this record do not update this field and we just see that original submitter in the data. It's as if the Username field type does not update if there is already a value in there. I can confirm if I set the value to NULL then load the form, it will grab the username.
## Update ##
I did some additional testing and found that this bug occurring when I use the "version=latest" url parameter in the web form. The Survey is published in version 3.9. Setting the the version parameter to "version=3.9" gets rid of the bug...the username updates to the current user submitting the form.
We are using ArcGIS Enterprise 10.7.1
Any help would be greatly appreciated.
Thanks!
Mike