<?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: How to remotely process/parse a queue in Alfresco (CMIS?) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remotely-process-parse-a-queue-in-alfresco-cmis/m-p/214755#M167885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mark.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since you mentioned that the queue/task accessing is already used in Alfresco internally and should be easily&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exposed through an external API. How can I propose to have this put on the roadmap for any future Alfresco releases?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you think exposing this kind of functionality externally through CMIS could/should be put on the list of proposed features to be adopted by the CMIS group?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The queue object could be exposed for instance through CMIS sql (CQL) ("select" and "update" queries) as with the dmi_queue_item in Documentum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course a temporary solution could be to use Alfresco's functionality rules/actions to update a custom property used solely for the purpose of the external process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to select the documents with the property set to a certain value to be marked as to be processed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This means to CMIS query all documents (perhaps of a certain type), instead querying&amp;nbsp; a queue object. Process the document in the external application and then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;having the external application&amp;nbsp; set (again through CMIS) the custom attribute to a not-to-be-processed value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is technically valid, but certainly not a best practice to implement a process on a content management system. The solution should work even on an existing document type&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and not introduce extra metadata to make it work. That's why you normally implement business processes with workflows, lifecycles etc. that contain the extra information on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the document concerned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2009 05:47:08 GMT</pubDate>
    <dc:creator>alexr</dc:creator>
    <dc:date>2009-05-20T05:47:08Z</dc:date>
    <item>
      <title>How to remotely process/parse a queue in Alfresco (CMIS?)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remotely-process-parse-a-queue-in-alfresco-cmis/m-p/214753#M167883</link>
      <description>I am trying to determine a best practice for a remote server application to process a queue in Alfresco.In Documentum a common solution was to parse the dmi_queue_item on the remote server through a query:select stamp from dmi_queue_item where name = '&amp;lt;&amp;lt;specific render process name here&amp;gt;&amp;gt;</description>
      <pubDate>Tue, 19 May 2009 09:27:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remotely-process-parse-a-queue-in-alfresco-cmis/m-p/214753#M167883</guid>
      <dc:creator>alexr</dc:creator>
      <dc:date>2009-05-19T09:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to remotely process/parse a queue in Alfresco (CMIS?)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remotely-process-parse-a-queue-in-alfresco-cmis/m-p/214754#M167884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this could be problematic.&amp;nbsp;&amp;nbsp; Although Alfresco has all the components to build a remote queueing system (and in fact uses these internally for actions and workflows)&amp;nbsp; AFAIK there is no exposed "Queueing API", in particular there is no "test and set" or "poll" operation.&amp;nbsp;&amp;nbsp; It would be a fairly easy addition,&amp;nbsp; but its not there at the moment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right that you could use actions or workflow but then the logic for processing the actions needs to be on the alfresco server rather than in your remote process.&amp;nbsp;&amp;nbsp;&amp;nbsp; The advantage here is that you can easily hold a transaction lock while you are processing a node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reading properties, uploading new versions is all standard stuff.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 10:20:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remotely-process-parse-a-queue-in-alfresco-cmis/m-p/214754#M167884</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-05-19T10:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to remotely process/parse a queue in Alfresco (CMIS?)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remotely-process-parse-a-queue-in-alfresco-cmis/m-p/214755#M167885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mark.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since you mentioned that the queue/task accessing is already used in Alfresco internally and should be easily&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exposed through an external API. How can I propose to have this put on the roadmap for any future Alfresco releases?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you think exposing this kind of functionality externally through CMIS could/should be put on the list of proposed features to be adopted by the CMIS group?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The queue object could be exposed for instance through CMIS sql (CQL) ("select" and "update" queries) as with the dmi_queue_item in Documentum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course a temporary solution could be to use Alfresco's functionality rules/actions to update a custom property used solely for the purpose of the external process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to select the documents with the property set to a certain value to be marked as to be processed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This means to CMIS query all documents (perhaps of a certain type), instead querying&amp;nbsp; a queue object. Process the document in the external application and then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;having the external application&amp;nbsp; set (again through CMIS) the custom attribute to a not-to-be-processed value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is technically valid, but certainly not a best practice to implement a process on a content management system. The solution should work even on an existing document type&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and not introduce extra metadata to make it work. That's why you normally implement business processes with workflows, lifecycles etc. that contain the extra information on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the document concerned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 05:47:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remotely-process-parse-a-queue-in-alfresco-cmis/m-p/214755#M167885</guid>
      <dc:creator>alexr</dc:creator>
      <dc:date>2009-05-20T05:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to remotely process/parse a queue in Alfresco (CMIS?)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remotely-process-parse-a-queue-in-alfresco-cmis/m-p/214756#M167886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To suggest an enhancement for Alfresco you can discuss it here, then if there is a firm proposal, raise an Enhancement Request in JIRA.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(If it's not in JIRA then it can't be worked on)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However the list of enhancements for Alfresco is already long and competition for resources to implement new features is fierce.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Even better would be to develop a solution and contribute it to Alfresco which you also do though JIRA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AFAIK the CMIS interface (and CQL) does not support UPDATE semantics.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm by no means an expert so perhaps someone with more knowledge could come in on the discussion?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 08:04:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remotely-process-parse-a-queue-in-alfresco-cmis/m-p/214756#M167886</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-05-20T08:04:00Z</dc:date>
    </item>
  </channel>
</rss>

