Hello there,
I have customized forms and have an issue with the trigger of flow in Powerapps where I trigger flow onNew in SharePoint integration and on cancel.
I want that flow to be run only when the form is in newform mode means the SharePoint form is in new mode but not in edit mode.
Issue :
- Flow trigger both on New and On Edit which is I don't want
IT would be great if you share your experience to not trigger flow on Edit form.
Regards,
Manoj Roy
I did this but not work.
The problem is whenever I keep the condition on form mode of new it also works on form mode of edit.
Can you share a screenshot? What is not working now?
Edit: Also change the order: first the If statement and then the ResetForm
Yes, I did it but not working on it.
Hi @manojrohit16 ,
In the code for OnCancel, you need to replace NewForm(SharePointForm1) with FormMode.New:
If(SharePointForm1.Mode = FormMode.New, ********)
Please find the attachment.
I have an issue with on cancel where I want that if form mode is in form mode.new then only flow trigger not on EDIT.
Regards,
WarrenBelz
146,651
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional