i have created Sharepoint Form in powerapps, when user click on Submit button it should send mail to his manager for Approval of the record.
how to create the flow for this any idea?
Note : i have added 2 buttons in Form , when user select from one of the dropdown as Approval required then the flow button should visible & in other case if user select dropdown as Approval not Required - normal Submit button visible .
Normal Submit button no issue.
i need help on creation flow button for approval.
Hi @venky232 ,
You could create a flow like this:
The flow is triggered when the user clicks onthe button.
Hope this will help you.
Best Regards,
Wearsky
how to add choice column email address in to Input?
this below code not working any thing i need to add?
datacardvalue1.Selected.Email
Onselect of submit button
SubmitForm(Form2);TGWApproval.Run(DataCardValue6.Selected.Email);NewForm(Form2)
email column is choice column
choices([@'tracler1'].Manageremail)
Hi @venky232 ,
From your screenshot...I think you used the person column instead of the choice column.(Please correct me if I am wrong)
Sample:
Best Regards,
Wearsky
yes i use person or group column in SP
flow is working when i use normal testing with datacard of form without saving in SP.
TESTFLOW.Run(DataCardValue6.Selected.Email,DataCardValue1.Text)
but when i use SubmitForm it is showing error as TESTFLOW.Run failed.This method 'Run' has an Invalid value for Parameter 'text'
SubmitForm(Form2);TESTFLOW.Run(DataCardValue6.Selected.Email,DataCardValue1.Text);Reset(Form2)