Workflow Activity Tracking
-
mardi 3 janvier 2012 18:25
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.
- Modifié wongnation mardi 3 janvier 2012 18:26 fixed typo
- Modifié wongnation mardi 3 janvier 2012 18:28 fix formatting
Toutes les réponses
-
vendredi 6 janvier 2012 01:24Modérateur
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 -
vendredi 6 janvier 2012 03:25Yes, the activity is being executed. We've added logging in the activity class that writes to the Windows Event log, and this works.

