I have 4 screens with different field types such as radio buttons, text fields. I am able to submit content using below funtion, however if I try to edit exisiting one, then it created new item in SPlist.
Below is the code I am currently using to save the content. How can I use if it is newform then save new item and if it is an exisiting item then update that item only instead of creating new item.
Patch(Employee,Defaults(Employee),Form1_2.LastSubmit,Form2_2.LastSubmit,Form3_1.LastSubmit,Form2_6.LastSubmit,
{
ManagerStatus:{Value:"Pending"}
}
);Navigate(fr_ManagerLandingscreen,ScreenTransition.None)
@RandyHayes @v-bacao-msft @yashv @yashag2255