Configure Event Type for Event Comments for multiple Records
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!
