1

I need to know the WF ID associated with a List, I have gone through this link but it didn't help me out. Please suggest

2
  • What are you going to use it for? Is it a one-off or do you need to retrieve it using code? Feb 28, 2020 at 13:23
  • Anyhow, if any OOTB option is available that will be well and good for me. Feb 28, 2020 at 13:56

3 Answers 3

1

If you go to List settings > Workflow Settings > you can open the workflow and see the SubscriptionID as part of the url (with {} encoded as %7B and %7D at each end)

1
  • Are you sure Subscription ID and Workflow ID both are the same thing? Feb 28, 2020 at 14:43
1

You can get the details easily by using the PnP PowerShell Library:

$list = Get-PnPList -Identity "List Name" -Includes WorkflowAssociations
Write-Host $list.WorkflowAssociations.Id
3
  • Not worked, showing blank log Mar 2, 2020 at 7:28
  • Did you get anything on $list.WorkflowAssociations at all? (or $list for that matter...) Mar 2, 2020 at 7:39
  • i got only List-ID, $list.WorkflowAssociations showing 0 count Mar 2, 2020 at 11:56
0

How to retrieve workflow id by using jsom in SharePoint online for your reference:

https://www.enjoysharepoint.com/how-to-retrieve-workflow-id-by-using-jsom-in-sharepoint-online/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.