function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
spaceman901spaceman901 

Create Queues and Enqueue/Dequeue sObjects from Queues

Hi,

 

I'm just starting to code in APEX and I'm wondering how to do the following things:

 

1) create queues written in apex

2) enqueue a custom object written in apex

3) dequeue the custom object from a rest api call

 

Any reference material and/or examples would be great to see.

 

Thanks.

MandyKoolMandyKool

Hi,

 

If you could explain what exactly you want to achieve that will be gr8.

May be you can achieve your requirement by having a proper schema design.

spaceman901spaceman901

Sure.

 

I'd like to submit articles(sObjects) into specific queues(based on target translation languages). I'd like to externally poll these queues and dequeue the articles for processing on an external webservice.

 

Hope this helps.

 

Let me know if you need more detail.

 

Thanks.