<?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 can I get the document status with Javascript application or CMIS. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-document-status-with-javascript-application-or/m-p/292331#M245461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;commented document-oriented and "cmisable" aprox. for custom:docStatus has many benefits in Alfresco Share (coming from a workflow or not), because you can include the document status (usually it is a contraint list of values) as a facet, obtaining a nice filter in Alfresco search (for example querying ASPECT:"custom:stastusable" or any other search). Also, you can make custom simple filters for status with&amp;nbsp;Smart Folders too. Even you can include the status queries in&amp;nbsp;dashlets or document library filters. Also custom indicators for the status and metadata templates in the document library may give you additional information while browsing the document library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--C.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2016 11:44:03 GMT</pubDate>
    <dc:creator>cesarista</dc:creator>
    <dc:date>2016-12-05T11:44:03Z</dc:date>
    <item>
      <title>How can I get the document status with Javascript application or CMIS.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-document-status-with-javascript-application-or/m-p/292328#M245458</link>
      <description>Hi, how can I get the document status with Javascript application or CMIS. I mean if it was approved or rejected in WF.</description>
      <pubDate>Thu, 01 Dec 2016 13:53:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-document-status-with-javascript-application-or/m-p/292328#M245458</guid>
      <dc:creator>rmartins01</dc:creator>
      <dc:date>2016-12-01T13:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the document status with Javascript application or CMIS.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-document-status-with-javascript-application-or/m-p/292329#M245459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;First of all, the out of the box workflows do not "mark" documents as approved or reject.&lt;/P&gt;&lt;P&gt;If you need workflows to do so, you have to create your own templates, and include the code to do so.&lt;/P&gt;&lt;P&gt;Second, if you want to "check", you can simply read the property, that you will also have to create, something like custom:docStatus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 01:56:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-document-status-with-javascript-application-or/m-p/292329#M245459</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2016-12-02T01:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the document status with Javascript application or CMIS.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-document-status-with-javascript-application-or/m-p/292330#M245460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;By default ,an node only save the workflow instances information(maybe many instances) in it's workflowPackage aspect or it's parent's workflowPackage aspect。By querying workflow instance information ,you can get all task instances belong to this instance. Then you may query approve information from task variable.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;So you can't get this information by using CMIS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;As for repository javascript ,it may work,but it is very complex.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think you can try to modify workflow definition ,when the document is approved add an aspect to your node or set your custom property status to approve as &lt;A __default_attr="84633" __jive_macro_name="user" _jive_internal="true" data-id="84633" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/douglascrp" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt; C. R. Paes suggested.&lt;/P&gt;&lt;P&gt;Then you can query using cmis or javascript.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 02:52:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-document-status-with-javascript-application-or/m-p/292330#M245460</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-12-02T02:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the document status with Javascript application or CMIS.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-document-status-with-javascript-application-or/m-p/292331#M245461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;commented document-oriented and "cmisable" aprox. for custom:docStatus has many benefits in Alfresco Share (coming from a workflow or not), because you can include the document status (usually it is a contraint list of values) as a facet, obtaining a nice filter in Alfresco search (for example querying ASPECT:"custom:stastusable" or any other search). Also, you can make custom simple filters for status with&amp;nbsp;Smart Folders too. Even you can include the status queries in&amp;nbsp;dashlets or document library filters. Also custom indicators for the status and metadata templates in the document library may give you additional information while browsing the document library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--C.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 11:44:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-document-status-with-javascript-application-or/m-p/292331#M245461</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2016-12-05T11:44:03Z</dc:date>
    </item>
  </channel>
</rss>

