<?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 saveAction with condition and rules in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/saveaction-with-condition-and-rules/m-p/27890#M14086</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;i am trying to understand the saveAction command with condition, and what exactly is the role of condition here. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;saveAction(NodeRef nodeRef, Action action) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Save an action against a node reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i didnt understand the diffrence between rule and an action, if any one can explain me, that would be great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; prasanth&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jan 2006 18:53:53 GMT</pubDate>
    <dc:creator>pmarreddy</dc:creator>
    <dc:date>2006-01-09T18:53:53Z</dc:date>
    <item>
      <title>saveAction with condition and rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/saveaction-with-condition-and-rules/m-p/27890#M14086</link>
      <description>hi , i am trying to understand the saveAction command with condition, and what exactly is the role of condition here. saveAction(NodeRef nodeRef, Action action) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Save an action against a node reference.i didnt understand the diffrence between rule and an action, if any one can explain me, t</description>
      <pubDate>Mon, 09 Jan 2006 18:53:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/saveaction-with-condition-and-rules/m-p/27890#M14086</guid>
      <dc:creator>pmarreddy</dc:creator>
      <dc:date>2006-01-09T18:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: saveAction with condition and rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/saveaction-with-condition-and-rules/m-p/27891#M14087</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;An Action, as I an sure you are aware, is a unit of work that can be performed on a node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An Action can have associated with it a optional collection of Conditions.&amp;nbsp; Each Condition can be evaluated against the node and a boolean result obtained.&amp;nbsp; When an action is executed all conditions are evaluated and their results combined with the AND operator.&amp;nbsp; This result is then used to determine whether the action should be executed or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A Composite Action extends Actions and allows many actions to be combined together to form singe action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A Rule extends Composite Action and additionally has information about how the rule should be triggered automatically by the repository when a specific event occures.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So in summary a Rule is simply an Action that can be triggered/executed automatically by the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The saveAction method allows actions to be saved against a node.&amp;nbsp; This means you can create an action (in the same way you can create a rule) and save it against an node for use later.&amp;nbsp; The difference is a saved action, unlike a rule, will never be automatically executed by the repository, it must be executed manually using the executeAction method on the actionService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UI support for this feature it not currently present, but in the future you could imagine being able to create a custom action, save it against a node and then have these saved actions appear in menus and actions lists in the UI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps to clear-up any confusion,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2006 11:06:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/saveaction-with-condition-and-rules/m-p/27891#M14087</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2006-01-11T11:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: saveAction with condition and rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/saveaction-with-condition-and-rules/m-p/27892#M14088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi roy, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank u verymuch for your prompt reply, it helped me to clear the confusion arround actions and rules.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2006 11:37:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/saveaction-with-condition-and-rules/m-p/27892#M14088</guid>
      <dc:creator>pmarreddy</dc:creator>
      <dc:date>2006-01-11T11:37:46Z</dc:date>
    </item>
  </channel>
</rss>

