Hi
what filters to apply to get the cases where the latest email associated with case apart from system emails is a incoming mail.
I have tried following filters. It is not giving expected results.
Like
Hi Nagaraju,
Could you try to filter by Case.Activity.Email message?
Hi Nagaraju,
I'm afraid that there are not OOB option to filter cases based on Your need.
As a workaround i may propose following solution:
- create db view (you can generate complex sql script to display only cases that last email was incoming) and next create view object (Represent Structure of DB View) based on it
- use this view object inside advanced filter (eg. by operator exists)
Regards,
Marcin
Hi Nagaraju,
First You have to build sql like example. Important is to expose all required system columns and one which will be guid of object (to have relation)
CREATE OR REPLACE VIEW "VwUsrAccountEmails" AS select distinct a."Id", a."CreatedOn",a."CreatedById",a."ModifiedOn",a."ModifiedById",a."ProcessListeners", a."AccountId" as "UserAccountId" from "Activity" a left join "Activity" b on a."AccountId"=b."AccountId" and a."Id"<>b."Id" and b."CreatedOn">a."CreatedOn" and b."AccountId" is not null where a."TypeId"='e2831dec-cfc0-df11-b00f-001d60e938c6' and b."Id" is null
Next create new view object with the same name as a db view, mark checkbox that this is view object, select Base Object as a parent and add new lookup column eg. UsrAccount (this column will give You possibility to use this object as in filter).
Ps. You have to replace Account to Case in my example to adopt it to Your need.
Best regards,
Macin