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.

Relationship between interact and incident table

oww15
Tera Contributor

Hi all, I have created a relationship between interact and incident table. I was able to utilize the OOTB function for the interact table, 

oww15_0-1708085316823.png

However, the records are not reflecting in the incident table and is showing all records in the interact table.

oww15_2-1708085470440.png

Below is my script: 

Note: u_interaction is my custom field referencing to interact table

oww15_3-1708085542649.png

Thank you!

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @oww15 

It is may be due to m2m table is missing. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG, what are the steps that I must do to reflect the interactions to the incident form? Thank you!

 Hi @oww15 

 

You can check in interaction_related_record table.

 

AGLearnNGrow_0-1708337013419.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

James Chun
Kilo Patron

Hi @oww15,

 

Is there a reason for creating the relationship between Interaction and Incident? There is an OOTB table that stores the relationship - Interaction Related Records [interaction_related_record]

 

If you are creating one for the sake of your learning, can you please attach a screenshot with all the fields of the relationship record?

 

Thanks