<?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 Problems to upload information to the form in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319559#M6560</link>
    <description>&lt;P&gt;Hi guys, I have two question:&lt;/P&gt;
&lt;P&gt;1)
I have an entity called Report and this Report can be related to one or more Missions existing in the database(another entity).
On Report Creation Form, we want to create a list where the user can select more than one Mission related.&lt;/P&gt;
&lt;P&gt;But I don't know which widget we can use there.
We must apply some query in that Mission list.
I know how create a list of "vocabulary", but we don't know how create a list for an entity, and how apply a query in this entity.
Could someone help me?&lt;/P&gt;
&lt;P&gt;2)
I have a Workflow for Report and this workflow has 2 Tasks (nodes).
The Task1 was forwarded to User1. This task has a field called "COMMENTS". I've set this value into a Workflow variable called "responsible_comments".
User1 fills this field, responds to User2 and this Task is finished.
The Task2 is started and I want to retrieve the last value of the "responsible_comments" into a Task2 form.
I've built the Task2 Form using the Workflow variable "responsible_comments", but this value is empty.
How can I show this value into Task2 Form?&lt;/P&gt;
&lt;P&gt;Follow the picture below&lt;IMG src="https://connect.hyland.com/upfiles/Image1.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/Variables_1.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/FirstNode_1.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/SecondNode.png" alt="alt text" /&gt;&lt;IMG src="https://connect.hyland.com/upfiles/Result.png" alt="alt text" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2013 13:35:41 GMT</pubDate>
    <dc:creator>klebervz_</dc:creator>
    <dc:date>2013-12-10T13:35:41Z</dc:date>
    <item>
      <title>Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319559#M6560</link>
      <description>&lt;P&gt;Hi guys, I have two question:&lt;/P&gt;
&lt;P&gt;1)
I have an entity called Report and this Report can be related to one or more Missions existing in the database(another entity).
On Report Creation Form, we want to create a list where the user can select more than one Mission related.&lt;/P&gt;
&lt;P&gt;But I don't know which widget we can use there.
We must apply some query in that Mission list.
I know how create a list of "vocabulary", but we don't know how create a list for an entity, and how apply a query in this entity.
Could someone help me?&lt;/P&gt;
&lt;P&gt;2)
I have a Workflow for Report and this workflow has 2 Tasks (nodes).
The Task1 was forwarded to User1. This task has a field called "COMMENTS". I've set this value into a Workflow variable called "responsible_comments".
User1 fills this field, responds to User2 and this Task is finished.
The Task2 is started and I want to retrieve the last value of the "responsible_comments" into a Task2 form.
I've built the Task2 Form using the Workflow variable "responsible_comments", but this value is empty.
How can I show this value into Task2 Form?&lt;/P&gt;
&lt;P&gt;Follow the picture below&lt;IMG src="https://connect.hyland.com/upfiles/Image1.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/Variables_1.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/FirstNode_1.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/SecondNode.png" alt="alt text" /&gt;&lt;IMG src="https://connect.hyland.com/upfiles/Result.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 13:35:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319559#M6560</guid>
      <dc:creator>klebervz_</dc:creator>
      <dc:date>2013-12-10T13:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319560#M6561</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 15:04:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319560#M6561</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2013-12-10T15:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319561#M6562</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 20:14:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319561#M6562</guid>
      <dc:creator>klebervz_</dc:creator>
      <dc:date>2013-12-10T20:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319562#M6563</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 10:50:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319562#M6563</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2013-12-11T10:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319563#M6564</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 12:36:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319563#M6564</guid>
      <dc:creator>klebervz_</dc:creator>
      <dc:date>2013-12-11T12:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319564#M6565</link>
      <description>&lt;P&gt;In the first node, in Column 1, you have "Responsible comment", which looks like suspect.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 14:22:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319564#M6565</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2013-12-11T14:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319565#M6566</link>
      <description>&lt;P&gt;I made the changes, and still appears empty.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 15:24:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319565#M6566</guid>
      <dc:creator>klebervz_</dc:creator>
      <dc:date>2013-12-11T15:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319566#M6567</link>
      <description>&lt;P&gt;Sorry, I've no more idea.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 15:37:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319566#M6567</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2013-12-11T15:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319567#M6568</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 11:05:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319567#M6568</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2013-12-12T11:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319568#M6569</link>
      <description>&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; What you're looking for is probably the "singleDocumentSuggestion" widget since Missions seem to be documents rather than static info from a vocabulary.&lt;/P&gt;
&lt;P&gt;To make sure you can only choose mission documents, you'll have to set the "Document page provider name" to a custom "page provider". Those can only be contributed in XML right now (Advanced settings in Studio), here is some sample code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"&amp;gt;
  &amp;lt;coreQueryPageProvider name="missionsProvider"&amp;gt;
    &amp;lt;pattern&amp;gt;
      SELECT * FROM Mission WHERE ecm:currentLifeCycleState != 'deleted'
    &amp;lt;/pattern&amp;gt;
  &amp;lt;/coreQueryPageProvider&amp;gt;
&amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(more pageprovider examples at: &lt;A href="http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20Platform-5.8/viewExtensionPoint/org.nuxeo.ecm.platform.query.api.PageProviderService--providers)" target="test_blank"&gt;http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20Platform-5.8/viewExtensionPoint/org.nuxeo.ecm.platform.query.api.PageProviderService--providers)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; Why don't you assign the same workflow variable "responsible_comments" to both tasks? Unless I misunderstood something you used a node/task variable for Task1 while you could directly use "responsible_comments". Unless you overwrite "responsible_comments" between tasks, there's no reason its value could disappear.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 12:30:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319568#M6569</guid>
      <dc:creator>Marwane_K_A_</dc:creator>
      <dc:date>2013-12-12T12:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319569#M6570</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 13:11:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319569#M6570</guid>
      <dc:creator>klebervz_</dc:creator>
      <dc:date>2013-12-12T13:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319570#M6571</link>
      <description>&lt;P&gt;In that case it's definitely supposed to work. There must be something else to explain the variable being reset, like an automation with a "Update workflow variable" or something...&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 14:09:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319570#M6571</guid>
      <dc:creator>Marwane_K_A_</dc:creator>
      <dc:date>2013-12-12T14:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319571#M6572</link>
      <description>&lt;P&gt;Hi Manuek,&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 14:33:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319571#M6572</guid>
      <dc:creator>klebervz_</dc:creator>
      <dc:date>2013-12-17T14:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload information to the form</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319572#M6573</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 14:34:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problems-to-upload-information-to-the-form/m-p/319572#M6573</guid>
      <dc:creator>klebervz_</dc:creator>
      <dc:date>2013-12-17T14:34:06Z</dc:date>
    </item>
  </channel>
</rss>

