Hello Everyone,
My power app is based on two Sharepoint lists Submit form and Approve form.
When Users submit forms the form, the status (Choice field) is displayed as new, and can check their status of them.
Need to show them the comments based on approval/rejected status.
The comments should obviously be linked to the specific form but saved on a different list.
Submit Lists has the following columns:
ID, Title,category, Description, Status,Approver/Rejected comments etc....
Approve form has the following columns:
ID, Item Status(Choice field), Comments
Now, to give you an idea of the layout, I have two separate forms, Submit form and approve form(where this form inputs should be same as submitting a form) with reference ID is the field used at approver form.
Now my issue is when a form is submitted the status display is NEW---but when it is an approved form the Status should be displayed as pending. Once the Approver --Approves/reject the status should get updated as approved or rejected and the comments given should get reflected in the submit form.
I have tried Something Using this way, don't know it's the correct way in power app.
To try i have created a test Screen and test form --with Title and Status(Choice field)...Now When a user created a record at that time the status field Should be New...ON Click of Submit button --the Status value should get changed to pending approval.

This is the formula previously I have used on DatacardValue of the status field on DefaultSelectedItems--property. The value of the status field was displaying as NEW but didn't get changed and didn't get updated in the SharePoint list.
If(
SubmitForm1.Mode = New,
LookUp(
Choices(SubmitList.Status),
Value = "New"
),
Parent.Default
)
Then I have Used an alternative way for where the status field value is getting changed in powerapp but not in sharepoint list
On DefaultSelectedItems property -Var2 is variable created, On Status Datacard value.
On Select Property Of Save Button --
Set(
Var2,
Filter(
Choices(SubmitList.Status),
Value = "Pending Approval"
));
On Click Of Approve/Reject button --it's changing the status value in power app but not getting updated in SharePoint


Can anyone help me out or suggest the one I'm using is the correct one or else any other way is applicable.
Any Help is very much appreciated. Thank you in Advance.