Event triggered, but the state is going to error.

Nagendra11
Kilo Expert

Hello Everyone!

i have  a notification which should trigger when the event is triggered. The event is triggering with a business rule. Have checked and the business rule is working fine and the event is being triggering. But in the events log if i check, the state of the triggered event is in error state. So the notification is not being generated. So can any one tell me why the event is going to error state?

 

find_real_file.png

 

find_real_file.png

Business rule configured.

 

Notification:

 

find_real_file.png

 

find_real_file.png

 

Please let me know if anything is not configured properly.

Thanks in advance.

1 ACCEPTED SOLUTION

i am not sure here, what is the exact requirement you have. if you are deleting then current object will not work. 

in delete operation if you will pass the null then it will work. 

 

example:

 

gs.eventQueue('event name',null,gs.getUserID());

View solution in original post

16 REPLIES 16

Hello Harshvardhan,

 

The same thing with both(Error).

 

Regards.

adding one thread here. kindly have a look. 

 

Hi event state is showing error.

Hi Harshvardhan

Checked this thread already. But i dont understand this comment "'Event class' is a mandatory field on the event table, if you're not passing this through the state will change to 'error'." I did not find "Event Class" field anywhere.

Regards

just confirming here, while creating an event, have you selected the table ? make sure your have selected the same table which you are running on your business rule. 

Hi Harshvardhan,

Yes, the table name is same.

 

Also, after testing. i guess, the before delete business rule is causing this issue. Because, tried the same in After update and it worked fine, the even was processed. But the before delete might not be working.

 

Regards.