<?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 Different versions of files for rule and scheduler in antivirus action.  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/different-versions-of-files-for-rule-and-scheduler-in-antivirus/m-p/50139#M19224</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&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/docs/DOC-5978"&gt;Antivirus&lt;/A&gt;&amp;nbsp;&amp;nbsp; for scanning of files for antivirus using clamav and&amp;nbsp; How&lt;A href="https://migration33.stage.lithium.com/thread/195091"&gt;How to Schedule a Custom Action?&lt;/A&gt;&amp;nbsp;for scheduling the same action&amp;nbsp;in alfresco and both rule and scheduler are working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But,one problem that I have encountered is that when the antivirus-action is running as a rule,the version of the infected file after scanning by clamav remains 1.0.So,due to this, I am facing the duplicate file name issue when I am trying to upload the file with the same name inside the folder but when I have scheduled the same action using scheduler to run at a specific tym,the version of the infected file after scanning by clamav becomes 1.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried by inserting the logs in the Java class to check why this is happening but in both(scheduler and rule)case,the logs are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to figure out why this is happening.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jan 2018 03:55:36 GMT</pubDate>
    <dc:creator>ayushi_agrahari</dc:creator>
    <dc:date>2018-01-19T03:55:36Z</dc:date>
    <item>
      <title>Different versions of files for rule and scheduler in antivirus action.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/different-versions-of-files-for-rule-and-scheduler-in-antivirus/m-p/50139#M19224</link>
      <description>HiI am using&amp;nbsp;Antivirus&amp;nbsp;&amp;nbsp; for scanning of files for antivirus using clamav and&amp;nbsp; HowHow to Schedule a Custom Action?&amp;nbsp;for scheduling the same action&amp;nbsp;in alfresco and both rule and scheduler are working fine.But,one problem that I have encountered is that when the antivirus-action is running as a rule,th</description>
      <pubDate>Fri, 19 Jan 2018 03:55:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/different-versions-of-files-for-rule-and-scheduler-in-antivirus/m-p/50139#M19224</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-01-19T03:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Different versions of files for rule and scheduler in antivirus action.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/different-versions-of-files-for-rule-and-scheduler-in-antivirus/m-p/50140#M19225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The different behaviour could be explained by the fact that the scheduled action is going to be executed always as the same user, much probably admin or system.&lt;/P&gt;&lt;P&gt;Folder rules are executed as the current logged in user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check that?&lt;/P&gt;&lt;P&gt;This is not the solution, but can give you some ideas on where to look for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2018 12:40:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/different-versions-of-files-for-rule-and-scheduler-in-antivirus/m-p/50140#M19225</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-01-20T12:40:32Z</dc:date>
    </item>
  </channel>
</rss>

