<?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 How to find the ACS site folderPath of the document which is part of an APS process linked to ACS(not copied over to APS act_data)? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-find-the-acs-site-folderpath-of-the-document-which-is/m-p/18713#M8275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using APS 1.6.4 and ACS 5.2.0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an APS process which takes in an ACS linked document, this document is approved within the process.&lt;/P&gt;&lt;P&gt;Once Approved I am supposed to move the document from the existing site to another site with the same exact folder structure as present with the exisitng site for e.g. existingSite\documentLibrary\{path} to newSite\documentLibrary\{path} where value of path remains same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware of the Publish to ACS task, but could I get some pointers on how to use ACS apis from APS to achieve the use-case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated... Thank you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2017 13:02:33 GMT</pubDate>
    <dc:creator>paiyyavj13</dc:creator>
    <dc:date>2017-09-15T13:02:33Z</dc:date>
    <item>
      <title>How to find the ACS site folderPath of the document which is part of an APS process linked to ACS(not copied over to APS act_data)?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-find-the-acs-site-folderpath-of-the-document-which-is/m-p/18713#M8275</link>
      <description>Hi,I am using APS 1.6.4 and ACS 5.2.0,I have an APS process which takes in an ACS linked document, this document is approved within the process.Once Approved I am supposed to move the document from the existing site to another site with the same exact folder structure as present with the exisitng si</description>
      <pubDate>Fri, 15 Sep 2017 13:02:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-find-the-acs-site-folderpath-of-the-document-which-is/m-p/18713#M8275</guid>
      <dc:creator>paiyyavj13</dc:creator>
      <dc:date>2017-09-15T13:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the ACS site folderPath of the document which is part of an APS process linked to ACS(not copied over to APS act_data)?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-find-the-acs-site-folderpath-of-the-document-which-is/m-p/18714#M8276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paiyyavj13,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems you're using Alfresco Enterprise products, so please be aware that you may also use the official Alfresco Support at &lt;A href="http://support.alfresco.com" rel="nofollow noopener noreferrer"&gt;http://support.alfresco.com&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Anyway, one way to address your matter might be a folder rule on ACS side, which moves the entire folder to another location. A little script might be required for this, but nothing complicated. Straight out of my head...&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;First, update via APS a custom property of the stored document in ACS.&lt;/LI&gt;&lt;LI&gt;Second,&amp;nbsp;define a rule on the root folder where all the "to-move" structures are in. Condition is "Items are updated" and do not forget "applies to subfolders", as the document might be in deeper folders. In Perform Action you select Execute Script.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the script, you need to grab the root folder and move them to the other location.&lt;/P&gt;&lt;P&gt;Does this make sense to you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively you can also make use the REST Call task within the workflow and make use of the &lt;A href="https://api-explorer.alfresco.com/api-explorer/#!/nodes/moveNode" rel="nofollow noopener noreferrer"&gt;ACS REST API Explorer&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps a bit.&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 15:34:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-find-the-acs-site-folderpath-of-the-document-which-is/m-p/18714#M8276</guid>
      <dc:creator>mkappel</dc:creator>
      <dc:date>2017-09-18T15:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the ACS site folderPath of the document which is part of an APS process linked to ACS(not copied over to APS act_data)?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-find-the-acs-site-folderpath-of-the-document-which-is/m-p/18715#M8277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;This makes perfect sense- I think I will go the script way... Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good day...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 15:44:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-find-the-acs-site-folderpath-of-the-document-which-is/m-p/18715#M8277</guid>
      <dc:creator>paiyyavj13</dc:creator>
      <dc:date>2017-09-18T15:44:29Z</dc:date>
    </item>
  </channel>
</rss>

