Can I know how Question Answer (question_answer) table gets populated. where is the code written to insert data in to this table pls?

Indira Priya Da
Tera Guru

Hello Team,

Request to assist me to understand how Question Answer (question_answer) table gets populated and where is the code written to insert data in to this table pls?

Thanks for your assistance.

Best Regards,

Indira Priya Darsini M.

1 ACCEPTED SOLUTION

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

as mentioned in the thread below, The data in question_answer table is inserted via out of box code, but not Glide scriptable one (via an internal java class).

https://community.servicenow.com/community?id=community_question&sys_id=2c370b29db1cdbc01dcaf3231f96...

Hope this will clarify your question.

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

View solution in original post

4 REPLIES 4

Ashirav
Tera Expert

In the left navigator type "tables".

Under "System Definition" click on Tables.

A list of table appears. In the "Label" type Question answer.

Click on the table that appears.

Now right click on the grey banner and select configure-->select "All. I have attached a pic below.

 

 

This is where all the coding, data insertion, updating etc is done on that table.

You can apply this on any table.

 

Please mark as correct answer or helpful if this helps at all, so that other users will also find it when they need help, otherwise the community will remove this answer. If you have any doubts regarding it please ask.

Thanks!

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

as mentioned in the thread below, The data in question_answer table is inserted via out of box code, but not Glide scriptable one (via an internal java class).

https://community.servicenow.com/community?id=community_question&sys_id=2c370b29db1cdbc01dcaf3231f96...

Hope this will clarify your question.

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Indira,

That table gets populated when you submit the record producer so it is servicenow backend code which inserts into this table. why do you require that?

Regards

Ankur

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

Indira Priya Da
Tera Guru

Hello Ankur & Alberto, Thanks for the quick response.

Requirement is to stop populating data into this table or delete as soon as the row gets inserted into the table. Preference is first option.. Is there any way we can achieve this ?

Regards,

Indira Priya Darsini M.