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.

View solution in original post

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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (71,484)