Find Data About Workflows?

Welcome Forums General PowerShell Q&A Find Data About Workflows?

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
1 year, 11 months ago.

  • Author
    Posts
  • #61461

    Participant
    Points: 0
    Rank: Member

    I'm very new to PowerShell, but I have a good idea of what it can do and used it a little bit at my previous job. It's very powerful and I was wondering if I can use it to gather data about the workflows in use across the farm. Can I use PowerShell to do the following:

    1) Find the number of workflows running
    2) Find the number of instances per workflow
    3) Find the number of errors per workflow
    4) Find how long it takes for each workflow instance to run
    5) Determine the amount of resources each workflow instance consumes

  • #61543

    Keymaster
    Points: 1,673
    Helping HandTeam Member
    Rank: Community Hero

    Probably not. Workflows run under WWF, not PowerShell, and WWF isn't well instrumented for this. Keep in mind that a Workflow written in PowerShell is translated into the XAML used by WWF and then handed off; "monitoring" WWF isn't really within PowerShell's scope.

    WWF has some tracking and tracing functionality; I Googled "monitoring wwf .net" and you might see if any of those are helpful.

The topic ‘Find Data About Workflows?’ is closed to new replies.