When creating a shared queue you have the option to send to a fanout queue. Fanout queues are used to broadcast messages across multiple queues. For more information about fanout queues check here. You can enable receipt for your fanout queues. For example, if your fanout queue broadcasts messages to 3 different queues then you will receive 3 different receipts correlating to each queue.

Prerequisites


(warning) First, you will need to contact Perspectium support to start using ServiceNow receipts for a Fanout Queue. 

(warning) Second, you will need to install DataSync for ServiceNow and run the Perspectium Finish Install scripts.

(warning) Lastly, you will also need to set your initial Perspectium & Replicator properties.


Procedure

To create a shared queue with receipts for a fanout, follow these steps:


Create a shared queue

Create a shared queue as you would normally.

Click the Enable fanout queue receipts

Check the Enable fanout queue receipts box.

Enter your Fanout Exchange Name

Enter your fanout exchange and ServiceNow will automatically reach out to the Perspectium Integration Mesh to find out how many queues and receipts to make.



Monitoring Receipts for Fanout Queues

After you finish setting up your queue, you can send messages as you normally would.


Procedure

To monitor receipts for fanout queues, follow these steps:

Navigate to receipts

Once the messages are sent you can navigate to the Perspectium > Replicator >  Receipts. 

Access the receipt

Find the corresponding receipt to the record(s) that you sent out and click into the form.

Monitor the receipt

Navigate to the Queues field at the bottom of the form and look at the JSON object in the value. The object is setup to have the fanout queue as the field and the value is a true/false value.

A true value means that ServiceNow has received an acknowledgement for that queue and a false value means that it is still pending.

Notice the fields Expected Ack and Current Ack, these are fields for you to quickly check if you have all of the acknowledgements.