<?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: Created/modified props for uploaded file in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/created-modified-props-for-uploaded-file/m-p/297524#M250654</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;depending on the versino of Alfresco, some of the statements of either me or romsch may not be correct, as minor details may have been changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Speaking from a partner perspective where I use Alfresco 4.1.x in customer projects: When a new file is uploaded, the created and modified dates will only be the same IF the last update due to a rule / policy occurs within a 1000 ms window of the creation. The same applies to copies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you move a node, only the modified date is updated - since it still is the same node, it would not make sense if the created date is changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As before, you can not be 100 % sure within a rule wether a node has been created or just moved. Only in those instances that the dates are truly identical (the transaction completed within a 1000 ms window) can you safely assume a creation. In all other constellations you only know that the node is "new to the folder"&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>Mon, 08 Apr 2013 19:21:56 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2013-04-08T19:21:56Z</dc:date>
    <item>
      <title>Created/modified props for uploaded file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/created-modified-props-for-uploaded-file/m-p/297521#M250651</link>
      <description>Hello,I have a question about created and modified date for uploaded file. Why those dates are different?I have an inbound rule action, this action triggers when file just uploaded to Alfresco and when it was moved from other folder. How I can determine that that is new file when action was triggere</description>
      <pubDate>Mon, 08 Apr 2013 14:09:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/created-modified-props-for-uploaded-file/m-p/297521#M250651</guid>
      <dc:creator>mrgrechkinn</dc:creator>
      <dc:date>2013-04-08T14:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Created/modified props for uploaded file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/created-modified-props-for-uploaded-file/m-p/297522#M250652</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;the created date is set when the node is first created while the modified date is automatically updated when the node is modified. Now, even in the transaction that uploads a new file, these dates can be different, if the transaction does not complete within a certain amount of time (&amp;lt; 1 s) and some action / logic (inbound rule, policy) modifies some aspects / properties of the uploaded file after creation in that same transaction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using inbound rules, you can never be sure wether this is a really new file or just some file that has been moved into the directory. Rules configuration doesn't care about that - only with policies can you make that distinction.&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>Mon, 08 Apr 2013 15:27:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/created-modified-props-for-uploaded-file/m-p/297522#M250652</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-04-08T15:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Created/modified props for uploaded file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/created-modified-props-for-uploaded-file/m-p/297523#M250653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When a new file is uploaded, the created date and modified dates will remain the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also if you copy the node from one folder to other, both dates will have a new value but same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When you move a node from one folder to another, it will have both the dates changed - there will be a minor change if you take a look at the complete date with timestamp.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hence, in your scenario - it would be pretty simpler to check if both the dates are equal (with timestamp) it's new upload or a move otherwise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 17:50:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/created-modified-props-for-uploaded-file/m-p/297523#M250653</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2013-04-08T17:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Created/modified props for uploaded file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/created-modified-props-for-uploaded-file/m-p/297524#M250654</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;depending on the versino of Alfresco, some of the statements of either me or romsch may not be correct, as minor details may have been changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Speaking from a partner perspective where I use Alfresco 4.1.x in customer projects: When a new file is uploaded, the created and modified dates will only be the same IF the last update due to a rule / policy occurs within a 1000 ms window of the creation. The same applies to copies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you move a node, only the modified date is updated - since it still is the same node, it would not make sense if the created date is changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As before, you can not be 100 % sure within a rule wether a node has been created or just moved. Only in those instances that the dates are truly identical (the transaction completed within a 1000 ms window) can you safely assume a creation. In all other constellations you only know that the node is "new to the folder"&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>Mon, 08 Apr 2013 19:21:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/created-modified-props-for-uploaded-file/m-p/297524#M250654</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-04-08T19:21:56Z</dc:date>
    </item>
  </channel>
</rss>

