<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Trigger email in document workflow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/trigger-email-in-document-workflow/m-p/269323#M222453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can update the workflow review and approve to add this action :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;webapps/alfresco/WEB-INF/classes/alfresco/workflow/review_processdefinition.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2011 16:17:16 GMT</pubDate>
    <dc:creator>bchevallereau</dc:creator>
    <dc:date>2011-12-13T16:17:16Z</dc:date>
    <item>
      <title>Trigger email in document workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trigger-email-in-document-workflow/m-p/269322#M222452</link>
      <description>Hi,In document library, I am using Review/Approve workflow from Document Actions.Whenever this workflow is started, I need an email alert to be triggered to Assignee, how to achieve this?Thanks,Gautami</description>
      <pubDate>Tue, 13 Dec 2011 06:38:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trigger-email-in-document-workflow/m-p/269322#M222452</guid>
      <dc:creator>gautami</dc:creator>
      <dc:date>2011-12-13T06:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger email in document workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trigger-email-in-document-workflow/m-p/269323#M222453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can update the workflow review and approve to add this action :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;webapps/alfresco/WEB-INF/classes/alfresco/workflow/review_processdefinition.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 16:17:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trigger-email-in-document-workflow/m-p/269323#M222453</guid>
      <dc:creator>bchevallereau</dc:creator>
      <dc:date>2011-12-13T16:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger email in document workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trigger-email-in-document-workflow/m-p/269324#M222454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Alfresco share. I've tried tweaking webapps/alfresco/WEB-INF/classes/alfresco/workflow/review_processdefinition.xml without any success. Can you provide the steps and code samples if possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gautami&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 04:46:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trigger-email-in-document-workflow/m-p/269324#M222454</guid>
      <dc:creator>gautami</dc:creator>
      <dc:date>2011-12-16T04:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger email in document workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trigger-email-in-document-workflow/m-p/269325#M222455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an example of JS code to execute to send an email :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;// create mail action&lt;BR /&gt;var mail = actions.create("mail");&lt;BR /&gt;&lt;BR /&gt;// set the required parameters&lt;BR /&gt;mail.parameters.to = "davidc@alfresco.com";&lt;BR /&gt;mail.parameters.subject = "Hello from JavaScript";&lt;BR /&gt;mail.parameters.from = "davidc@alfresco.com";&lt;BR /&gt;mail.parameters.template = root.childByNamePath("Company Home&lt;BR /&gt;&amp;nbsp; /Data Dictionary/Email Templates/notify_user_email.ftl");&lt;BR /&gt;mail.parameters.text = "some text, in case template is not found";&lt;BR /&gt;&lt;BR /&gt;// execute action against a document&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;mail.execute(doc);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Here, it's a very interesting for you to execute script during the workflow… And the example is done about how to send an email :&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/WorkflowAdministration#Actions_.26_Scripting" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/WorkflowAdministration#Actions_.26_Scripting&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This link can be useful too:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Workflow_JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Workflow_JavaScript_API&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 14:41:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trigger-email-in-document-workflow/m-p/269325#M222455</guid>
      <dc:creator>bchevallereau</dc:creator>
      <dc:date>2011-12-16T14:41:24Z</dc:date>
    </item>
  </channel>
</rss>

