This behaviour is used to validate the Service Desk's Organizations field while creating or editing an issue.
This behaviour makes a call to the REST endpoint using the sample code.
Once the values are obtained from the REST endpoint, they are stored in a map.
Next, the IDs of organizations selected from Organizations field will be used to get the values from the map.
Once the values are obtained from the map, the characters used in the map values (the organizations' names) are validated to check if they meet the conditions set.