<?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 Document informations for workflow instance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310682#M263812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Workflow package is a folder not a document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All documents and folder associated with the workflow are saved in this folder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2014 14:25:16 GMT</pubDate>
    <dc:creator>kaynezhang</dc:creator>
    <dc:date>2014-06-18T14:25:16Z</dc:date>
    <item>
      <title>Get Document informations for workflow instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310679#M263809</link>
      <description>Hello,I created a new page in order to display all actives workflows for all the users. For this, I call the following URL : http://127.0.0.1:8080/share/proxy/alfresco/api/workflow-instances?skipCount=0Next and for each result of the previous request, I call the the following URL to get related task</description>
      <pubDate>Tue, 17 Jun 2014 08:05:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310679#M263809</guid>
      <dc:creator>crono40</dc:creator>
      <dc:date>2014-06-17T08:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get Document informations for workflow instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310680#M263810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The json response from &lt;/SPAN&gt;&lt;A href="http://127.0.0.1:8080/share/proxy/alfresco/api/workflow-instances/activiti$id?includeTasks=true" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/share/proxy/alfresco/api/workflow-instances/activiti$id?includeTasks=true&lt;/A&gt;&lt;SPAN&gt; already contains workflow&amp;nbsp; package node Ref&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the jso response will be something like below,&amp;lt;strong&amp;gt;&amp;nbsp; "package": "workspace://SpacesStore/3e26a802-06b1-4e43-80a9-7e1bdf559e29"&amp;lt;/strong&amp;gt; is workflow related document node ref.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "data": &lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "id": "activiti$201",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "url": "api/workflow-instances/activiti$201",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "name": "activiti$activitiInvitationNominated",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "title": "\u7ad9\u70b9\u9080\u8bf7 - \u63a8\u8350\u5f0f",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "description": "\u7531\u7ad9\u70b9\u7ba1\u7406\u5458\u63a8\u8350\u7684\uff0c\u5bf9 Share \u7ad9\u70b9\u7684\u9080\u8bf7",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "isActive": true,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "startDate": "2013-08-17T14:47:23.000+08:00",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "priority": 2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "message": "kayne163 \u7ad9\u70b9\u7684\u52a0\u5165\u9080\u8bf7",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "endDate": null,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "dueDate": null,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "context": null,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "package": "workspace://SpacesStore/3e26a802-06b1-4e43-80a9-7e1bdf559e29",&lt;BR /&gt;….&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 15:44:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310680#M263810</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-06-17T15:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get Document informations for workflow instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310681#M263811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello kaynezhang,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Firstly, thanks for your reply. Effectively, i can get the workflow package node ref thanks to the package attribute of the request. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it's the node of the package and not the node document. So when i want to build a link like : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;IP SERVER&amp;gt;:&amp;lt;PORT&amp;gt;/share/page/document-details?nodeRef=workspace://SpacesStore/3e26a802-06b1-4e43-80a9-7e1bdf559e29 (i took your example)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got an error message telling that the document does not have any content. Do you have a solution ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 12:41:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310681#M263811</guid>
      <dc:creator>crono40</dc:creator>
      <dc:date>2014-06-18T12:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get Document informations for workflow instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310682#M263812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Workflow package is a folder not a document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All documents and folder associated with the workflow are saved in this folder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 14:25:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310682#M263812</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-06-18T14:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get Document informations for workflow instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310683#M263813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi crono04,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just bumped into the same problems as you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you found out solutions for yours?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried kaynezhang solutions. But the workflow package is empty. I wonder why.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My task detail screen is attached below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 04:08:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310683#M263813</guid>
      <dc:creator>hita</dc:creator>
      <dc:date>2014-08-28T04:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get Document informations for workflow instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310684#M263814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I found something. You have to use the package attribute returned with this URL : &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://127.0.0.1:8080/share/proxy/alfresco/api/workflow-instances?skipCount=0" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/share/proxy/alfresco/api/workflow-instances?skipCount=0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With this, you call this URL : &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://208.0.211.116:8080/share/proxy/alfresco/slingshot/node/workspace/SpacesStore/#YourPackageNumber" rel="nofollow noopener noreferrer"&gt;http://208.0.211.116:8080/share/proxy/alfresco/slingshot/node/workspace/SpacesStore/#YourPackageNumber&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will returned a JSON containing a children attribute. It's an array containing all the documents of the workflow. For each element, you have the name of the doc (children&lt;/SPAN&gt;&lt;EM&gt;.name) and the node ref of the document (children&lt;EM&gt;.nodeRef). You create the link with this. &lt;BR /&gt;&lt;BR /&gt;Hope it will help.&lt;/EM&gt;&lt;/EM&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 15:33:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-document-informations-for-workflow-instance/m-p/310684#M263814</guid>
      <dc:creator>crono40</dc:creator>
      <dc:date>2014-09-25T15:33:00Z</dc:date>
    </item>
  </channel>
</rss>

