The SubCategory ID lookup searches through all SubCategories by there name. But when you have two or more subcategories with the same name, but under different unique categories, the search will return multiple IDs for every found subcategorie.
Resulting in an incident being created with parameters like e.g.: "subcategory": { "id": [ "dbe52814-4db0-4f50-b42b-d5d393fe0b71", "8b8f6e62-8997-41cd-b07a-99436a440bf4", "2b8febe3-45d7-4a69-8a1e-0bba7cd051e2", "f01357a9-c661-4970-b32f-d42480f0fbad", "c453482c-b4a0-435e-9a9f-5bcfbfc3110d", "c1d6b965-cc9e-4112-bfc1-8bc5710f8840", "892290b0-def8-4c9b-94c1-db569e984dd2", "c8a0c042-89bd-4450-9187-9e5ec946d53e" ] }
HelloID-Conn-Prov-Target-Topdesk/tree/main/permissions/incident/grantPermission.ps1 @ line 850
The SubCategory ID lookup searches through all SubCategories by there name. But when you have two or more subcategories with the same name, but under different unique categories, the search will return multiple IDs for every found subcategorie.
Resulting in an incident being created with parameters like e.g.: "subcategory": { "id": [ "dbe52814-4db0-4f50-b42b-d5d393fe0b71", "8b8f6e62-8997-41cd-b07a-99436a440bf4", "2b8febe3-45d7-4a69-8a1e-0bba7cd051e2", "f01357a9-c661-4970-b32f-d42480f0fbad", "c453482c-b4a0-435e-9a9f-5bcfbfc3110d", "c1d6b965-cc9e-4112-bfc1-8bc5710f8840", "892290b0-def8-4c9b-94c1-db569e984dd2", "c8a0c042-89bd-4450-9187-9e5ec946d53e" ] }
HelloID-Conn-Prov-Target-Topdesk/tree/main/permissions/incident/grantPermission.ps1 @ line 850