<?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: Get action id for action evaluated in ActionEvaluator impl in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-action-id-for-action-evaluated-in-actionevaluator-impl/m-p/264815#M217945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Patil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use the action definition for the action that is being evaluated in my ActionEvaluator implmentation to read a parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ActionService service = Repository.getServiceRegistry(context).getActionService();&lt;BR /&gt;ActionDefinition actionDefinition = service.getActionDefinition("test_id");&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;SPAN&gt;But in order to be able to read the definition I need the action id ('test_id').&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is just for the evaluator and not part of the action execution that is done in the actionhandler.execute() method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Feb 2011 10:21:26 GMT</pubDate>
    <dc:creator>bpeters</dc:creator>
    <dc:date>2011-02-24T10:21:26Z</dc:date>
    <item>
      <title>Get action id for action evaluated in ActionEvaluator impl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-action-id-for-action-evaluated-in-actionevaluator-impl/m-p/264813#M217943</link>
      <description>Does any one know if it is possible to retrieve the action id for the action that is currently evaluated when an ActionEvaluator is executed?I have for example the following action definition in my web-client-config:&amp;lt;action id="test_id"&amp;gt;&amp;nbsp; &amp;lt;permissions&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;permission allow="true"&amp;gt;W</description>
      <pubDate>Thu, 24 Feb 2011 06:25:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-action-id-for-action-evaluated-in-actionevaluator-impl/m-p/264813#M217943</guid>
      <dc:creator>bpeters</dc:creator>
      <dc:date>2011-02-24T06:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get action id for action evaluated in ActionEvaluator impl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-action-id-for-action-evaluated-in-actionevaluator-impl/m-p/264814#M217944</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;SPAN&gt;action id will be unique across the system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you write the unique actionlistener&amp;nbsp; for each action then in your actionlistener you can findout what is the actionid&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;action-listener&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #{ActionHandlerBean.execute}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/action-listener&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But what you are trying to do with the actionid?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Patil&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cignex Technologies&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bangalore&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 06:44:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-action-id-for-action-evaluated-in-actionevaluator-impl/m-p/264814#M217944</guid>
      <dc:creator>patil</dc:creator>
      <dc:date>2011-02-24T06:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get action id for action evaluated in ActionEvaluator impl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-action-id-for-action-evaluated-in-actionevaluator-impl/m-p/264815#M217945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Patil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use the action definition for the action that is being evaluated in my ActionEvaluator implmentation to read a parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ActionService service = Repository.getServiceRegistry(context).getActionService();&lt;BR /&gt;ActionDefinition actionDefinition = service.getActionDefinition("test_id");&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;SPAN&gt;But in order to be able to read the definition I need the action id ('test_id').&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is just for the evaluator and not part of the action execution that is done in the actionhandler.execute() method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 10:21:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-action-id-for-action-evaluated-in-actionevaluator-impl/m-p/264815#M217945</guid>
      <dc:creator>bpeters</dc:creator>
      <dc:date>2011-02-24T10:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get action id for action evaluated in ActionEvaluator impl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-action-id-for-action-evaluated-in-actionevaluator-impl/m-p/264816#M217946</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;SPAN&gt;Check the config service, u might get some method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Patil&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cignex Technologies&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bangalore&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 14:22:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-action-id-for-action-evaluated-in-actionevaluator-impl/m-p/264816#M217946</guid>
      <dc:creator>patil</dc:creator>
      <dc:date>2011-02-24T14:22:31Z</dc:date>
    </item>
  </channel>
</rss>

