cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Krishna_coder
New Member

How to trigger email with condition

Hello all,

 

I'm trying to trigger email when an item is created in sharepoint which I'm able to do it. However, when I'm trying to include a condition in Settings for "When item is created", it is not triggering any email notification even if the condition is true.

 

Below is the formula which I'm trying to use.

@equals(triggerBody()?['CAPType']?, 'First Written Warning')

 

Need help!!!

 

 

1 REPLY 1

Hi @Krishna_coder, is CAP Type a choice field? If it is, then you'll need to add the Value node onto the end so it will look like this:

 

@equals(triggerBody()?['CAPType']?['Value'], 'First Written Warning')





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,571)