Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Add ID to manual trigger flow run

(0) ShareShare
ReportReport
Posted on by 9

Hi, I have a manual trigger flow where there is no ID field for each flow run.
Please advice how to add auto increment ID to each run in order to include it in the excel action: 'Add a row into a table' along with other fields from the flow run.

  • v-bacao-msft Profile Picture
    on at
    Re: Add ID to manual trigger flow run

     

    Hi @Sherif-Abolsaud ,

     

    It is also a good method, I think there will be no problem. Now the license does not limit the number of Flow run.

     

    Best Regards,

  • Sherif-Abolsaud Profile Picture
    9 on at
    Re: Add ID to manual trigger flow run

    Thanks.

    I found a simple solution that to add share point step'Create item' in a list which has ID column.

    It is working fine, but any problem may happen in future? after many records getting recorded around 60 item per day?

  • v-bacao-msft Profile Picture
    on at
    Re: Add ID to manual trigger flow run

     

    Hi @Sherif-Abolsaud ,

     

    Maybe you could try the following configuration.

    Use Order by to get the record with the Max ID, add 1 to this value, and insert it into a new row.

    Image reference:

    Spoiler (Highlight to read)
    193.PNG194.PNG195.PNG

    Hope this helps.

     

    Best Regards,

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: Add ID to manual trigger flow run

    Hi @Sherif-Abolsaud 

     

    For a manually triggered flow, you can use the expression to get the request ID and use that: @{triggerOutputs()?['headers']?['x-ms-client-request-id']}

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,942 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow