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

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

3 Answers 3


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)

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

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
  • Not worked, showing blank log Commented Mar 2, 2020 at 7:28
  • Did you get anything on $list.WorkflowAssociations at all? (or $list for that matter...) Commented Mar 2, 2020 at 7:39
  • i got only List-ID, $list.WorkflowAssociations showing 0 count Commented Mar 2, 2020 at 11:56

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


Your Answer

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

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