So this is my very first PowerApp. It is using a SharePoint List as a datasource.
1. This PowerApp is a form which a user submits and sends it to flow for approval.
2. When the user opens the app, a unique ID is assigned to the user. The ID is calculated by Last ID in the datasource and increments it by 1.
For example, the SharePoint list has the last recorded ID "14"
User 'A' opened the app. The app calculated the ID to 15 and assigned it to the user.
User 'B' opened the app. The app calculated the ID to 15 and assigned it to the user.
None of them has patched the data into the source. But if the patched it, both of them would get the same id. I don't want this to happen.
Is there anyway I can handle this?
Thank you