I am experiencing issues with creating a flow that is triggered when item is created in SharePoint. I want to create a condition that includes attachments (if included in the SharePoint list trigger), not all entries will. As of now, I have a field titled company initiated (which is a yes/no field), if true send an email without attachment, if false send an email with attachment.
This is what I am trying to accomplish.
Trigger - When an item is created
Get Attachments
Condition
If Yes (send email without attachment) or If No (send email with attachment)
End
Any assistance would be greatly appreciated.
Thanks,
Michelle
Hi @mthompson,
Glad to know you find a way to solve it.
If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!
Best Regards,
Community Support Team _ Lin Tu
Good morning Lin,
I changed the condition to focus on whether the record entered has an attachment or not. What I ended up with works perfectly to meet our needs.
When a record is entered with an attachment, an email is sent to a specific department with the attachment so they can process accordingly. When a record is entered without an attachment a different email is sent to a specific department so they can create the requested document.
Hi @mthompson,
You said the company initiated is Yes/No type, so I guess the issue you met is no matter the value of company initiated is Yes or No, the Flow always goes to No branch, right?
If my guess is right, the workaround is input boolean value true into the condition action instead of Yes. Because Yes/No type column output is boolean, for example:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
WarrenBelz
146,522
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,890
Most Valuable Professional