Reporting on the source of interaction records

Ryan S
Mega Sage

Is there a way to report on the source of an interaction record beyond creating a custom field?

 

Interactions could be generated through chat or via email or from the service portal, which means we could use the 'type' but if there are multiple record producers then I can't just use 'type' field. How can I tell that it was submitted via 'record producer A' vs 'record producer B'?

 

Not in a position to use universal tasks at this time, hence interactions.

 

Solved: How can I report on Record Producer usage? - ServiceNow Community -- this post asked the same question (but on the call table) and the answer was wrong. The sc_item_produced_record only reports on tasks generated from RP but I don't believe calls extended task and interaction certainly doesn't.

3 REPLIES 3

Huynh Loc
Mega Sage

Hi @Ryan S ,

Out-of-the-box, ServiceNow does NOT provide a reliable way to identify which Record Producer created an Interaction.
The standard sc_item_produced_record table does not work for Interactions, because Interaction does not extend Task.
The only supported and reliable approach is to explicitly store the Record Producer reference yourself, typically via:

  • a custom reference field, or
  • stamping the producer Sys ID or name onto the Interaction during creation (script or Flow).

You can refer to this blog to get more details
https://servicenowguru.com/reporting/identify-servicenow-record-producer-create-record/

If this response was helpful, please consider marking it as Correct and Helpful. You may mark more than one reply as an accepted solution.

AndersBGS
Tera Patron

Hi @Ryan S 

 

Why would there be multiple record producers? In general an interaction is a user initiated interaction with i term generate a request, an incident or similar.... 

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

@AndersBGS the idea is there may be a couple entry points for the user to report some general issue or ask for something in general, each of which would be a different record producer but basically doing the same thing--> creating an interaction record so the ServiceDesk can then determine what to convert it into. Hence needing to see which form the user submitted to generate the interaction record.

For now just looking at the sc_item_record_produced at least lists the record producer, it just doesn't tie it back to the interaction, which may be good enough.