loFrequency of gs.eventsProcess()

Flavio4
Kilo Sage

Hello,

I understand that the default frequency of gs.eventsProcess() run is 30 seconds, see https://www.servicenow.com/community/developer-blog/example-of-events-stacked-that-send-the-same-mes...

Is it possible to change the default (and I understand that it is a sensitive thing) and if yes, how?

Thanks
Flavio

1 ACCEPTED SOLUTION

Peter Bodelier
Giga Sage

Hi @Flavio4 

 

Go to sys_trigger table, and look up 'events process 0' (without a parent).

 

You can change the time there. I would advise you to not put it too low.


It would be a better approach to create seperate queues, for event you need processing faster.

See Using custom ServiceNow event queues to solve race conditions (davidmac.pro) for an explanation.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

View solution in original post

1 REPLY 1

Peter Bodelier
Giga Sage

Hi @Flavio4 

 

Go to sys_trigger table, and look up 'events process 0' (without a parent).

 

You can change the time there. I would advise you to not put it too low.


It would be a better approach to create seperate queues, for event you need processing faster.

See Using custom ServiceNow event queues to solve race conditions (davidmac.pro) for an explanation.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.