<?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 a FormVariable type of a process in execution? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-a-formvariable-type-of-a-process-in-execution/m-p/105280#M73620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, that's an interesting one. I'll try and setup a unit test for this to answer your question in a better way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now I would think that updating the processDefinitionId on the running instances is enough. In addition, the history of the process instances should probably be update too if you want to keep that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But that could be a simple update statement on the database. I'll come back to this after implementing the unit test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2012 07:31:57 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2012-08-30T07:31:57Z</dc:date>
    <item>
      <title>How to change a FormVariable type of a process in execution?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-a-formvariable-type-of-a-process-in-execution/m-p/105279#M73619</link>
      <description>So, i've implemented activiti for a company and some process of this companyOne process is very long lived one (4 months)At the very last moment we found that a FormVariable that writes a ProcessVariable has the wrong typeThe variable shoud be a double but in the process is a longHow can i change th</description>
      <pubDate>Wed, 29 Aug 2012 16:39:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-a-formvariable-type-of-a-process-in-execution/m-p/105279#M73619</guid>
      <dc:creator>losky</dc:creator>
      <dc:date>2012-08-29T16:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a FormVariable type of a process in execution?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-a-formvariable-type-of-a-process-in-execution/m-p/105280#M73620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, that's an interesting one. I'll try and setup a unit test for this to answer your question in a better way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now I would think that updating the processDefinitionId on the running instances is enough. In addition, the history of the process instances should probably be update too if you want to keep that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But that could be a simple update statement on the database. I'll come back to this after implementing the unit test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 07:31:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-a-formvariable-type-of-a-process-in-execution/m-p/105280#M73620</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-08-30T07:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a FormVariable type of a process in execution?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-a-formvariable-type-of-a-process-in-execution/m-p/105281#M73621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a SetProcessDefinitionVersionCmd class in the Activiti Engine code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This command can do exactly what you are looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The SetProcessDefinitionVersionCmd is however not exposed in one of the Activiti interfaces, so would need to do some coding there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For the next version of Activiti we can see if we can also expose this functionality directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 07:56:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-a-formvariable-type-of-a-process-in-execution/m-p/105281#M73621</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-08-31T07:56:39Z</dc:date>
    </item>
  </channel>
</rss>

