Comments on: Custom queue event handling in ServiceNow – Implementation steps https://servicenowguru.com/integration/custom-queue-event-handling-servicenow/ ServiceNow Consulting Scripting Administration Development Tue, 05 Nov 2024 12:25:20 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Christoph L. https://servicenowguru.com/integration/custom-queue-event-handling-servicenow/#comment-10120 Tue, 05 Nov 2024 12:25:20 +0000 https://servicenowguru.com/?p=16974#comment-10120 In reply to Martin Ivanov.

Agreed. In case of having the event dynamically distributed to multiple event queues your way is the best. Just in case one custom event queue would be enough it is easier to use the field “queue” on the registry and skip the fifth parameter in the code. This makes maintenance more efficient and might be easier to use. I just wanted to make sure this was mentioned in the otherwise very informative article.

]]>
By: Martin Ivanov https://servicenowguru.com/integration/custom-queue-event-handling-servicenow/#comment-10119 Mon, 04 Nov 2024 10:56:58 +0000 https://servicenowguru.com/?p=16974#comment-10119 In reply to Christoph L..

Hi Christoph! Thanks for reading through the article and commenting. You are right, there is a Queue field that could be used, but if you take a look the code that is generating the events, you’ll notice that it is distributing the same event to N different queues. Using the Queue field instead of the code-driven distribution would mean that we would need N amount events, that will be tied to N different queues.

]]>
By: Christoph L. https://servicenowguru.com/integration/custom-queue-event-handling-servicenow/#comment-10117 Tue, 29 Oct 2024 15:53:18 +0000 https://servicenowguru.com/?p=16974#comment-10117 The “Event Registration” also has a field “queue” already. So at the time of registerring you can specify the queue already.

When the event is triggered “gs.eventQueue(‘event.name’,…” you don’t need to specify the fifth parameter as these events will always go into the queue specified on the “Event Registration”.

Maybe an information that might be added in the article.

]]>