AnsweredAssumed Answered

Hyperlink using javascript

Question asked by pp20218 on Sep 23, 2010
Latest reply on Oct 8, 2010 by pp20218
Hi All,
I am making some changes to the Approve/Reject workflow which is existing in Alfresco Out of Box. My requirement is it will trigger an email to the reviewer and the email will contain an hyperlink .On clicking the hyperlink, it will lead the reviewer to login to alfresco.

I have used the below Code

                var mail = actions.create("mail");
                 mail.parameters.to = initiator.properties.email;
                 mail.parameters.subject = "Approve/Reject the document " + bpm_workflowDescription;
                 mail.parameters.from = bpm_assignee.properties.email;
                 mail.parameters.text = "IT WILL HAVE A HYPERLINK ON CLICKING IT ALFRESCO LOGIN SCREEN WILL OPEN"
                 mail.execute(bpm_package);


I can able to send the email. But how i can make that link in the body message??

Pls help me with your inputs.

Thanks
PP

Outcomes