<?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 Insert Variables per SQL in ACT_RU_VARIABLE in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/insert-variables-per-sql-in-act-ru-variable/m-p/176529#M129659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We had to change the handling of the tasks in our application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i have old tasks which don't have a certain variable in the execution and would therefore be lost for the current assignee.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i wonder now if i can add variables in the exectution when i just add them per SQL in ACT_RU_VARIABLE like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;INSERT INTO ACT_RU_VARIABLE (ID_, REV_,TYPE_, NAME_,EXECUTION_ID_, PROC_INST_ID_, TEXT_) VALUES ('1','1','string', 'varName', 1234, 1234, 'varValue') &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The values for EXECUTION_ID_ and PROC_INST_ID_ are not the problem. I can take them from ACT_RU_TASK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But what is whit the ID_?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can i just use MAX(ID_) +1? or will this mess up other processes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cyr&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2014 08:28:03 GMT</pubDate>
    <dc:creator>cyr1</dc:creator>
    <dc:date>2014-09-17T08:28:03Z</dc:date>
    <item>
      <title>Insert Variables per SQL in ACT_RU_VARIABLE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/insert-variables-per-sql-in-act-ru-variable/m-p/176529#M129659</link>
      <description>We had to change the handling of the tasks in our application.Now i have old tasks which don't have a certain variable in the execution and would therefore be lost for the current assignee.i wonder now if i can add variables in the exectution when i just add them per SQL in ACT_RU_VARIABLE like:INSE</description>
      <pubDate>Wed, 17 Sep 2014 08:28:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/insert-variables-per-sql-in-act-ru-variable/m-p/176529#M129659</guid>
      <dc:creator>cyr1</dc:creator>
      <dc:date>2014-09-17T08:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Variables per SQL in ACT_RU_VARIABLE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/insert-variables-per-sql-in-act-ru-variable/m-p/176530#M129660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No this will mess up other processes. Activiti uses a class called DbIdGenerator that generates these ids (they are strings, too!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you also could do, is create VariableInstanceEntity objects yourself, and save them using a custom Activiti command. That way, it will properly use the id generation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 11:12:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/insert-variables-per-sql-in-act-ru-variable/m-p/176530#M129660</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-09-17T11:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Variables per SQL in ACT_RU_VARIABLE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/insert-variables-per-sql-in-act-ru-variable/m-p/176531#M129661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thx for your answer. tought it wouldn't be a simple SQL Query &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 11:17:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/insert-variables-per-sql-in-act-ru-variable/m-p/176531#M129661</guid>
      <dc:creator>cyr1</dc:creator>
      <dc:date>2014-09-17T11:17:03Z</dc:date>
    </item>
  </channel>
</rss>

