Hi all,
I am using the Patch default command to create a new record in SharePoint List. I then set a global variable to obtain the last Sharepoint list generated unique ID:
i.e. Set(RecordIDNo, Last( SharePointList ).ID); which works every time to get the ID record.
However, recently i went to delete the old records and create a new record using the same method and it returned the previous item ID instead of the new record ID. I went to create another record after that and then it return the right ID subsequently.
May I know how can this error be resolved ? Thank you .