<?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 Activiti new BAR file in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-new-bar-file/m-p/131571#M92462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi dear&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I and My programming team ,have a project BPM workflow engine designed by help Activiti BPM completed, is now on the site and of more than 200 people arrived daily workflow engine are.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But there was a bug in one of our forms!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;… I After Solve the problem and deployment in my project , I got the usual one output&amp;nbsp; Bar file should I upload it to Activiti Explorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now my question to you dear ones is …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When we add new Bar files without a problem to Activiti Explore, the new processes into our workflow engine will assigned be the same Bar File are new without problem (These no)!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is process that earlier in assigned to the last Bar files are associated with the problem, what can I do that process prior assigned to the new Bar File without problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2013 19:11:45 GMT</pubDate>
    <dc:creator>hamid_gholipour</dc:creator>
    <dc:date>2013-05-31T19:11:45Z</dc:date>
    <item>
      <title>Activiti new BAR file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-new-bar-file/m-p/131571#M92462</link>
      <description>Hi dearI and My programming team ,have a project BPM workflow engine designed by help Activiti BPM completed, is now on the site and of more than 200 people arrived daily workflow engine are.But there was a bug in one of our forms!… I After Solve the problem and deployment in my project , I got the</description>
      <pubDate>Fri, 31 May 2013 19:11:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-new-bar-file/m-p/131571#M92462</guid>
      <dc:creator>hamid_gholipour</dc:creator>
      <dc:date>2013-05-31T19:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti new BAR file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-new-bar-file/m-p/131572#M92463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;pls help me ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 07:52:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-new-bar-file/m-p/131572#M92463</guid>
      <dc:creator>hamid_gholipour</dc:creator>
      <dc:date>2013-06-04T07:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti new BAR file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-new-bar-file/m-p/131573#M92464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you are trying to migrate existing process-instances to use a new process-definition that is deployed in the new BAR-file. Can you confirm I'm understanding you correctly? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use the org.activiti.engine.impl.cmd.SetProcessDefinitionVersionCmd:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;/**&lt;BR /&gt; * {@link Command} that changes the process definition version of an existing&lt;BR /&gt; * process instance.&lt;BR /&gt; * &lt;BR /&gt; * Warning: This command will NOT perform any migration magic and simply set the&lt;BR /&gt; * process definition version in the database, assuming that the user knows,&lt;BR /&gt; * what he or she is doing.&lt;BR /&gt; * &lt;BR /&gt; * This is only useful for simple migrations. The new process definition MUST&lt;BR /&gt; * have the exact same activity id to make it still run.&lt;BR /&gt; * &lt;BR /&gt; * Furthermore, activities referenced by sub-executions and jobs that belong to&lt;BR /&gt; * the process instance MUST exist in the new process definition version.&lt;BR /&gt; * &lt;BR /&gt; * The command will fail, if there is already a {@link ProcessInstance} or&lt;BR /&gt; * {@link HistoricProcessInstance} using the new process definition version and&lt;BR /&gt; * the same business key as the {@link ProcessInstance} that is to be migrated.&lt;BR /&gt; * &lt;BR /&gt; * If the process instance is not currently waiting but actively running, then&lt;BR /&gt; * this would be a case for optimistic locking, meaning either the version&lt;BR /&gt; * update or the "real work" wins, i.e., this is a race condition.&lt;BR /&gt; * &lt;BR /&gt; * @see &lt;A href="http://forums.activiti.org/en/viewtopic.php?t=2918" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?t=2918&lt;/A&gt;&lt;BR /&gt; * @author Falko Menge&lt;BR /&gt; */&lt;BR /&gt;public class SetProcessDefinitionVersionCmd implements Command&amp;lt;Void&amp;gt;, Serializable {&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;CommandExecutor commandExecutor = processEngineConfiguration.getCommandExecutorTxRequired();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; commandExecutor.execute(new SetProcessDefinitionVersionCmd(pi.getId(), 2));&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 14:44:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-new-bar-file/m-p/131573#M92464</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-06-04T14:44:47Z</dc:date>
    </item>
  </channel>
</rss>

