Hi, when an email node in a process model deployed to a different environment (e

Hi, when an email node in a process model deployed to a different environment (example from Test to Production). It seems to remember the sender email address from the previous environment rather than using the new sender email address that we setup in the targeted environment eventhough they both using the same option from the sender drop down list in the email node. We noticed this in our release because the recipient is receiving the email from the test email address. To fix the problem, we need to modify the process model in the Production environment to reconfigure the email node by switching the sender to Process Model option, save the process model, then switching back to the original setting to pick up the correct email address from the config file. We found this process is cumbersome as we have a lot of process models with email nodes in them. Is there a better way to handle this situation?...

OriginalPostID-70844

OriginalPostID-70844

  Discussion posts and replies are publicly visible

Parents
  • Hi Akhilan,
    We have not tried that. So do you mean I just created a constant that stores the email address string in Appian and then in email-address-config-custom.xml I just use the reference of that constant in expression like below:

    <?xml version="1.0" encoding="UTF-8"?>
    <emailConfig>
    <addresses>
    <address name="customUser">
    <expression>cons!CUSTOM_SENDER_EMAIL_ADDRESS</expression>
    </address>
    </addresses>
    <collections>
    <collection name="from">
    <items>
    <item>customUser</item>
    </items>
    </collection>
    </collections>
    </emailConfig>

    where cons!CUSTOM_SENDER_EMAIL_ADDRESS contains the email address that originally was set as default sender email address. Is this correct?



Reply
  • Hi Akhilan,
    We have not tried that. So do you mean I just created a constant that stores the email address string in Appian and then in email-address-config-custom.xml I just use the reference of that constant in expression like below:

    <?xml version="1.0" encoding="UTF-8"?>
    <emailConfig>
    <addresses>
    <address name="customUser">
    <expression>cons!CUSTOM_SENDER_EMAIL_ADDRESS</expression>
    </address>
    </addresses>
    <collections>
    <collection name="from">
    <items>
    <item>customUser</item>
    </items>
    </collection>
    </collections>
    </emailConfig>

    where cons!CUSTOM_SENDER_EMAIL_ADDRESS contains the email address that originally was set as default sender email address. Is this correct?



Children
No Data