Create change request ci association
servicenow_create_change_request_ci_associationAssociate configuration items with a ServiceNow change request as affected, impacted, or offering, and optionally refresh impacted services.
Instructions
Create associations between a change request and configuration items (CIs).
:param change_request_sys_id: Sys ID of the change request. :type change_request_sys_id: str or None :param cmdb_ci_sys_ids: List of Sys IDs of CIs to associate with the change request. :type cmdb_ci_sys_ids: list or None :param association_type: Type of association (affected, impacted, offering). :type association_type: str or None :param refresh_impacted_services: Flag to refresh impacted services (applicable for 'affected' association). :type refresh_impacted_services: bool or None
:return: Response containing parsed Pydantic model with information about the created associations. :rtype: Response
:raises MissingParameterError: If change_request_sys_id, cmdb_ci_sys_ids, or association_type is not provided. :raises ParameterError: If invalid parameters or responses are encountered. :raises ParameterError: If association_type 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 |