Skip to main content Join the Agentforce Virtual Hackathon to build innovative solutions and compete for a $50k Grand Prize. Sign up now. Terms apply.
Jan Rippinger が「#Flow」で質問

I have created a Flow that sends an email using emailalert and afterwards creates an 'emailMessage' record in order to show that email in the activity timeline. This is working so far. But there are 2 things which are not.

  1. 'isTracked' is set to true but the email in the activity timeline stays always at "unopened" - is there something else I have to define? It is working when emails are sent and created the "regular/non-flow" way
  2. 'FromId' is where I would argue needs to be set the id of the user. Unfortunately it throws an error:
Error Occurred: Error occurred attempting to get data type for : RawFieldImpl[tableName: EmailMessage, columnName: FromId]

The result is that in the activity timeline it does not say "You sent the mail", but "jan.tonnet@..." sent the mail.

Struggling with created EmailMessages from Flow - isTracked & FromId not properly working

User-added image

User-added image
2 件の回答
  1. 2022年1月5日 18:27
    I am having the literal exact same issue. The tracking thing I think is potentially just impossible without sending it manually, but I don't understand why the to shows up as an email instead of the user.
0/9000