edubase_post_exam_journey_publish
Publish the draft of the journey started by an exam, so the users continue on the new version. The draft can only be published if it has no errors (see the issues of edubase_get_exam_journey_graph).
Instructions
Publish the draft of the journey started by an exam, so the users continue on the new version. The draft can only be published if it has no errors (see the issues of edubase_get_exam_journey_graph). If some users are on nodes removed from the draft, a new node has to be specified for each of them with remap, otherwise the journey is not published and the affected nodes are listed in the error message. Needs the exam journeys feature to be enabled.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exam | Yes | exam identification string (the starting exam) | |
| remap | No | the users on the removed nodes are moved to these nodes, keyed by the key of the removed node, the value is the key of an existing node of the draft, or an empty string to stop the journeys of the users |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exam | Yes | ||
| active | Yes | ||
| issues | No | ||
| journey | Yes | ||
| version | Yes | ||
| warning | No | ||
| remapped | No | ||
| published | Yes | ||
| unchanged | No |