I am trying to create two different section incoming email and outgoing email, but message type(which hold incoming and outgoing) is empty.
So wondering why message type is empty but it filled(outgoing) when creatio send auto email to contact like when case stage changes, etc.
Currently i am using To(in incoming section) and From(in outgoing section) to filter emails.
Like
Hello,
The problem is that the "Message type" column is no longer used in the new synchronization mechanism. We don't have a column property on the Activity that indicates whether it is an incoming or outgoing email.
This column is not populated by default. The logic that would fill this field does not currently exist in the system.
However, there is a way to determine this through additional filtering. When an email is synchronized, a record is created in the EmailMessageData table, which specifies the mailbox that synchronized the email. Based on this mailbox, the role of the email can be determined.
For example, if you synchronize the mailbox example@mail.com, then if this mailbox is in the "From" field, the role of the email will also be "From". If it is in the "To/CC/BCC" fields, the role of the email will correspondingly be "To/CC/BCC". Thus, you need to build a filter based on the relationships in EmailMessageData, where Role = From. In this case, you will filter for emails that were sent.
Additionally, you can configure a business process that will read the Role column of the EmailMessageData table for incoming/outgoing emails and, based on the Role field, set the Message type for the Activity record.
Best regards,
Pavlo!
Hello,
The problem is that the "Message type" column is no longer used in the new synchronization mechanism. We don't have a column property on the Activity that indicates whether it is an incoming or outgoing email.
This column is not populated by default. The logic that would fill this field does not currently exist in the system.
However, there is a way to determine this through additional filtering. When an email is synchronized, a record is created in the EmailMessageData table, which specifies the mailbox that synchronized the email. Based on this mailbox, the role of the email can be determined.
For example, if you synchronize the mailbox example@mail.com, then if this mailbox is in the "From" field, the role of the email will also be "From". If it is in the "To/CC/BCC" fields, the role of the email will correspondingly be "To/CC/BCC". Thus, you need to build a filter based on the relationships in EmailMessageData, where Role = From. In this case, you will filter for emails that were sent.
Additionally, you can configure a business process that will read the Role column of the EmailMessageData table for incoming/outgoing emails and, based on the Role field, set the Message type for the Activity record.
Best regards,
Pavlo!
Hello,
Its working. I tried business process approach and its working fine.
Thanks