Dear All,
I'm building a SharePoint List form based PowerApps. One of the operation is I need to delete specific list items and then patch new set of records right after that.
I'm doing it like below:
With(
{
wRecords:
Filter(
SPListName,
customID = DataCardValue31.Text
)
},
RemoveIf(
SPListName,
ID in wRecords.ID
)
);
Patch(SPListName,
UpdateIf(GlobalCollectionName,
Created=Blank(),
{ID:Blank()}
)
);
My issue is, sometimes it works but sometimes it just mixes records and before deleting all records goes patching records so final output is wrong. I want the program to wait till it finishes deleting the items and then only patch new set of records.
Could you please help. Any help will be appreciated.
Thanks,
Sanjay

Report
All responses (
Answers (