<?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 to change expiration query on workitem based on a parameter  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-expiration-query-on-workitem-based-on-a-parameter/m-p/187241#M140371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Am I understanding you correctly that you want to fire a timer when a certain variable has been set?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, I'm afraid that's not an easy change … most likely it'll be a change in &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/resources/org/activiti/db/mapping/entity/Job.xml#L478" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/resources/org/activiti/db/mapping/entity/Job.xml#L478&lt;/A&gt;&lt;SPAN&gt;, which could be overridden through the DbSqlSessionFactory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, do take in account that joining with the variables table will have an impact on performance).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2015 08:52:31 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2015-07-23T08:52:31Z</dc:date>
    <item>
      <title>how to change expiration query on workitem based on a parameter</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-expiration-query-on-workitem-based-on-a-parameter/m-p/187240#M140370</link>
      <description>Dear Activiti team,&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a use case where Iam sending a parameter during the execution time , this parameter is successfully getting saved on the ACT_RU_VARIABLE table . Now the use case is on my timer expiration I want to delete the work items which match with the parameter which i have set. H</description>
      <pubDate>Wed, 15 Jul 2015 17:58:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-expiration-query-on-workitem-based-on-a-parameter/m-p/187240#M140370</guid>
      <dc:creator>bk1</dc:creator>
      <dc:date>2015-07-15T17:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to change expiration query on workitem based on a parameter</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-expiration-query-on-workitem-based-on-a-parameter/m-p/187241#M140371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Am I understanding you correctly that you want to fire a timer when a certain variable has been set?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, I'm afraid that's not an easy change … most likely it'll be a change in &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/resources/org/activiti/db/mapping/entity/Job.xml#L478" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/resources/org/activiti/db/mapping/entity/Job.xml#L478&lt;/A&gt;&lt;SPAN&gt;, which could be overridden through the DbSqlSessionFactory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, do take in account that joining with the variables table will have an impact on performance).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 08:52:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-expiration-query-on-workitem-based-on-a-parameter/m-p/187241#M140371</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-07-23T08:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to change expiration query on workitem based on a parameter</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-expiration-query-on-workitem-based-on-a-parameter/m-p/187242#M140372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for you reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have an application deployed on two application servers so as to ensure failover scenarios. Each application server is connected to its respective database. That means we have two oracle database which is synced up using golden gate. And Activiti Engine on each of these app servers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem is that both the Activiti Engine picks up the same transaction which has expired and deletes the same record in its respective DBs. Due to this, the golder gate, when tries to sync up the data/deletes the record (which has been already deleted), it throws error and golden gate crashes as it is unable to delete the data. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q1 Is the framework designed to handle such configuration somehow by updating the record with some attributes to prevent other Engine to pick up the same record? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Q2 If not, then is it possible to do something such that when one Activiti Engine picks up the record, the other Activiti Engine should not pick up the same record? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 16:30:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-expiration-query-on-workitem-based-on-a-parameter/m-p/187242#M140372</guid>
      <dc:creator>sanjeevsaxena</dc:creator>
      <dc:date>2015-07-23T16:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to change expiration query on workitem based on a parameter</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-expiration-query-on-workitem-based-on-a-parameter/m-p/187243#M140373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; Problem is that both the Activiti Engine picks up the same transaction which has expired&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not following that. How is that possible (I don't know anything about golden gate)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q1: yes, the engine is designed to work in clustered mode and make sure jobs are executed on one node&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 11:46:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-expiration-query-on-workitem-based-on-a-parameter/m-p/187243#M140373</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-07-28T11:46:17Z</dc:date>
    </item>
  </channel>
</rss>

