Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Event not getting fired from schedule job

BijoyDeb
Tera Contributor

Hi all,

I have created an event and I am firing it from scheduled job. Event gets fixed in dev after I execute scheduled job. I moved everything to QA by AES as this is inside custom app.

   In QA, when I execute scheduled job, event won't get fired. I added logs, everything shows up. 

  I ran same code from scheduled job in background script, event got fired. 

Anyone faced same issue? How we can fix this

2 REPLIES 2

John Constant
Tera Expert

Event is in the Event Registry [sysevent_register] table?

The scheduled job is in the right scope? This may can be a cross-scope security restriction (this event triggers a script include, flow?)

@John Constant event and job are in same custom scope of ours. This event wil trigger a notification. Work well in dev but not in test instance