I have a form that a user fills in and when submitted it runs an agent. This agent creates a new document in a different database using the code below:
@Command([Compose]; "EURLNA02":"Apps/Parker House/EDI/EDICust.nsf";"EDI Satisfaction Survey");
I need it to then email a link to that document. However if I put the @mailsend function in the agent after this code it will send a link to the form that the person has just filled out, not the newly created document. Any suggestions?