<?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: How to validate the document creation with unique uid using automation chain in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-validate-the-document-creation-with-unique-uid-using/m-p/324283#M11284</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Since studio is using MVEL, i guess you can use the usual MVEL synthx for conditions: &lt;A href="http://docs.codehaus.org/display/MVEL/MVEL+2.0+Control+Flow" target="test_blank"&gt;http://docs.codehaus.org/display/MVEL/MVEL+2.0+Control+Flow&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2012 17:32:34 GMT</pubDate>
    <dc:creator>Laurent_Doguin</dc:creator>
    <dc:date>2012-02-08T17:32:34Z</dc:date>
    <item>
      <title>How to validate the document creation with unique uid using automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-validate-the-document-creation-with-unique-uid-using/m-p/324282#M11283</link>
      <description>&lt;P&gt;Hello, I need validate the creation of documents with unique uid. I need to use a condition on automation chain for verify the uid on documents in the repository but I don´t know how to do that?
I have reviewed all operations in studio but I don't see something  with conditions&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 19:34:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-validate-the-document-creation-with-unique-uid-using/m-p/324282#M11283</guid>
      <dc:creator>geekonspace</dc:creator>
      <dc:date>2012-02-06T19:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate the document creation with unique uid using automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-validate-the-document-creation-with-unique-uid-using/m-p/324283#M11284</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Since studio is using MVEL, i guess you can use the usual MVEL synthx for conditions: &lt;A href="http://docs.codehaus.org/display/MVEL/MVEL+2.0+Control+Flow" target="test_blank"&gt;http://docs.codehaus.org/display/MVEL/MVEL+2.0+Control+Flow&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 17:32:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-validate-the-document-creation-with-unique-uid-using/m-p/324283#M11284</guid>
      <dc:creator>Laurent_Doguin</dc:creator>
      <dc:date>2012-02-08T17:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate the document creation with unique uid using automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-validate-the-document-creation-with-unique-uid-using/m-p/324284#M11285</link>
      <description>&lt;P&gt;Another way of doing it is to create the id automatically using Fn.getNextId (maybe using the metadata of the document) so that you will be sure to have a unique id.
Find here an example on custom doc id generation :
&lt;A href="http://doc.nuxeo.com/x/pQM7" target="test_blank"&gt;http://doc.nuxeo.com/x/pQM7&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 03:43:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-validate-the-document-creation-with-unique-uid-using/m-p/324284#M11285</guid>
      <dc:creator>Fred_Vadon</dc:creator>
      <dc:date>2012-02-09T03:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate the document creation with unique uid using automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-validate-the-document-creation-with-unique-uid-using/m-p/324285#M11286</link>
      <description>&lt;P&gt;what I want to do is first search in the repository for a document with uid = metadata value in my  current document, if I find another document with the same uid then my current document shouldn't be created. This uid always is get from another value of metadata that  user write&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 14:03:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-validate-the-document-creation-with-unique-uid-using/m-p/324285#M11286</guid>
      <dc:creator>geekonspace</dc:creator>
      <dc:date>2012-02-09T14:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate the document creation with unique uid using automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-validate-the-document-creation-with-unique-uid-using/m-p/324286#M11287</link>
      <description>&lt;P&gt;Doing the "count" fo your select is something that can be done easily with automation (using This.size() for exemple) but the problem is more that we don't currently any operation that would break the transaction nicely.
The best option would be to write a JSF validator that does what you meant and reference it in the "validator" property of your widget. This is development with Nuxeo IDE.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 07:48:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-validate-the-document-creation-with-unique-uid-using/m-p/324286#M11287</guid>
      <dc:creator>Alain_ESCAFFRE</dc:creator>
      <dc:date>2012-02-10T07:48:48Z</dc:date>
    </item>
  </channel>
</rss>

