Hi event state is showing error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2014 10:50 PM
Hi,
I have create a scheduled script which will trigger event and hence Notification will send.
Below is the script:
var ProjectStatus = new GlideRecord('u_project_status');//Here u_project status is a Custom table
ProjectStatus.addEncodedQuery('str_sys_created_onONToday@javascript:gs.daysAgoStart(0)@javascript:gs.daysAgoEnd(0)');
ProjectStatus.query();
if(ProjectStatus.next())
{
gs.eventQueue('project_status_report',ProjectStatus, null, null);//project_status_report is on the same table
}
Events get triggered but after processing showing state Error.
Thanks,
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2014 08:00 PM
Troubleshooting events can be pain. Look in the System Logs for an error or warning at, or near, the same time the event was processed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2015 03:09 AM
Hi Ganesh,
This reply is a little late but it might help anyone else experiencing a similar issue.
'Event class' is a mandatory field on the event table, if you're not passing this through the state will change to 'error'.
Hope that helps.