Function: setWorkflowState()
function setWorkflowState(
context,
siteUrl,
activityId,
userIds,
state,
__namedParameters?
): Promise<{
changed: string;
}>;
Defined in: areas/assignments/grading.ts:415
Sets the marking workflow state of participants' submissions, as the grading table's "Set marking
workflow state" does; "released" shows them their grades, notifying them when notify is true
(the form's default is not to). With several markers, it sets the submission's overall state.
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
activityId | number |
userIds | number[] |
state | | "inmarking" | "readyforreview" | "inreview" | "readyforrelease" | "released" |
__namedParameters | { notify?: boolean; } |
__namedParameters.notify? | boolean |
Returns
Promise<{
changed: string;
}>