Why my event is not created at all?

Koushik Ningara
Tera Contributor

if (current.operation() != 'insert' && current.comments.changes()) {
gs.eventQueue("sctask.commented", current, gs.getUserID(), current.request_item.opened_by);
}

 

What's wrong with this event business rule?

2 REPLIES 2

d_cammack
Tera Guru

Is the event 'sctask.commented' or 'sc_task.commented' on your registry?  

 

-David

Sagar Pagar
Tera Patron

Hi @Koushik Ningara,

Make sure the event name is correct and check the event logs table where logs records created or not?

 

Thanks,

Sagar Pagar

The world works with ServiceNow