we have an issue with "Configuring Custom Email Senders". When we firs

we have an issue with "Configuring Custom Email Senders". When we first implemented that functionality,wWe followed the instruction on Appian 6.2 ,and migrate those conf files till now on Appian 7.0.
We have the same integration on all environments (DEV,UAT,PROD) the only difference is the mail address on each server.
For example on DEV it is bpmsdev@company.com and on PROD it is bpms prod@company.com.
And the issue is , when on some process instance "sent mail " is executing from PROD , actually it is like sending from DEV or UAT.
How it is possible and does anybody faced the same situation and how it was solved?
Thanks in advance,Natasa...

OriginalPostID-114232

OriginalPostID-114232

  Discussion posts and replies are publicly visible

Parents
  • So as I understand I need to define a constant where I will save an user from which e-mail adress i wil sent those system mails.Than I will need to redefine the conf. file like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <emailConfig>
    - <addresses>
    - <address name="process">
    - <!-- This name is a key which needs to be specified in the collection to which it belongs
    -->
    <expression>=getProcessEmail(pp!id)</expression>
    - <!-- Either emailAddress or expression
    -->
    </address>
    - <address name="processModel">
    <expression>=getProcessModelEmail(pm!id)</expression>
    </address>
    - <address name="processInitiator">
    <expression>=toemailaddress(user(pp!initiator,"email"))</expression>
    </address>
    - <address name="processDesigner">
    <expression>=toemailaddress(user(pp!designer,"email"))</expression>
    </address>
    address name="Appian BPMS">
    <expression>=toemailaddress(user(cons!CUSTOM_USER, "email"))</expression>
    </address>
    </addresses>
    - <collections>
    - <collection name="from">
    - <items>
    <item>AppianBPMS</item>
    <item>process</item>
    <item>processModel</item>
    <item>processInitiator</item>
    <item>processDesigner</item>
    </items>
    </collection>
    And after restarting server,we need to do save and publish on each process model where we use Sent Mail smart service.
    Right or it will be implemented automatically?
    The links that you are sharing with me are for Appian 7.5 but there compatible with Appian 7.0?
    What about when we do next modification on any application and export import it on PROD is there anything that we need to do?
Reply
  • So as I understand I need to define a constant where I will save an user from which e-mail adress i wil sent those system mails.Than I will need to redefine the conf. file like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <emailConfig>
    - <addresses>
    - <address name="process">
    - <!-- This name is a key which needs to be specified in the collection to which it belongs
    -->
    <expression>=getProcessEmail(pp!id)</expression>
    - <!-- Either emailAddress or expression
    -->
    </address>
    - <address name="processModel">
    <expression>=getProcessModelEmail(pm!id)</expression>
    </address>
    - <address name="processInitiator">
    <expression>=toemailaddress(user(pp!initiator,"email"))</expression>
    </address>
    - <address name="processDesigner">
    <expression>=toemailaddress(user(pp!designer,"email"))</expression>
    </address>
    address name="Appian BPMS">
    <expression>=toemailaddress(user(cons!CUSTOM_USER, "email"))</expression>
    </address>
    </addresses>
    - <collections>
    - <collection name="from">
    - <items>
    <item>AppianBPMS</item>
    <item>process</item>
    <item>processModel</item>
    <item>processInitiator</item>
    <item>processDesigner</item>
    </items>
    </collection>
    And after restarting server,we need to do save and publish on each process model where we use Sent Mail smart service.
    Right or it will be implemented automatically?
    The links that you are sharing with me are for Appian 7.5 but there compatible with Appian 7.0?
    What about when we do next modification on any application and export import it on PROD is there anything that we need to do?
Children
No Data