Hi,Is there any other way to find out the status of a task ?Can you please tell me where is the task activationTime is set to 1/1/1 on completion documented ?Thanks,Pawan
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.SoapTypeAttribute(Namespace="http://content-services.org/workflow/services2.0.xsd")] public partial class CSTaskData { private int idField; private short kindField; private string nameField; private string descriptionField; private string ownerField; private int propertiesMaskField; private System.Nullable activationDateField; private int workflowIdField; private string[] taskTransitionsField; private string areaVPathField; private string sourceAreaVPathField; private System.Nullable expirationDateField; private System.Nullable absoluteTimeoutField; private int relativeTimeoutField; private string workflowFilePathField; private string commandField; private string needsAttentionInfoField; private int activeSubWorkflowIdField; private int timeoutTypeField; /// public int id { get { return this.idField; } set { this.idField = value; } } /// public short kind { get { return this.kindField; } set { this.kindField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public string name { get { return this.nameField; } set { this.nameField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public string description { get { return this.descriptionField; } set { this.descriptionField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public string owner { get { return this.ownerField; } set { this.ownerField = value; } } /// public int propertiesMask { get { return this.propertiesMaskField; } set { this.propertiesMaskField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public System.Nullable activationDate { get { return this.activationDateField; } set { this.activationDateField = value; } } /// public int workflowId { get { return this.workflowIdField; } set { this.workflowIdField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public string[] taskTransitions { get { return this.taskTransitionsField; } set { this.taskTransitionsField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public string areaVPath { get { return this.areaVPathField; } set { this.areaVPathField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public string sourceAreaVPath { get { return this.sourceAreaVPathField; } set { this.sourceAreaVPathField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public System.Nullable expirationDate { get { return this.expirationDateField; } set { this.expirationDateField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public System.Nullable absoluteTimeout { get { return this.absoluteTimeoutField; } set { this.absoluteTimeoutField = value; } } /// public int relativeTimeout { get { return this.relativeTimeoutField; } set { this.relativeTimeoutField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public string workflowFilePath { get { return this.workflowFilePathField; } set { this.workflowFilePathField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public string command { get { return this.commandField; } set { this.commandField = value; } } /// [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)] public string needsAttentionInfo { get { return this.needsAttentionInfoField; } set { this.needsAttentionInfoField = value; } } /// public int activeSubWorkflowId { get { return this.activeSubWorkflowIdField; } set { this.activeSubWorkflowIdField = value; } } /// public int timeoutType { get { return this.timeoutTypeField; } set { this.timeoutTypeField = value; } } }
I don't think the advice about testing for "1/1/1" is accurate;In my experience (C#/.NET 2.0 hitting CSSDK 2.5 web services on W2K TS 6.5), here's what I've seen...1) A task that has never been transitioned through and is not currently active has an activation time of null.2) A task that is currently active has an activation time of whatever it's activation time is.3) A task that is currently inactive but was transitioned through retains its activation time, so it's indistinguishable from a currently active task.Unless there's some method buried in some other part of the webservices, I believe these are the only bits you have available to you in the CSTaskData object:...