Workflow Activity Tracking
-
Tuesday, January 03, 2012 6:25 PM
We have a service running on AppFabric Server, using the following tracking profile. This tracking works for all activities except for one specific activity class, where variable values are not recorded. In the AppFabric dashboard, there are no values listed under the "Variables" tab for this particular activity.
<trackingProfile name="TestService Activity Tracking" implementationVisibility="All"> <workflow activityDefinitionId="*"> <workflowInstanceQueries> <workflowInstanceQuery> <states> <state name="Started" /> <state name="Completed" /> <state name="UnhandledException" /> </states> </workflowInstanceQuery> </workflowInstanceQueries> <activityStateQueries> <activityStateQuery activityName="*"> <states> <state name="*" /> </states> <arguments> <argument name="*" /> </arguments> </activityStateQuery> </activityStateQueries> </workflow> </trackingProfile>
At first glance, the activity itself does not appear to do much other than manipulate CodeActivityContext property values and output a string.
Suggestions on how to troubleshoot this? Thanks.
- Edited by wongnation Tuesday, January 03, 2012 6:26 PM fixed typo
- Edited by wongnation Tuesday, January 03, 2012 6:28 PM fix formatting
All Replies
-
Friday, January 06, 2012 1:24 AMModerator
Are you sure the activity is being executed? Is it possible instances are not executing this activity?
Thanks,
If this answers your question, please use the "Answer" button to say so | Ben Cline -
Friday, January 06, 2012 3:25 AMYes, the activity is being executed. We've added logging in the activity class that writes to the Windows Event log, and this works.

