<?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: Prevent rules propagation to parent folder in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/prevent-rules-propagation-to-parent-folder/m-p/53616#M19962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I should have been more specific. By lower-level behavior I meant a Java behavior, see&amp;nbsp;&lt;A class="link-titled" href="https://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html" title="https://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;Implementing Custom Behaviors in Alfresco | ECMArchitect | Alfresco Developer Tutorials&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2018 21:25:58 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2018-05-11T21:25:58Z</dc:date>
    <item>
      <title>Prevent rules propagation to parent folder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/prevent-rules-propagation-to-parent-folder/m-p/53613#M19959</link>
      <description>Hello !I'm facing an issue with rules triggering in Alfresco (Community v5.2.0 (r135134-b14) schema 10 005).In our installation, we are using the rules to:Communicate to other server components about what happens in AlfrescoPrevent unwanted actions (like deleting some folders)We faced multiple issue</description>
      <pubDate>Tue, 17 Apr 2018 15:27:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/prevent-rules-propagation-to-parent-folder/m-p/53613#M19959</guid>
      <dc:creator>oshikaru</dc:creator>
      <dc:date>2018-04-17T15:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent rules propagation to parent folder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/prevent-rules-propagation-to-parent-folder/m-p/53614#M19960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using the "Items are deleted..." trigger and the "Execute script" action for your rule? I cannot recreate the case where a script gets called twice using that trigger and action for a simple, one-line script that just has a logger.debug statement in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe your script logic is triggering the rule twice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you considered using a lower-level behavior rather than a folder rule?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 18:27:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/prevent-rules-propagation-to-parent-folder/m-p/53614#M19960</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-04-23T18:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent rules propagation to parent folder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/prevent-rules-propagation-to-parent-folder/m-p/53615#M19961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have 4 rules applied on the 'Sites' folder. All sub folders iherit of the parent folder rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Update aspects&lt;/STRONG&gt; : '&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;Items are created or enter this folder&lt;/SPAN&gt;', execute a script to set some wanted custom aspects on items&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Synchronize&amp;nbsp;&lt;/STRONG&gt;: '&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;Items are created or enter this folder,&amp;nbsp;Items are updated,&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Items are deleted or leave this folder&lt;/SPAN&gt;&lt;/SPAN&gt;', to make a long story short, this script sends an HTTP request to another component.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Synchronize folder&lt;/STRONG&gt; : No longer used&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Prevent Edit Spaces&lt;/STRONG&gt; : '&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;Items are deleted or leave this folder,&amp;nbsp;Items are updated&lt;/SPAN&gt;' if '&lt;SPAN style="background-color: #ffffff; color: #58595b;"&gt;Type is : Folder&lt;/SPAN&gt;', the script that we are talking about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is not&amp;nbsp;about the double triggering of the rule(s) but more about the 'Prevent Edit Spaces' rule triggering on parent folder in the same transaction that the file deletion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by '&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;lower-level behavior&lt;/SPAN&gt;' ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your answer !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 08:13:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/prevent-rules-propagation-to-parent-folder/m-p/53615#M19961</guid>
      <dc:creator>oshikaru</dc:creator>
      <dc:date>2018-04-30T08:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent rules propagation to parent folder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/prevent-rules-propagation-to-parent-folder/m-p/53616#M19962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I should have been more specific. By lower-level behavior I meant a Java behavior, see&amp;nbsp;&lt;A class="link-titled" href="https://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html" title="https://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;Implementing Custom Behaviors in Alfresco | ECMArchitect | Alfresco Developer Tutorials&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 21:25:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/prevent-rules-propagation-to-parent-folder/m-p/53616#M19962</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-05-11T21:25:58Z</dc:date>
    </item>
  </channel>
</rss>

