cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MikeLockwood
Advocate IV
Advocate IV

Flow ID

So I have read of a technique to create a button in a column of a SharePoint list that will trigger a Flow when clicked.  This requires the flow to be set for "For selected item".  I have this flow set but one of the parameters to the code is the Flow ID, this should be a GUID.  For the life of me I can not figure out where to get this value from, any ideas?

 

Link to code: http://yannickborghmans.com/2017/11/14/start-your-ms-flow-from-within-the-new-sharepoint-column-form...

Thanks,
Mike L.
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @MikeLockwood,

 

Thanks for updating.

 

To get the Flow Id, in edit mode, you could get it from the highlighted part:

3.PNG


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
v-yamao-msft
Community Support
Community Support

Hi @MikeLockwood,

 

It seems that you are trying to use column formatting to customize SharePoint. I would suggest you submit this issue on the SharePoint forum to get the most qualified response:
https://social.technet.microsoft.com/Forums/Sharepoint/en-US/home?category=sharepoint

 

How is your flow created? If you have issues on using Microsoft Flow, please feel free post back.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Mabel,

 

This is a simple question on how do i get the GUID ID of a specific Flow.  I would figure that the Flow board would be the best place for this question but I will post it in the SharePoint forum as well.

 

Thanks,

Mike Lockwood

Thanks,
Mike L.

Hello Mike,

 

to find the flow ID, go to flow and in the browser input bar, you will see something like this

https://emea.flow.microsoft.com/manage/environments/Default-892b3446-d5f0-489e-a68d-605c1617aead/flo...

 

so here : b060f2b9-65ac-46d1-bee6-6ca4f54c03f8 is probably the flow id.

 

Let me know if that works.

 

Cheers

 

Serge Luca

 

 

 

Hi @MikeLockwood,

 

Thanks for updating.

 

To get the Flow Id, in edit mode, you could get it from the highlighted part:

3.PNG


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Mabel,

 

Thank you so much.  I never even thought of looking at the URL.  I knew it would be something simple that I was overlooking.

 

 

Thanks,
Mike L.

Is it available as some parameter so that I can use it in the actions?

NaveenkumarT
Microsoft
Microsoft

Late reply, but this could be useful to someone.

Use the below expressions.

 

EnvironmentId - workflow()['tags']['environmentName']
FlowId - workflow()['tags']['logicAppName']
FlowRunId - workflow()['run']['name']

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,685)