How to change FromAddress to distinguish between  ServiceRequest and Incident GlobalAddresses for Journal email when clicking the New Email Button?

Version 1

    Details

     

    How to change FromAddress to distinguish between  ServiceRequest and Incident GlobalAddresses for Journal email when clicking the New Email Button? 

    You may have 2 different Global Address for a ServiceRequest and Incident email listener since Journal.Email is a shared object.

     


    Resolution

    Create an initialization rule for FromAddr field to distinguish between the address for the Global Address for Incident and Service Request for Journal.Email object.



    $(if [Incident#.]IncidentNumber != null
      then GetGlobal("ListenerEmailAddress")
       else if [ServiceReq#.]ServiceReqNumber != null
          then GetGlobal("ListenerEmailAddress")
              else "")