<?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: Workflow notification and templates in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73741#M23708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible someone changed the name of any of those folders in that path?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone deleted that Freemarker template?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you browse to it in the node browser and copy-and-paste the full QName path here for us to compare? Mine is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;/app:company_home/app:dictionary/app:email_templates/cm:workflownotification/cm:invite-email_fr.html.ftl&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2018 04:07:10 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2018-09-18T04:07:10Z</dc:date>
    <item>
      <title>Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73732#M23699</link>
      <description>Hi,&amp;nbsp;I try to use the default template for my workflow notifications but I get a 500 error code&amp;nbsp;The notification works if I use these folowings :var mail = actions.create("mail");mail.parameters.to = initiator.properties.email;&amp;nbsp;mail.parameters.subject = "Adhoc Task " + execution.getVariable('bpm_work</description>
      <pubDate>Mon, 10 Sep 2018 11:54:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73732#M23699</guid>
      <dc:creator>livier</dc:creator>
      <dc:date>2018-09-10T11:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73733#M23700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't already have the JavaScript Console installed you should install it, then copy-and-paste this code into it. Change references to "execution" to hardcoded values for test purposes, then run it and see what happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run your code in the JS console it successfully find the wf-email.html.ftl template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that works for you, the next step might then be to run this locally with the JavaScript Debugger enabled in log4j.properties. When you start Tomcat that will launch a little GUI that you can use to debug the JavaScript getting executed in your process. That might better enable you to see what's going on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 18:06:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73733#M23700</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-09-11T18:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73734#M23701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer.&lt;/P&gt;&lt;P&gt;I’m new and I don’t Know how to install the JavaScript console. Is there a tuto please ?&lt;/P&gt;&lt;P&gt;I don’t get What you mean by&lt;/P&gt;&lt;P&gt;« change references to « executions » to harcoded values for test values ». Could you be more specific please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 18:26:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73734#M23701</guid>
      <dc:creator>livier</dc:creator>
      <dc:date>2018-09-11T18:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73735#M23702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried to install the javascript console but it doesn't work with maven.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/share-extras/js-console" title="https://github.com/share-extras/js-console" rel="nofollow noopener noreferrer"&gt;GitHub - share-extras/js-console: Administration Console component for Alfresco Share, that enables the execution of arb…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've added the dependancies and overlays in my pom.xml files.&lt;/P&gt;&lt;P&gt;I don't get any errors while building my projet.&lt;BR /&gt;But when I navigate to an Administration page such as Users or Group, I don't have the javascript console in the left-hand-side navigation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 11:11:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73735#M23702</guid>
      <dc:creator>livier</dc:creator>
      <dc:date>2018-09-12T11:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73736#M23703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The JavaScript Console works perfectly when installed in your SDK project, so you must have missed a step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you've added the repo dependency to "platformModules" as well as the share dependency to "shareModules" in your pom.xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, comment-in the maven-assembly-plugin so that your project will produce AMPs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that still doesn't work, post your pom.xml.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 17:49:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73736#M23703</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-09-12T17:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73737#M23704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dependencies and overlays are only for SDK 2.x.&lt;/P&gt;&lt;P&gt;If you are using the SDK 3.x, then you should use what &lt;B&gt;Jeff Potts&lt;/B&gt;‌ said.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 22:33:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73737#M23704</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-09-12T22:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73738#M23705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone and thank you very much for your answers.&lt;/P&gt;&lt;P&gt;I actually use SDK3.x and I did use dependancies and overlays.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I'm a newbie I search on how to install javascript console on sdk 3 : &lt;A class="link-titled" href="http://forums.alfresco.com.cn/node/162" title="http://forums.alfresco.com.cn/node/162" rel="nofollow noopener noreferrer"&gt;Working with Alfresco SDK 3: AMPs | Alfresco 社区 - 中国&lt;/A&gt;&amp;nbsp; --&amp;gt; The javascript console works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I get back to my problem, if I run this code in my JS console :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;print(companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email_fr.html.ftl"));&lt;BR /&gt;print(companyhome.childByNamePath("Data Dictionary/"));&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I get on the console output :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;null&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 03:40:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73738#M23705</guid>
      <dc:creator>livier</dc:creator>
      <dc:date>2018-09-13T03:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73739#M23706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code copied as-is into my JavaScript console returns:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #e2fdd2;"&gt;wf-email_fr.html.ftl (workspace://SpacesStore/8ebe9c46-aa3c-41a0-be01-5a89228778dd)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #e2fdd2;"&gt; Data Dictionary (workspace://SpacesStore/06f0b0a3-1359-4005-8959-b932048e3c63)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Are you running as admin?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you browse to the Data Dictionary as the ID that is running this code and read the folders and documents that are there?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 02:57:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73739#M23706</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-09-18T02:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73740#M23707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff and thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am with the admin session so I assume that I run the code as an admin.&lt;BR /&gt;Moreover, in my workflow, I use :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="runAs"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[admin]]&amp;gt;&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:string&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;![CDATA[&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can browse to the data dictionary, read and modify repertories and files in there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to use the code&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;print(companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email_fr.html.ftl"));&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;in my prod server, I get the same result : "null"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 03:20:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73740#M23707</guid>
      <dc:creator>livier</dc:creator>
      <dc:date>2018-09-18T03:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73741#M23708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible someone changed the name of any of those folders in that path?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone deleted that Freemarker template?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you browse to it in the node browser and copy-and-paste the full QName path here for us to compare? Mine is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;/app:company_home/app:dictionary/app:email_templates/cm:workflownotification/cm:invite-email_fr.html.ftl&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 04:07:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73741#M23708</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-09-18T04:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73742#M23709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;BR /&gt;From now, I am the only one who use the application. &lt;/P&gt;&lt;P&gt;In the node browser when I seach with the noderef of the &lt;SPAN class=""&gt;invite-email_fr.html.ftl&lt;/SPAN&gt; file, I get the primary path &lt;SPAN class=""&gt;/app:company_home/app:dictionary/app:email_templates/cm:workflownotification/cm:invite-email_fr.html.ftl&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 04:33:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73742#M23709</guid>
      <dc:creator>livier</dc:creator>
      <dc:date>2018-09-18T04:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow notification and templates</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73743#M23710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, that is strange. If you are logged in to Share as admin and you can browse and search for that template, you should be able to use the JavaScript Console to run that print statement and it should work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 22:55:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-notification-and-templates/m-p/73743#M23710</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-09-18T22:55:37Z</dc:date>
    </item>
  </channel>
</rss>

