Hi All,
We have an custom event which should send an email when Application of Payment status is set to cancelled.
To email address will be fetching from a custom attribute CM_EMAIl:
IFSAPP.Pers_comms_Work_API.Get_Work_Email(&NEW:COMPANY,IFSAPP.Company_Person_Api.Get_Person_Emp_No(&NEW:COMPANY,IFSAPP.sales_contract_api.Get_Contract_Manager(&NEW:CONTRACT_NO)))
But this email is failing because of the error ‘ Mail To-address is not specified’.
This is APP 08 and checked the custom attribute with the documentation example as well.
Kindly advise me whether this Function requires permission to fetch value.
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/76253555-c617-4f81-a382-c5eb103c4d2e.png)
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/12724eb5-ac31-4b49-b48a-1acde01564d9.png)
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/3c737c67-a939-41ff-b7e8-8c5f71c4e53a.png)
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/be18ec7a-ba7f-47c2-a27d-23202f6cf709.png)