target table field in sys_email table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2017 10:49 AM
Hey guys, i am facing an issue not able to set the value in 'target_table' field of 'sys_email' table from one inbound action.
i choose the target table in my inbound action 'sys_data_source' but it is not reflecting in 'sys_emai' table.
can anyone help me on this........

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2017 11:32 AM
Hey Abhi,
Share your code..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2017 03:33 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2017 04:18 AM
When to Run Condition?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2017 04:23 AM
Hi Abhi,
Try this in the script :
current.target_table = email.body.<Field_name>;
example: current.target_table = email.body.tablename;
//"tablename" this is a field present in the Email's Body of the incoming mail.
or if you doing via GlideQuery
then add
grEmailLog.target_table = "sys_data_source"; //if it is reference field try pushing the sys_id into it instead of text.
grEmailLog.update();
Hoping this helps.
Regards,
Dhruv