Create change request
servicenow_create_change_requestCreate a ServiceNow change request by supplying name-value details and change type, optionally using a standard change template. Useful for initiating normal, emergency, or standard changes via API.
Instructions
Create a new change request.
:param name_value_pairs: Name-value pairs providing details for the new change request. :type name_value_pairs: str or None :param change_type: Type of change (emergency, normal, standard). :type change_type: str or None :param standard_change_template_id: Sys ID of the standard change request template (if applicable). :type standard_change_template_id: str or None
:return: Response containing parsed Pydantic model with information about the created change request. :rtype: Response
:raises MissingParameterError: If name_value_pairs is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If change_type is specified but 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 |