<?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: start-pooled-review-workflow.js in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/start-pooled-review-workflow-js/m-p/255117#M208247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your code is fine with one exception (the group name, see below). I just ran it successfully on 4.0.a Community (I assume that is what you are running based on your forum profile).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A few things to check:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - Your code is using the jBPM engine. Starting in 4.0 there are two: jBPM and Activiti. Make sure that you haven't set system.workflow.engine.jbpm.enabled to false in alfresco-global.properties. You might also check repository.properties in the Alfresco WAR to make sure that property is set to true.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - In my WAR-only install, the jBPM workflows were not deployed by default, so to get your code to run successfully I went to the &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp" rel="nofollow noopener noreferrer"&gt;workflow console&lt;/A&gt;&lt;SPAN&gt; and did a "deploy jbpm alfresco/workflow/review_pooled_processdefinition.xml" to deploy the jBPM version of the pooled review definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - Most of the time &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; when you make API calls related to groups, you need to prepend the group name with "GROUP_". So in your case, instead of using ALFRESCO_ADMINISTRATORS use GROUP_ALFRESCO_ADMINISTRATORS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully, your problem is related to one of the above. If not, let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2012 17:36:12 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2012-02-27T17:36:12Z</dc:date>
    <item>
      <title>start-pooled-review-workflow.js</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-pooled-review-workflow-js/m-p/255116#M208246</link>
      <description>Hi thereI am trying to get the Perform Action: Execute script -&amp;gt; Start Pooled Review and Approve Workflow to work for a rule.My group name is company_marketing.What do I need to change in the code below?&amp;nbsp; Have tried variations of: var reviewGroup = "company_marketing";&amp;nbsp; … var reviewGroup = "GROUP</description>
      <pubDate>Wed, 25 Jan 2012 23:20:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-pooled-review-workflow-js/m-p/255116#M208246</guid>
      <dc:creator>iandj</dc:creator>
      <dc:date>2012-01-25T23:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: start-pooled-review-workflow.js</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-pooled-review-workflow-js/m-p/255117#M208247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your code is fine with one exception (the group name, see below). I just ran it successfully on 4.0.a Community (I assume that is what you are running based on your forum profile).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A few things to check:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - Your code is using the jBPM engine. Starting in 4.0 there are two: jBPM and Activiti. Make sure that you haven't set system.workflow.engine.jbpm.enabled to false in alfresco-global.properties. You might also check repository.properties in the Alfresco WAR to make sure that property is set to true.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - In my WAR-only install, the jBPM workflows were not deployed by default, so to get your code to run successfully I went to the &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp" rel="nofollow noopener noreferrer"&gt;workflow console&lt;/A&gt;&lt;SPAN&gt; and did a "deploy jbpm alfresco/workflow/review_pooled_processdefinition.xml" to deploy the jBPM version of the pooled review definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - Most of the time &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; when you make API calls related to groups, you need to prepend the group name with "GROUP_". So in your case, instead of using ALFRESCO_ADMINISTRATORS use GROUP_ALFRESCO_ADMINISTRATORS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully, your problem is related to one of the above. If not, let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 17:36:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-pooled-review-workflow-js/m-p/255117#M208247</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-02-27T17:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: start-pooled-review-workflow.js</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-pooled-review-workflow-js/m-p/255118#M208248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to use the Activiti engine instead, you only need to modify two lines in the script to make it work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt; &amp;nbsp;&amp;nbsp;&amp;nbsp;workflow.parameters.workflowName = "jbpm$wf:reviewpooled";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;workflow.parameters.workflowName = "activiti$activitiReviewPooled";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt; &amp;nbsp;&amp;nbsp;&amp;nbsp;workflow.parameters["bpm:groupAssignee"] = assigneeGroup;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;workflow.parameters["bpm:groupAssignee"] = people.getGroup( assigneeGroup );&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tested in Alfresco 4.0.b Community.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 18:15:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-pooled-review-workflow-js/m-p/255118#M208248</guid>
      <dc:creator>lyles</dc:creator>
      <dc:date>2012-03-22T18:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: start-pooled-review-workflow.js</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-pooled-review-workflow-js/m-p/255119#M208249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks you &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; it helped me too&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 14:46:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-pooled-review-workflow-js/m-p/255119#M208249</guid>
      <dc:creator>prignony</dc:creator>
      <dc:date>2014-08-20T14:46:32Z</dc:date>
    </item>
  </channel>
</rss>

