cancel
Showing results for 
Search instead for 
Did you mean: 

How to get document owner to send custom mail template?

former_member289076
Discoverer
0 Kudos


Hello,

I am trying to send custom template to Master agreement owner using below script:

ownerRef = doc.getDocumentOwnerUserReference();

owner = IapiAccountLocator.lookup(session, ownerRef);

email = owner.getEmail();

but system sends mail to agreement template owner always.

Any suggestion to findout Master agreement owner..

Regards,

Jagadeesh

Accepted Solutions (0)

Answers (1)

Answers (1)

kushagra_agrawal
Active Participant
0 Kudos

Hi Jagadeesh,

Where are you writing this script?

Thanks,

Kushagra A