Issue facing on after insert business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 10:34 PM
I am trying to fetch single email from sys_email_log table.
Script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 10:39 PM
Hi Danish,
On sys_email_log table, Email filed is the sysid of the record on sys_email table.
I have tried by giving the filter, by -
logGR.addQuery('email', current.sys_id);
or, logGR.addQuery('email.sys_id', current.sys_id);
Both didn't work
Thanks,
Aparajita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 10:42 PM
Hi @Ap_1 ,
Yes you are correct ,
Apologies I just checked now.
Can u try replacing this line n check if it works
if (logGR._next()) {
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 10:44 PM
Also the email record does exist in email logs table right.hope u have checked it manually.
Thanks,
Danish