Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8428653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:06:57+00:00 2026-06-10T05:06:57+00:00

I am interested in timing arbitrary WorkflowApplication instances to see how long they spend

  • 0

I am interested in timing arbitrary WorkflowApplication instances to see how long they spend “busy” and how long idle.

However, it seems that tracking notifications are only generated when the instance becomes Idle, and not when it is reactivated.

Is there an easy way of getting such a notification?

UPDATE:

        WorkflowApplication wa = new WorkflowApplication(activity);

        var tracker = new ConsoleTrackingParticipant()
        {
            TrackingProfile = new TrackingProfile
            {
                Name = "SampleTrackingProfile",
                ImplementationVisibility = ImplementationVisibility.All                    
            }
        };


        var query = new WorkflowInstanceQuery();
        query.States.Add("*");
        tracker.TrackingProfile.Queries.Add(query);

        var brq = new BookmarkResumptionQuery()
        {
            Name = "*"
        };

        tracker.TrackingProfile.Queries.Add(brq);

        wa.Extensions.Add(tracker);

        wa.Run();
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T05:06:59+00:00Added an answer on June 10, 2026 at 5:06 am

    In almost every case a workflow goes idle because of a bookmark being created. And for the workflow to continue the bookmark must be resumed. With a TrackingParticipant you can receive a BookmarkResumptionRecord when this happens. In order to receive these you will need to configure a TrackingProfile and add a BookmarkResumptionQuery.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im interested in implementing a JQuery solution for a Panel Selector that seems very
I am interested in logging all traffic that comes over port 443 for trouble-shooting
I am interested in timing my function calls to database + other functions to
Interested in people's opinion. You have an application server running 3/4 services that do
im interested i just finished writing a program and one of the functions that
Is there a JavaScript library that can perform timing of the webpage when it
Interested in description of your most used ASP.NET httpmodules that solved a specific problem
I am interested in developing something that will make use of Chinese handwritten recognition
Im interested in a way one service activate users. The scenario is that I
I'm interested to know how can I detect (at the server side ) that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.