Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

update ritm sysid in the target record field in Email Table

ShaziyaS4380655
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

@ShaziyaS4380655 

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

@ShaziyaS4380655 

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

@ShaziyaS4380655 

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

@ShaziyaS4380655 

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