<?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: Rules on a space in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rules-on-a-space/m-p/126296#M88878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can execute JavaScript (script rule) which can do all you want - you can have as much logic as you want then:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jan 2008 19:09:16 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2008-01-14T19:09:16Z</dc:date>
    <item>
      <title>Rules on a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rules-on-a-space/m-p/126294#M88876</link>
      <description>When i add a rule on a space for associate an aspect to a determinate document, for example, extract metadatas for OpenOffice documents an add its aspect, where is it found in source code this filter??I am meanning that a would like to know how i can doing a filter for an space accept a rule, for ex</description>
      <pubDate>Wed, 19 Dec 2007 07:53:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rules-on-a-space/m-p/126294#M88876</guid>
      <dc:creator>durdy48</dc:creator>
      <dc:date>2007-12-19T07:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rules on a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rules-on-a-space/m-p/126295#M88877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it is more complex than a simple if.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll find the sourde code of the rules engine in the respository project in he packages org.alfresco.repo.rule and org.alfresco.repo.rule.trigger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example: Update Rule triggered by a&amp;nbsp; setProperty()-call:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;nodeService.setProperty(nodeRef, ContentModel.PROP_NAME, "nameChanged");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The concrete NodeServiceImplementation will perhaps be org.alfresco.repo.node.db.DbNodeServiceImpl. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This setProperty()-Implementation (there are a few indirections…) calls onUpdateProperties(…) method on a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NodeServicePolicies.OnUpdatePropertiesPolicy implementation, e.g. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.rule.ruletrigger.OnPropertyUpdateRuleTrigger. This triggers the rules (triggerRuleType() in org.alfresco.service.cmr.rule.RuleType).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 10:42:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rules-on-a-space/m-p/126295#M88877</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2007-12-19T10:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rules on a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rules-on-a-space/m-p/126296#M88878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can execute JavaScript (script rule) which can do all you want - you can have as much logic as you want then:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2008 19:09:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rules-on-a-space/m-p/126296#M88878</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2008-01-14T19:09:16Z</dc:date>
    </item>
  </channel>
</rss>

