event queue not working after add the Queue name

ravikumarbalakr
Tera Contributor

I am calling REST via Event (Script Include --> Event --> Script Action --> REST API)

When I using 4 parameters in event, Event processing as expected and REST call working fine. But when I used 5th Parameter Event Queue in event, its not working. All my events with ready state, after so many hours its moving to transferred state.

Not moving to processed state, please assist.

 

 

 

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi, unfortunately as you have provided no clear details of your sysevent configuration or the data you are passing to it, there is nothing in your post that helps with diagnostics.
Based on your description I would suspect that the scheduled job being used to process your 'event queue' is not configured correctly. have you reviewed the scheduled job and confirmed that it is configured correctly and running as expected? Perhaps you could update this thread with clearer details of your configuration and include an xml copy of your scheduled job so that it can be reviewed?

Luke Van Epen
Tera Guru

You need to create a custom sys_trigger record which processes your own queue. You need to add the following to the Job Context: 

fcScriptName=javascript\:GlideEventManager('<your_queue_name_goes_here>').process();

And set it to an interval which will process every X seconds. 
You can see how other queues are working in the system by filtering on the sys_trigger table like below:

LukeVanEpen_0-1665959894090.png