We were able to implement the ServiceNow ServiceDesk Integration successfully. I was able to create the RITMs and the SCTASK. I have added multiple delimited sources in the SDIM
As per the below logic. I am currently setting the Assignment Group based on the source by mapping them with the corresponding sys_ids and it is working as per the expectation.
If the number of sources increase in the future I can always update the above VTL to reflect.
But I would like to understand the best approach, so that I can maintain this source and assignment group sys_id mapping even if the list becomes exhaustive and there is any update need to be made.
I was thinking of using the ServiceNow BeforeProvisioning Rule or update planInitializerScript . Will that approach work out?
Instead of using velocity add âsnowAssignmentGroupâ and the value as âXXXXXXXXXXXXXXXXXXâ under the source connectorAttributes. When the ticket is generated, assignment group will be populated without any requirement of VLT.
This will look something like this when you do get source
âconnectorAttributesâ: {
âsnowAssignmentGroupâ:âXXXXXXXXXXXXXXXXXXâ
}
If we update the source with âsnowAssignmentGroupâ is it not required to update ServiceNow ServiceDesk Integration sections like source, catalog mappings?
I am already aware that we can pass the value directly and it will work for sure but the question is to have list of sources (say 50 sources) and assignment groups
Source 1 = Assignment groups 1
Source 2 = Assignment groups 2
⌠and so on
Hi @udayputta and @Yathish Thank you so much. Based on the inputs I updated the sys_id in âsnowAssignmentGroupâ attribute under connector attributes section of the delimited file source but still didnât see the RITM with the assignment group. Am I missing something here.
If the number of sources increase in the future I can always update the above VTL to reflect.
But I would like to understand the best approach, so that I can maintain this source and assignment group sys_id mapping even if the list becomes exhaustive and there is any update need to be made.
I was thinking of using the ServiceNow BeforeProvisioning Rule or update planInitializerScript . Will that approach work out?