Hello,
I have a workflow built and it works fine when there is an attachment included, but when there is not, it still says that it 'succeeded' but there is no email sent. Not sure what I am missing. I've done workflows like this before without this being an issue, so it has to be something small that I am missing. Any help is appreciated:
Part 1
part 2
part 3
Solved! Go to Solution.
Testing for Boolean values is case sensitive. The best way to do it is to put the True enumeration in the right side using the expression tab. Like this
I assume your Apply to each is based on the body of Get attachments. Since the email is sent inside that apply to each, if there are no attachments the Apply to each doesn't run and there is no email. You need to add a condition just after the Get attachments and see if there are any attachments. If there are then do what you do now. If there aren't then send the email.
Hello,
I just tried that and I'm still running into issues. I added a condition where if 'Has Attachments' is equal to, and I tried 'FALSE, TRUE or just left it blank' and it keeps saying that it bypassed the second email and that everything ran successfully.
Here is a picture of the condition. Do I have the right field selected and/or what value should I choose?
Testing for Boolean values is case sensitive. The best way to do it is to put the True enumeration in the right side using the expression tab. Like this
That was it - thank you so much!!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
28 | |
27 | |
23 | |
14 | |
10 |
User | Count |
---|---|
62 | |
50 | |
30 | |
29 | |
24 |