In Data Manager, we have jobs which send emails to certain persons is the job fails or not.
I'm setting up a job to upload a text file and validate the data.
I want to be able to send the email to the person executing the job and not hard-code the To Address in the email.
Any suggestions on how to do this?
If it makes a difference, we use Active Directory.
thanks.
Hmmmm. Tricky one! None of the standard System Designer or System Runtime variables contain the ID or email of the user running the process. If you could somehow get hold of the email address from the command line or from an OS environment variable, you could populate a DM variable with that value and use the DM variable as the email address.
Just a thought...
MF.