Expand my Community achievements bar.

SOLVED

How to set TO: recipients withing SendEmail workflow process

Avatar

Former Community Member

Hi there,

I am trying to include the SendEmail process step within my workflow, but cannot determine how to set the TO: recipients (of the email) to the users within my workflow.  How can this be accomplished?

Also, how do I access my host info within that process?  ${host.prefix} doesn't resolve.

Thanks in advance,

RKB.

1 Accepted Solution

Avatar

Correct answer by
Level 10

use ${payload.propertyname} . All available property defined at [1]. If missing you need to include as part of payload Or call custom step & use Externalizer api.

Example
To: ${payload.email}

[1]  https://dev.day.com/docs/en/cq/current/workflows/wf-ref.html#Send%20Email

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

use ${payload.propertyname} . All available property defined at [1]. If missing you need to include as part of payload Or call custom step & use Externalizer api.

Example
To: ${payload.email}

[1]  https://dev.day.com/docs/en/cq/current/workflows/wf-ref.html#Send%20Email

Avatar

Former Community Member

The payloads don't have any user properties attached to them i.e. no email address.  I was hoping I could point it to a group within the workflow step, but I guess that's not what this process is designed for?