Hello,
I added blank gallery to the canvas screen.Each row contain draft and submit buttons.
When user select draft button ,data save in sharepoint list once record saved in sharepoint list with status= draft and draft button hide and same record user onselect of submit button record saved in sharepoint list with status=saved.
I tried while user select submit button getting below error,
Patch('Time sheet','Add Gallery_5'.Selected,
{Status:"Submitted"}),
Remove(Addweekdy,ThisItem)

Thanks in advance for quick response....!!!