Configure Dynamic From Email to use with Send Email Node

We have a customer requirement that each server needs to have its own from email name and address:

DEV: Name - Appian DEV, Email - appianDEVdoNotReply@email.com

QA: Name - Appian QA, Email - appianQAdoNotReply@email.com

UAT: Name - Appian UAT, Email - appianUATdoNotReply@email.com

etc

Following the instructions in the decolumentation, I can configure dynamic email addresses, but it still shows a static name:

https://docs.appian.com/suite/help/17.1/Configuring_Custom_Email_Senders.html#expression-email-address

<?xml version="1.0" encoding="UTF-8"?>
<emailConfig>
  <addresses>
    <address name="customUser">
      <expression>=toemailaddress(user(cons!CUSTOM_USER, "email"))</expression>
    </address>
  </addresses>
  <collections>
    <collection name="from">
      <items>
        <item>customUser</item>
      </items>
    </collection>
  </collections>
</emailConfig>

Is it possible to use a dynamic portion in the email name as well?

<?xml version="1.0" encoding="UTF-8"?>
<emailConfig>
  <addresses>
    <address name="customUser">
      <expression>=toemailaddress(user(cons!CUSTOM_USER, "email"))</expression>
    </address>
  </addresses>
  <collections>
    <collection name="from">
      <items>
        <item>user(cons!CUSTOM_USER, "Name") </item>
      </items>
    </collection>
  </collections>
</emailConfig> 

 

  Discussion posts and replies are publicly visible

Parents
  • It seems you could accomplish this by creating one Text constant in the application, and marking it as environment specific. The dynamic sender in the process model will always point to this one constant, but you would set the constant up to have a different value in each environment (through an import customization file if necessary).
Reply
  • It seems you could accomplish this by creating one Text constant in the application, and marking it as environment specific. The dynamic sender in the process model will always point to this one constant, but you would set the constant up to have a different value in each environment (through an import customization file if necessary).
Children