<?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 is the file is stored in activiti in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-is-the-file-is-stored-in-activiti/m-p/9850#M4376</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;i am not able to find the act_data folder in my project. However in my app.properties, it set with the following properties.&lt;/P&gt;&lt;P&gt;contentstorage.fs.rootFolder=data/&lt;BR /&gt;contentstorage.fs.createRoot=true&lt;BR /&gt;contentstorage.fs.depth=4&lt;BR /&gt;contentstorage.fs.blockSize=1024&lt;/P&gt;&lt;P&gt;I think in my scenario, based on content id,alfresco activiti internally using some logic to&amp;nbsp; generate the path&amp;nbsp; location and&amp;nbsp; store the file in that location.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arun K&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2020 06:41:43 GMT</pubDate>
    <dc:creator>Arun_nmc</dc:creator>
    <dc:date>2020-12-01T06:41:43Z</dc:date>
    <item>
      <title>how is the file is stored in activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-is-the-file-is-stored-in-activiti/m-p/9847#M4373</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;i have&amp;nbsp; uploaded a&amp;nbsp; file from a process and it get stored in the activiti server and the respective entries are in&amp;nbsp; the related_content,content_rendition tables.&lt;/P&gt;&lt;P&gt;i have all details including store id, content_id&amp;nbsp; for that file. i am in need of undrestanding&amp;nbsp; the path location of the file in the server.&lt;/P&gt;&lt;P&gt;How can i find out the path location of the file based on the store_id, content id of the&amp;nbsp; file.&lt;/P&gt;&lt;P&gt;or is there any other way to find the path location of the file.&lt;/P&gt;&lt;P&gt;Kindly help on suggesting your thoughts as early as possible.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arun K&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 09:02:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-is-the-file-is-stored-in-activiti/m-p/9847#M4373</guid>
      <dc:creator>Arun_nmc</dc:creator>
      <dc:date>2020-11-24T09:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: how is the file is stored in activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-is-the-file-is-stored-in-activiti/m-p/9848#M4374</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;In my cases, the old requests are continuely keep on failing while generating the document.&lt;BR /&gt;While checking the activiti framework code, the below if condition is getting true and get evaluated and throw the exception content with id was not found .&lt;BR /&gt;i was able to see the file in the specified location. but, somehow the framework is not able to read the file and throw the exception (Content with id: " + id + " was not found (path: " + file&lt;BR /&gt;.toString() + ")").&lt;/P&gt;&lt;P&gt;the file are stored under tomcat/bin/data directory&lt;BR /&gt;the rootfolder is set as data/ in the activiti-app.properties file&lt;/P&gt;&lt;P&gt;could you please help on why its still failing.&lt;/P&gt;&lt;P&gt;The below code is from FileSystemContentStorage.java(activiti framework code)&lt;/P&gt;&lt;P&gt;shouldExist is defined as true&lt;/P&gt;&lt;P&gt;file.exists() should come as true(looks like it coming as false), not sure why its coming as false even though i&amp;nbsp; can&amp;nbsp; able locate the file in the specified directory&lt;/P&gt;&lt;P&gt;protected File getFileForId(String id, boolean shouldExist) {&lt;BR /&gt;BigInteger idValue = null;&lt;BR /&gt;try {&lt;BR /&gt;idValue = new BigInteger(id);&lt;BR /&gt;} catch (NumberFormatException nfe) {&lt;BR /&gt;throw new ContentStorageException("Illegal ID value, only positive numbers are supported: " + id, nfe);&lt;BR /&gt;}&lt;BR /&gt;File path = this.converter.getPathForId(idValue);&lt;BR /&gt;File file = new File(this.rootFolder, path.getPath());&lt;BR /&gt;if (shouldExist != file.exists()) {&lt;BR /&gt;if (shouldExist)&lt;BR /&gt;throw new ContentNotFoundException("Content with id: " + id + " was not found (path: " + file&lt;BR /&gt;.toString() + ")");&lt;BR /&gt;throw new ContentNotFoundException("Content with id: " + id + " already exists.");&lt;BR /&gt;}&lt;BR /&gt;return file;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Arun K&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 15:35:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-is-the-file-is-stored-in-activiti/m-p/9848#M4374</guid>
      <dc:creator>Arun_nmc</dc:creator>
      <dc:date>2020-11-24T15:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: how is the file is stored in activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-is-the-file-is-stored-in-activiti/m-p/9849#M4375</link>
      <description>&lt;P&gt;by default, APS stores all documents under the &lt;STRONG&gt;act_data&lt;/STRONG&gt; folder with date format hierarchy e.g. YYYY/DD/MM/.. the file name is renamed with the &lt;STRONG&gt;content-id.bin,&lt;/STRONG&gt;&amp;nbsp;search in the act_folder with his name to locate your content&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 13:32:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-is-the-file-is-stored-in-activiti/m-p/9849#M4375</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2020-11-27T13:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: how is the file is stored in activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-is-the-file-is-stored-in-activiti/m-p/9850#M4376</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;i am not able to find the act_data folder in my project. However in my app.properties, it set with the following properties.&lt;/P&gt;&lt;P&gt;contentstorage.fs.rootFolder=data/&lt;BR /&gt;contentstorage.fs.createRoot=true&lt;BR /&gt;contentstorage.fs.depth=4&lt;BR /&gt;contentstorage.fs.blockSize=1024&lt;/P&gt;&lt;P&gt;I think in my scenario, based on content id,alfresco activiti internally using some logic to&amp;nbsp; generate the path&amp;nbsp; location and&amp;nbsp; store the file in that location.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arun K&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 06:41:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-is-the-file-is-stored-in-activiti/m-p/9850#M4376</guid>
      <dc:creator>Arun_nmc</dc:creator>
      <dc:date>2020-12-01T06:41:43Z</dc:date>
    </item>
  </channel>
</rss>

