Export (0) Print
Expand All

SPWorkItem.Created property

Gets a DateTime value specifying when the work item entered the workflow priority queue on the database. In the event of a failure in processing a work item, this value is reset to the system time of the failure.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public DateTime Created { get; }

Property value

Type: System.DateTime
Returns a DateTime value representing the time that a work item entered the workflow priority queue.

You cannot rely on this property value to provide a reliable indication of the time at which the work item was initially pushed onto the priority queue, because the property is reset to the current system time when a processing failure occurs. This behavior also affects the sorting semantics when reprocessing the work item.

Compare DeliveryDate.

© 2014 Microsoft