Skip to main content

Notifications

Power Automate - Building Flows
Answered

Trouble creating flow

Posted on by 211

I'm needing some help from the experts here.  The flow that I'm creating needs to pull the most recent entry made to a Sharepoint list and send an email to a group email account (ideally in a PDF format) that contains the column values of the most recent entry.  The flow runs, however, the email I received contains all the entries on the Sharepoint list and the HTML table does not seem to be working correctly.  I know I'm missing a few things here, just not sure what:

 

Shaguar357_0-1673986565643.png

 

The email I receive does pull the Station, however, it also contains the following before the yellow highlighted station:

 

Shaguar357_1-1673986724586.png

Thanks in advance!

  • Verified answer
    Re: Trouble creating flow

    Hi @Shaguar357 ,

    Judging from the screenshot you provided, this column is the Choice column.

    I have tested both multi-select and single-select for your reference:

    Here is list:

    vchengfenmsft_0-1674010472248.png

    Here is flow:

    xpath(xml(json(concat('{"root":{"choices":', item()?['multipleChoice'],'}}'))),'/root/choices/Value/text()')

    vchengfenmsft_1-1674010735717.png

    For single selection we need to pay attention to a few things:

    vchengfenmsft_3-1674010920650.png

     

    Here is result:

    vchengfenmsft_2-1674010861604.png

     

     

    Best Regards

    Cheng Feng

     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,246

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,884

Leaderboard