Can i change the Tracking Profile in WFF at runtime?

I want to change theTracking Profile in WFF at runtime (reponse to an user event for example) (Has someone here been using the Tracking Profile Editor in Biztalk 2004 I want to do something like that) . I think it can but i don't know how to do that. Reflection is an answer (If it's true then how )

Anyone can solve it

Thanks a lot!




Answer this question

Can i change the Tracking Profile in WFF at runtime?

  • Stuck

    You can indicate the that you want to reload a Profile for a particular instance calling "ReloadTrackingProfiles" on the WorkflowInstance.

    Regards,

    Alberto.


  • leemcd

    That's right. You can set the property ProfileChangeCheckInterval with the desired pooling interval. When the interval expires, the tracking service reloads the profiles that have been modified.

    However if what you want is to reload the Tracking profile for a given instance, create a new profile for the instance and then call the aforementioned ReloadTrackingProfiles.

    Regards,

    Alberto.


  • Igor L

    I believe the sql tracking service listens for changes to the profile. So, you should be able to deploy a new version of the profile and have the service automatically use the updated version (it might take some time to get the update).

    If you write your own tracking service, you can implement the interface yourself to notify of changes.

    Matt



  • Can i change the Tracking Profile in WFF at runtime?