event queue not working after add the Queue name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2022 12:33 PM
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.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2022 01:12 PM
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2022 03:38 PM
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: