1) On success this method returns: success 2) In case of any errors this method returns: fail incorrectvalue A document class HR document D1 A list of returned error names in the tag: - unauthorized: user not logged-in, a reason placed in tag; - incorrectvalue: a wrong field value, a field name in , a wrong value in tag; - missingfield: there is no such field on the form, a wrong field name in tag; - casenotopened: there is no such case or user has no rights, a reason placed in tag; - updatefailed: an error has occured while updating case, a reason placed in tag; - unexpected: an exception, a reason placed in tag. A list of case errors that may appear in tag: LOCK, NO_MODIFY_PERMISSIONS, ACTIVE_ACCEPTANCE, NEXT_OWNER_NOT_ALLOWED, NEXT_STATE_NOT_ALLOWED, NEXT_OWNER_NOT_FOUND, NEXT_STATUS_NOT_FOUND, REQUIRED_PARAMETER_EMPTY, REQUIRED_ATTACHMENT_MISSING, REQUIRED_FORM_MISSING, RULES_ERROR, EDIT_LOCK.