Approve change request
servicenow_approve_change_requestApprove or reject a ServiceNow change request by providing its sys ID and state (approved or rejected).
Instructions
Approve or reject a change request.
:param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :param state: State to set the change request to (approved or rejected). :type state: str or None
:return: Response containing parsed Pydantic model with information about the approval/rejection. :rtype: Response
:raises MissingParameterError: If change_request_sys_id or state is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If state is not valid. :raises ParameterError: If JSON serialization or deserialization fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| state | No | ||
| change_type | No | ||
| task_sys_id | No | ||
| text_search | No | ||
| model_sys_id | No | ||
| sysparm_limit | No | ||
| sysparm_query | No | ||
| worker_sys_id | No | ||
| api_parameters | No | ||
| cmdb_ci_sys_id | No | ||
| sysparm_offset | No | ||
| cmdb_ci_sys_ids | No | ||
| response_length | No | ||
| template_sys_id | No | ||
| association_type | No | ||
| name_value_pairs | No | ||
| change_model_sys_id | No | ||
| change_request_sys_id | No | ||
| refresh_impacted_services | No | ||
| change_request_task_sys_id | No | ||
| standard_change_template_id | No |