<?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 To InActive WOrkflows in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/insert-variables-to-inactive-workflows/m-p/246400#M199530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is their any possibility to insert variables to act_hi_varinst using API once the workflow is inactive?, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when workflow is active we use "runtimeService.setVariables(processInstanceId, attributesMap)" but in my case since workflow is inactive we cannot use runtimeService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If API does not allow us to insert variables once workflow is inactive can we manually insert entries to act_hi_varinst, If we are allowed to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;insert entries into act_hi_varinst manually what should we insert into columns "id_" and "execution_id_". and Is this the only table that should be inserted with variables or should we insert any entries to any other table?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And inserting manually to act_hi_varinst would cause any issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me with this issue. Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jun 2016 07:08:46 GMT</pubDate>
    <dc:creator>surajpr</dc:creator>
    <dc:date>2016-06-29T07:08:46Z</dc:date>
    <item>
      <title>Insert Variables To InActive WOrkflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/insert-variables-to-inactive-workflows/m-p/246400#M199530</link>
      <description>Hi All,Is their any possibility to insert variables to act_hi_varinst using API once the workflow is inactive?, when workflow is active we use "runtimeService.setVariables(processInstanceId, attributesMap)" but in my case since workflow is inactive we cannot use runtimeService.If API does not allow</description>
      <pubDate>Wed, 29 Jun 2016 07:08:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/insert-variables-to-inactive-workflows/m-p/246400#M199530</guid>
      <dc:creator>surajpr</dc:creator>
      <dc:date>2016-06-29T07:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Variables To InActive WOrkflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/insert-variables-to-inactive-workflows/m-p/246401#M199531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; Is their any possibility to insert variables to act_hi_varinst using API once the workflow is inactive?, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, the history table are for 'audit purposes', so no API will allow you to change it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, you can write your own command and execute it via the managementService.executeCommand() method. There, you can get the entityManager for HistoricActivityInstance and insert/change all you like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; And inserting manually to act_hi_varinst would cause any issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, except changing your audit data…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 09:27:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/insert-variables-to-inactive-workflows/m-p/246401#M199531</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-06-29T09:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Variables To InActive WOrkflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/insert-variables-to-inactive-workflows/m-p/246402#M199532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot jbarrez for quick response….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 08:50:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/insert-variables-to-inactive-workflows/m-p/246402#M199532</guid>
      <dc:creator>surajpr</dc:creator>
      <dc:date>2016-06-30T08:50:14Z</dc:date>
    </item>
  </channel>
</rss>

