We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

update ritm sysid in the target record field in Email Table

ShaziyaS1041050
Tera Contributor

G Ponsekar

 

I have a custom table "MSNOW email Request" and i have written inbound email action on this table  and whenever it is triggered log record is created into the sys_email table(OOTB) , but here into this table i want to update the target record with the  requested item sys_id which is a reference field on the MSNOW email Request table is this possible??

 

2 ACCEPTED SOLUTIONS

@ShaziyaS1041050 

your script is already updating the Target field on sys_email.

I think this is not recommended practice.

Example: It's like incoming email is updating INC but the Target record on sys_email you want as PRB which is not proper.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

@ShaziyaS1041050 

As a developer/consultant it's our responsibility to inform customer/client about the best practices in the platform.

Not every requirement is meant to be completed

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

@ShaziyaS1041050 

As a developer/consultant it's our responsibility to inform customer/client about the best practices in the platform.

Not every requirement is meant to be completed

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@ShaziyaS1041050 

Thank you for marking my response as helpful.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader