function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
prashdevprashdev 

Creating Tasks and displayed in Unresolved Items

Hi Everyone,

 

I wanted to create "Unresolved Items"(Tasks or Emails) from Email Service apex class if the cc email is not associated with any contact record.

 

Is this be possible? or there will be some other workaround for achieving this with the email services?

 

Any Help will be appreciated

 

Thanks in advance

 

Deepa.B.AnkaliDeepa.B.Ankali
@prashdev,

you can fetch CC email addresses and compare with existing contact's email by using a query. create tasks accordingly if there is no contact with that email.
prashdevprashdev
Thanks DeepaAnika
But how can we add those tasks in Unresolved Items(Salesforce to Outlook) for assigning that task to any standard/custom object later.
Mehdi EL BilaliMehdi EL Bilali
hello Prashdev,

Did you succeed by creating a task and displayed it in Unresolved Items from an Apex class?

Thanks.
Mehdi