Inside my workflow "Workflow1" in CodeActivity "startActivity" I do :
I can see in my SQL SqlPersistence DB in the UserEvent table the
tracking value was added.
Now I want to search for workflow instances where that value was set
from ASP.Net app:
SqlTrackingQueryOptions options = new SqlTrackingQueryOptions();
options.WorkflowType = typeof(Workflow1);
TrackingDataItemValue("startActivity", "Key", "value"));
IList<SqlTrackingWorkflowInstance> workflows =
workflows.Count is always 0
Seems user events are ignored in query - I can see in PROCEDURE [dbo].
that at the end only records in [dbo].[vw_TrackingDataItem] are used -
that include only [dbo].[TrackingDataItem] records.
So, Is it possible to search for WF instances based on user events /
tracked data ?