<?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: Problem adding participants to a workflow in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/problem-adding-participants-to-a-workflow/m-p/326722#M13723</link>
    <description>&lt;P&gt;I think for our purposes and how the workflow does its indexing/counting, the expression has to be of the form&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2015 16:04:32 GMT</pubDate>
    <dc:creator>nathan1620_</dc:creator>
    <dc:date>2015-02-03T16:04:32Z</dc:date>
    <item>
      <title>Problem adding participants to a workflow</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-adding-participants-to-a-workflow/m-p/326718#M13719</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;I am trying to start a workflow (serial or parallel), but when I am assigning the participants, I get an error, and the workflow doesn't start.&lt;/P&gt;
&lt;P&gt;In the log I can see the following messages:&lt;/P&gt;
&lt;HR /&gt;
&lt;PRE&gt;&lt;CODE&gt;javax.servlet.ServletException: On requestURL ...
at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:152)
...
Caused by: javax.servlet.ServletException: [Error: null pointer: WorkflowVariables["participants"][(int)WorkflowVariables.index]]
[Near : {... WorkflowVariables["participant ....}]
             ^
[Line: 1, Column: 1]
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
...
Caused by: javax.faces.el.EvaluationException: [Error: null pointer: WorkflowVariables["participants"][(int)WorkflowVariables.index]]
[Near : {... WorkflowVariables["participant ....}]
             ^
[Line: 1, Column: 1]
	at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101)
...
Caused by: [Error: null pointer: WorkflowVariables["participants"][(int)WorkflowVariables.index]]
[Near : {... WorkflowVariables["participant ....}]
             ^
[Line: 1, Column: 1]
	at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:427)
...
Caused by: java.lang.NullPointerException
	at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getCollectionProperty(ReflectiveAccessorOptimizer.java:774)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;
&lt;P&gt;What can be the problem?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2014 12:04:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-adding-participants-to-a-workflow/m-p/326718#M13719</guid>
      <dc:creator>frangarciaguez_</dc:creator>
      <dc:date>2014-12-12T12:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding participants to a workflow</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-adding-participants-to-a-workflow/m-p/326719#M13720</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:24:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-adding-participants-to-a-workflow/m-p/326719#M13720</guid>
      <dc:creator>Vladimir_Pasqui</dc:creator>
      <dc:date>2015-01-12T11:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding participants to a workflow</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-adding-participants-to-a-workflow/m-p/326720#M13721</link>
      <description>&lt;P&gt;This issue should have been fixed with HF1. I'm running into the same problem still. Maybe try one of these variations:&lt;/P&gt;
&lt;P&gt;WorkflowVariables["participants"][(int)WorkflowVariables.index]]&lt;/P&gt;
&lt;P&gt;WorkflowVariables["participants"][WorkflowVariables["index"]]&lt;/P&gt;
&lt;P&gt;WorkflowVariables["participants"][(int)WorkflowVariables["index"]]&lt;/P&gt;
&lt;P&gt;None of them worked for me, but they might work for you. My issue is from the brackets around the index workflow variable expression, the expression itself works fine.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2015 19:26:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-adding-participants-to-a-workflow/m-p/326720#M13721</guid>
      <dc:creator>nathan1620_</dc:creator>
      <dc:date>2015-02-02T19:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding participants to a workflow</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-adding-participants-to-a-workflow/m-p/326721#M13722</link>
      <description>&lt;P&gt;Instead of brackets have you tried &lt;CODE&gt;WorkflowVariables[&amp;amp;quot;participants&amp;amp;quot;].get(WorkflowVariables[&amp;amp;quot;index&amp;amp;quot;])&lt;/CODE&gt; or variations thereof?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 10:53:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-adding-participants-to-a-workflow/m-p/326721#M13722</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2015-02-03T10:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding participants to a workflow</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-adding-participants-to-a-workflow/m-p/326722#M13723</link>
      <description>&lt;P&gt;I think for our purposes and how the workflow does its indexing/counting, the expression has to be of the form&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 16:04:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-adding-participants-to-a-workflow/m-p/326722#M13723</guid>
      <dc:creator>nathan1620_</dc:creator>
      <dc:date>2015-02-03T16:04:32Z</dc:date>
    </item>
  </channel>
</rss>

