- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 05:40 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 05:54 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 06:10 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 06:18 AM
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());
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 11:54 AM
Thank you Harshvardhan, This worked.