workflow foundation 4 - trackingProfile configuration for specific activityDefinitionId (dynamic) -


i want ability enable , disable custom tracking in specific workflows using trackingprofile. so, create entries ones want track, this:

 <trackingprofile name="mytracking">    <workflow activitydefinitionid="myworkflow1">     <customtrackingqueries>        <customtrackingquery name="*" activityname="*"/>      </customtrackingqueries>    </workflow>    <workflow activitydefinitionid="myworkflow2">     <customtrackingqueries>        <customtrackingquery name="*" activityname="*"/>      </customtrackingqueries>    </workflow>  </trackingprofile> 

we load workflow dinamically disk using activityxamlservices.load. so, know activitydefinitionid in case? used path , didn't work...

thanks in advance!

activity definition id id of activity obtained loading xaml file using activityxamlservices.load. activity msdn.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -