<?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: Getting rule owning nodeRef in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28453#M12158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The actionedNodeRef is not always a direct child of the folder, it can be created in a subfolder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2017 07:17:43 GMT</pubDate>
    <dc:creator>mhb</dc:creator>
    <dc:date>2017-06-01T07:17:43Z</dc:date>
    <item>
      <title>Getting rule owning nodeRef</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28445#M12150</link>
      <description>Hi,&amp;nbsp;I create a shared content rule for multiple folders,&amp;nbsp;but I couldn't find a way in the action executor to get the folder in which the rule was executed. Any idea?</description>
      <pubDate>Wed, 31 May 2017 09:59:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28445#M12150</guid>
      <dc:creator>mhb</dc:creator>
      <dc:date>2017-05-31T09:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rule owning nodeRef</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28446#M12151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i guess the rule should give you the nodeRef of the file and from there you can get the parent (if it is only 1)&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/docs/DOC-5359-noderef-cookbook" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/docs/DOC-5359-noderef-cookbook&lt;/A&gt; &amp;nbsp;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ChildAssociationRef childAssociationRef = nodeService.getPrimaryParent(nodeRef);&lt;BR /&gt;NodeRef parent = childAssociationRef.getParentRef();&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 11:56:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28446#M12151</guid>
      <dc:creator>mrks_js1</dc:creator>
      <dc:date>2017-05-31T11:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rule owning nodeRef</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28447#M12152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but this is a shared rule between multiple folders, it has many parents.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 12:02:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28447#M12152</guid>
      <dc:creator>mhb</dc:creator>
      <dc:date>2017-05-31T12:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rule owning nodeRef</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28448#M12153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well then i don't understand - what are you trying to achieve? and how is your rule configured (screenshot)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 12:11:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28448#M12153</guid>
      <dc:creator>mrks_js1</dc:creator>
      <dc:date>2017-05-31T12:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rule owning nodeRef</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28449#M12154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I define the rule under a static folder, then I link it to another one. &amp;nbsp;this is an example of parent relations between the rule and the rule folders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/14213_ruleParents.PNG" style="width: 620px; height: 95px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 13:00:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28449#M12154</guid>
      <dc:creator>mhb</dc:creator>
      <dc:date>2017-05-31T13:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rule owning nodeRef</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28450#M12155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #727174; border: 0px; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 20px 0px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;please explain what you are trying to achieve and how the rule is triggered&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 13:04:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28450#M12155</guid>
      <dc:creator>mrks_js1</dc:creator>
      <dc:date>2017-05-31T13:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rule owning nodeRef</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28451#M12156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The rule is triggered when an element in the folder is created, deleted or updated. I'm trying to get the NodeRef of this folder in the actionExecuter.(the rule is linked to the folder not created under its ruleFolder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 06:50:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28451#M12156</guid>
      <dc:creator>mhb</dc:creator>
      <dc:date>2017-06-01T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rule owning nodeRef</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28452#M12157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The&lt;SPAN style="background-color: #ffffff; color: #727174; white-space: pre;"&gt;&amp;nbsp;actionedUponNodeRef should&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #727174; white-space: pre;"&gt; be the noderef of the newly created File/folder and from there you can geht the Patent - no?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 07:10:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28452#M12157</guid>
      <dc:creator>mrks_js1</dc:creator>
      <dc:date>2017-06-01T07:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting rule owning nodeRef</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28453#M12158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The actionedNodeRef is not always a direct child of the folder, it can be created in a subfolder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 07:17:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-rule-owning-noderef/m-p/28453#M12158</guid>
      <dc:creator>mhb</dc:creator>
      <dc:date>2017-06-01T07:17:43Z</dc:date>
    </item>
  </channel>
</rss>

