I'm creating a record in PowerApps and saving it to Sharepiont List with Patch() function:
Now I want to get ID of the new item that is created in Sharepoint list and pass it to worflow.
Does anyone knows how do I get the last item ID from sharepoint list back to PowerApps?
Thanks a lot
Solved! Go to Solution.
If you can consider using a SubmitForm function instead of a Patch, you can use the LastSubmit property of a form.
EditForm1.LastSubmit.ID will return the ID of item you've just created.