web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Microsoft forms cannot...
Power Automate
Unanswered

Microsoft forms cannot generate outlook notification when there's no attachement.

(0) ShareShare
ReportReport
Posted on by 4

Hello

 

I created Microsoft Forms that follows below path.

 

Andy231_0-1676854848651.png


I think until "add a row into a table" the flow works smoothly since it reflects to my excel on the sharepoint.

However, I'm not sure how to make it with condition flow after parse JASON.
I want to make condition that says
If there's no attachment file: Send automated outlook message directly.
If there's attachment file: Get the file detail and attached it to automated outlook message.
Could you please kindly give me some advice what I should put to conditon. 

Andy231_1-1676854973313.png

 

Below is the detail of what I wanna do through Parse JSON and the code.

Andy231_2-1676855137255.png

 

{
    "type""array",
    "items": {
        "type""object",
        "properties": {
            "name": {
                "type""string"
            },
            "link": {
                "type""string"
            },
            "id": {
                "type""string"
            },
            "type": {},
            "size": {
                "type""integer"
            },
            "referenceId": {
                "type""string"
            },
            "driveId": {
                "type""string"
            },
            "status": {
                "type""integer"
            },
            "uploadSessionUrl": {}
        },
        "required": [
            "name",
            "link",
            "id",
            "type",
            "size",
            "referenceId",
            "driveId",
            "status",
            "uploadSessionUrl"
        ]
    }
}

It's my first time to ask here, so if there's any other information needed, please let me know.

Andy

Categories:
I have the same question (0)
  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Andy231 

     

    You can use the empty function on the attachment field to check whether it is empty.

    I have made a test for your reference:

    1.

    vliweimsft_0-1676873360073.png

     

    2.

    vliweimsft_1-1676873410792.png

    3.

    vliweimsft_2-1676873448411.png

    4.

    vliweimsft_3-1676873572910.png

    vliweimsft_4-1676873595692.png

    vliweimsft_5-1676873635402.png

     

    Best Regards,

    Levi

     

  • Andy231 Profile Picture
    4 on at

    Hi  Levi !

    Thank you so much for your reply and I tried those formulas as below.

     

     

    However, it seems like I get this error message.

    Could you please kindly let me know what I did wrong?


     Updating Media

     

    Andy231_0-1676939083090.png

     

  • Andy231 Profile Picture
    4 on at

    Andy231_0-1676940378447.png

    Andy231_1-1676940394080.png

    Andy231_2-1676940406971.png

    Andy231_3-1676940417083.png

    It seems like I could attach only 1 pics to my previous thread, so let me add pics here!

     

  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Andy231 

     

    According to your screenshot, you don't seem to add the action of initializing variable.

     

    Best Regards,

    Levi

  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Andy231 

     

    Could you please tell me have your problem been solved?

     

    Best Regards,

    Levi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard