Hello,
How can I restrict the OnSuccess for only new forms? I have an email being sent out once a new form is created, but I do not want an email to be sent out if the form was submitted in edit mode.
Solved! Go to Solution.
Hi @Jakegolden ,
Set a Variable when you instigate the New Form
Set(gblNew: true);
NewForm(FormName)
OnSuccess of your Form
If(
gblNew,
Set(gblNew,false),
YourOtherCodeHere
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @Jakegolden ,
Set a Variable when you instigate the New Form
Set(gblNew: true);
NewForm(FormName)
OnSuccess of your Form
If(
gblNew,
Set(gblNew,false),
YourOtherCodeHere
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @Jakegolden ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
User | Count |
---|---|
253 | |
113 | |
92 | |
48 | |
38 |