<?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: Is it possible to set a OR Condition in a rule for a Folder? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48844#M18949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Another ugly way would be to duplicate the script but use different trigger „begins with“.&lt;/P&gt;&lt;P class=""&gt;This is not only ugly but also error prone as we can see using your (now it’s a good example &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; ) example. Both scripts would be triggered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 09:19:26 GMT</pubDate>
    <dc:creator>mehe</dc:creator>
    <dc:date>2018-01-18T09:19:26Z</dc:date>
    <item>
      <title>Is it possible to set a OR Condition in a rule for a Folder?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48841#M18946</link>
      <description>&amp;nbsp;The rule should trigger if the Name of the file starts with test OR test2 and if so move file to another folder.</description>
      <pubDate>Tue, 16 Jan 2018 08:23:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48841#M18946</guid>
      <dc:creator>philerck</dc:creator>
      <dc:date>2018-01-16T08:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set a OR Condition in a rule for a Folder?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48842#M18947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;„Begins with test OR test2“ is the same as „begins with test“&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you won‘t need any OR condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you &amp;nbsp;need a more complex condition, you could use „Execute script“ and put your condition in the javascript code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 21:11:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48842#M18947</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-01-17T21:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set a OR Condition in a rule for a Folder?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48843#M18948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin, thanks for an answer and help.&lt;/P&gt;&lt;P&gt;Test and Test2 was a bad example :-).&amp;nbsp; Made a script and it is working like it should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 07:34:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48843#M18948</guid>
      <dc:creator>philerck</dc:creator>
      <dc:date>2018-01-18T07:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set a OR Condition in a rule for a Folder?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48844#M18949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Another ugly way would be to duplicate the script but use different trigger „begins with“.&lt;/P&gt;&lt;P class=""&gt;This is not only ugly but also error prone as we can see using your (now it’s a good example &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; ) example. Both scripts would be triggered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 09:19:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48844#M18949</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-01-18T09:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set a OR Condition in a rule for a Folder?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48845#M18950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Script use a array within the possible "begins with" and it checks in a for loop the filename against the array with a regex. If its true then move the file to another folder. Is this ugly too? Or is there a better solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 11:09:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48845#M18950</guid>
      <dc:creator>philerck</dc:creator>
      <dc:date>2018-01-18T11:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set a OR Condition in a rule for a Folder?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48846#M18951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;I‘m shure there are a lot of good solutions we both are not thinking of - but yours sounds like it‘s ok and using an array for the regexes make it easy to understand (better than building a single regexp with a lot of OR conditions)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 11:18:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-set-a-or-condition-in-a-rule-for-a-folder/m-p/48846#M18951</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-01-18T11:18:44Z</dc:date>
    </item>
  </channel>
</rss>

