Workflow Activity Tracking
-
martes, 03 de enero de 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.
- Editado wongnation martes, 03 de enero de 2012 18:26 fixed typo
- Editado wongnation martes, 03 de enero de 2012 18:28 fix formatting
Todas las respuestas
-
viernes, 06 de enero de 2012 1:24Moderador
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 -
viernes, 06 de enero de 2012 3:25Yes, the activity is being executed. We've added logging in the activity class that writes to the Windows Event log, and this works.

