Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

C# Programming

Workflow Foundation TrackingDataItemValue collection property


I want to filter tracking information from a SqlWorkflowTrackingQuery
using a TrackingDataItemValue.

The SDK explains to me that the TrackingDataItemValue needs the
following fields to be set: ActivityName, MemberName, Value.

The SDK explains also to me that it is possible to assign a Collection
property member to the MemberName Property. But what the SDK not
explains is how to do this. I mean, What notation is required to get
this work?

Can anyone provide me the correct notation for this?

For example here some code to visualize what I need to do:

---------------------------- START EXAMPLE
-------------------------------------

 List<SqlTrackingWorkflowInstance> queriedWorkflows = new
List<SqlTrackingWorkflowInstance>();
 SqlTrackingQuery query = new SqlTrackingQuery("MyConnectionString");
 SqlTrackingQueryOptions options = new SqlTrackingQueryOptions();

 options.StatusMinDateTime = DateTime.MinValue;
 options.TrackingDataItems.Add(
     new TrackingDataItemValue("MyActivityName",
"MyCollectionPropertyName[MemberName??]", "MyValue"));

 queriedWorkflows = query.GetWorkflows(options);

---------------------------- END EXAMPLE
-------------------------------------

Sow what is the correct notation of
"MyCollectionPropertyName[MemberName??]"    ??

Best regards,

Mario

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc