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
Post a Comment