Get¶
Gets a WorkItem instance by its ID.
1 |
|
Parameters¶
string id
The ID of the work item.
Returns¶
The WorkItem instance if found; otherwise, null.
Remarks¶
Useful when there is a need to refer to some of the older work items during the current work item. Just the ID of the older one needs to be saved and passed to the current one. For the work item previous in the workflow, this can be done using WorkItem.Previous.
To access a work item later on the workflow, the ID is stored on the form XML while that work item was active.¶
1 2 3 4 5 |
|