Function: allocateMarker()
function allocateMarker(
context,
siteUrl,
activityId,
userIds,
markerId
): Promise<{
changed: string;
}>;
Defined in: areas/assignments/grading.ts:452
Allocates a marker (the user id of someone who can grade; several where the assignment uses several markers per submission) to participants' submissions, as the grading table's "Allocate marker" does. Moodle leaves alone submissions past marking (marking completed, in review, ready for release, released).
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
activityId | number |
userIds | number[] |
markerId | number | number[] |
Returns
Promise<{
changed: string;
}>