Skip to content

Instructions

Gets or sets the instructions for the work item to display in user interfaces.

1
 string myWorkItem.Instructions

Remarks

Instructions are copied from the task instructions by default but can be changed if needed.
If the WorkItem.State is not in Waiting or Created, attempting to set this property is prohibited and throws an access denied error.

Example

1
2
// Changing the instructions:
$WorkItem.Instructions = 'Please complete this task.';