<?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 check if document has workflow? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-document-has-workflow/m-p/291635#M244765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using the &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/4.0_JavaScript_API#ScriptNode_API" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/4.0_JavaScript_API#ScriptNode_API&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;ScriptNode API&amp;lt;/a&amp;gt; you can get the workflows of a document by using document.activeWorkflows and then check the length of the array against 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Aug 2014 08:41:13 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2014-08-05T08:41:13Z</dc:date>
    <item>
      <title>How to check if document has workflow?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-document-has-workflow/m-p/291634#M244764</link>
      <description>Hi,What is the code in js to check if document has workflow, similar to using document.isContainer to check if document is a folder?Thank you in advance!</description>
      <pubDate>Tue, 05 Aug 2014 06:55:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-document-has-workflow/m-p/291634#M244764</guid>
      <dc:creator>e-no91</dc:creator>
      <dc:date>2014-08-05T06:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if document has workflow?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-document-has-workflow/m-p/291635#M244765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using the &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/4.0_JavaScript_API#ScriptNode_API" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/4.0_JavaScript_API#ScriptNode_API&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;ScriptNode API&amp;lt;/a&amp;gt; you can get the workflows of a document by using document.activeWorkflows and then check the length of the array against 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 08:41:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-document-has-workflow/m-p/291635#M244765</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-08-05T08:41:13Z</dc:date>
    </item>
  </channel>
</rss>

