...
Code Block | ||
---|---|---|
| ||
[ { "entityTypeentity": "LearningPlanInstanceAI", "workflowInstanceIdwfiId": 42, "reasonvalues": "updating status from Nursys", "attrValues": [ { "attrDefId": 123, "valueval": "some new value" }, { "attrDefId": 456, "valueval": "another value" }, ] }, { "entityType": "MemberRoleMR", "workflowInstanceId": 48, "reason": "updating status from Nursys", "attrValuesvalues": [ { "attrDefId": 555, "valueval": "some new value" }, { "attrDefId": 543, "valueval": "another value" }, ] } ] |
Field | Description | ||
---|---|---|---|
|
|
| |
| The ID of the Workflow instance.
| ||
| (optional) text string describing the update | ||
|
| An array of attribute values to set. | |
| Attribute Definition Id of the attribute to set. Must be a valid Attribute defined for the specified entity type. | ||
| Value to set.
|
...
Code Block | ||
---|---|---|
| ||
{ "modifiedRecordssuccessCount": 4, "validationErrors"errorCount": 5, "errors": [ { "entity": "AI", "wfiId": 123, "attrDefId": 42, "error": "some message" } ] } |
Error messages
Error | Reason / How to fix |
---|---|
Attribute Definition #{id} does not exist for entity “{entityType}” | The Attribute Definition Id is not defined for the specified entity type. Check for typos in the payload. |
Workflow Instance #{id} was not found for entity “{entityType}” | The Workflow Instance with ID matching |
Workflow Instance #{id} is in a terminal state and cannot be updated |
|
An unexpected error occurred while updating the record. | An unspecified error occurred. Try again to check for a temporary or transient issue, but if it continues to fail reach out to support for assistance. |