Hi ,
I'm using a Power App form of single screen with functions
Onstart : Set(varFormmode,FormMode.New);Set(varitem,Blank());If(!IsBlank(Param("ID")),Set(varitem,LookUp('SAP - UAI',ID=Value(Param("ID"))));Set(varFormmode,FormMode.Edit))
Form Default Mode : VarFormmode
Form Item : Var item
OnSucess : Patch('SAP - UAI',First(Filter('SAP - UAI',ID=Form1.LastSubmit.ID)),{RD:Label1.Text});
If(varFormmode=FormMode.New,
'SAP-AUTOMATIONFLOW_1'.Run(Form1.LastSubmit.ID););
Notify("Your Submission has received",NotificationType.Success);ResetForm(Form1);
I've used this link in power automation to redirect the approver to the edit form mode in powerapps
<a href="https://apps.powerapps.com/play/2d50099c-fc38-4b95-8f1a-23289d33ebcb?tenantId=7ae9f7e7-41b8-4281-a3fd-be67c4f82de9&ID=@{outputs('Update_item')?['body/ID']}">Link to the form</a>
While clicking on the link the details of the user are autopoulated in the form but not been able to submit the form in the Powerapp form
Any help on this would be highly appreciated