How to set TO: recipients withing SendEmail workflow process | Community
Skip to main content
October 16, 2015
Solved

How to set TO: recipients withing SendEmail workflow process

  • October 16, 2015
  • 2 replies
  • 915 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

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

2 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

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

October 16, 2015

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?