Skip to main content
New Participant
July 8, 2026
Question

Configure Event Type for Event Comments for multiple Records

  • July 8, 2026
  • 2 replies
  • 6 views

I have two records related to the same project, "Template" and "Area." Both records share the same EVENT_HISTORY and EVENT_TYPE tables. Each of these records has a 1:m relationship with the EVENT_HISTORY table, but we did not relate the EVENT_HISTORY table to either record. We have a recordType column on the EVENT_HISTORY table to differentiate what type of record each event is referring to. Our devs prefer this approach to creating a new EVENT_HISTORY and EVENT_TYPE table for every record for the sake of organization.

In each record, I have configured the events comment field to be a distinct event name for adding comments following these instructions.

  • Template Record -> "Comment on Template"
  • Area Record -> "Comment on Area"

The template record was created first and behaves as expected. 

Whenever I attempt to add top level comments to the event history list for the Area record, it stores the event type as the ID that corresponds to "Comment on Template."

I see the baseRecordId for comment where we will store the Area.Id, but do not see anywhere in the a!eventData where I can tell it what to use as the comment event type. Is commenting intended for use only when each record has its own EVENT_HISTORY table? 

Thanks in advance!

2 replies

shubhama926776
Brainy
July 9, 2026

Top‑level comments use a design‑time event type configured on each record’s Events -> Comments, and there is no way to pass a different event type via a!eventData. With a shared EVENT_HISTORY/EVENT_TYPE table, whether Template and Area can truly use different comment event types depends on how you’ve modeled the EVENT_TYPE record type and its filters; if the record type can’t distinguish the two rows, they’ll collapse to one event type and you’ll need separate EVENT_TYPE record types (or tables) to reliably separate Comment on Template vs Comment on Area.

शुभम्
pamelab10Author
New Participant
July 9, 2026

Thanks for your assistance Shubham.

The EVENT_TYPE record only has an ID and an eventName column. It has no filters. 

The two comment record rows are:

id eventName
3 Commented on Template
8 Commented on Area

The Template record's Event Name for Adding Comments is set the be "Commented on Template." The Area record's Event Name for Adding Comments is set to be "Commented on Area."

There are no events configured for the EVENT_TYPE or EVENT_HISTORY record, so neither has an Event Name for Adding Comments configurd. Both Template and Area are related to the one EVENT_HISTORY record passed into the a!eventHistoryList. All comments are written to the single EVENT_HISTORY table with eventTypeId=3.

Are you suggesting we add a recordTypeId column to the EVENT_TYPE table and create a new Event Type record for each record that uses filters to only fetch the appropriate event types? Or do you know a way to use comments with one EVENT_TYPE table and one Event Type record? 

Best,

Pamela