I have my Mobile app which is a form and my data source is from sql server.
I have a few questions:
Let me explain what Ia m doing first.
So first screen in the App has 2 buttons : 1. Create new work, 2. Edit new work. I am working on custom edit form for creating a new work order and when I click submit it should go to the manager for approval and also update in sql table. I tried writing my patch() which worked fine for a few fields I selected and submitted and i could see the data is stored in sql table.( FYI- this is what I did so far)
Now,
1. I am not sure how to make this submit button work with flow in such a way that the manager can first approve and then the data should also be saved in the sql. Also once they submit I want the information to be cleared in the fields
2. To do editing to the already submitted form I created a new screen and inserted galary which has populated the forms I submitted for testing but I want to show only those forms that are belonged to that particular user.
3. When the user can see there forms and would like to edit something and resubmit it again I want my "Create form" (the first form) to be shown with all the information the user has submitted and also has the ability to add or remove anything they sbmitted already and resubmit for approval and add in database.
I have attached the pictures for better idea.
Can someone please help me with this.