SelectedAction¶
Gets or sets the selected action for the work item.
Type¶
string
Declaration¶
1 | |
Remarks¶
If no action is selected, this property returns null.
If the WorkItem.State is not in Waiting, Created, or Join, attempting to set this property is prohibited and throws an access denied error.
When setting this property, the task action name is resolved first; its caption is also accepted for backward compatibility. If neither matches, a scripting error is thrown.
Reading the user action¶
1 2 3 | |
Setting an action¶
1 | |