WorkRequests.markCompleted (Method)

Marks the work request as completed.

Returns:

Void

Arguments:

Name Type Required Description
id WorkRequestID Required A work request's ID.

Context:

License Requirements None
Permission Requirements Contributor
Deny Context None
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization This method may be customized at the site level

Error Codes:

Code Error Message
64003 The specified work request is already marked as completed.
64005 The specified work request is not yet accepted.
64017 Only assignees can mark a work request as complete.

Notes:

None