<?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: Programmatic Creation/Updation of process definition in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220387#M173517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Keshav,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact it should be supported in activiti5 too. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Get current definition's resource string modify it as you wish (e.g. automatically in java) and deploy it again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 May 2016 07:13:22 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2016-05-06T07:13:22Z</dc:date>
    <item>
      <title>Programmatic Creation/Updation of process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220383#M173513</link>
      <description>Hi All,We have a requirement to customize existing/deployed process definition and re deploy as new process.We will provide a default process deployed into customer environment, where customer can update default process definition and make a new process out of it to deploy their own.Where user can:</description>
      <pubDate>Thu, 05 May 2016 06:45:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220383#M173513</guid>
      <dc:creator>imkeshav</dc:creator>
      <dc:date>2016-05-05T06:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic Creation/Updation of process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220384#M173514</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;SPAN&gt;No, there is no such a API to modify a deployed process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you could download the XML for the current process modify it and then redeploy the new version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see: &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"how to make user task to complete automatically?" –&amp;gt; read about boundary timer events.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 09:02:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220384#M173514</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2016-05-05T09:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic Creation/Updation of process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220385#M173515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Keshav,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can we build a new process dynamically in java(by using org.activiti.bpmn.model package?)&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;yes AFAIK it will be supported in Activiti 6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there any api to modify deployed process definition and create new process out of it?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;No, definition is immutable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact definition is stored in the DB. If you want to you can change content of the row as you wish. But I would not follow this approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would expect more complications there. e.g. audit trail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another possibility is to deploy new definition and migrate currently running process instances to the now definition version. In your case it could be done automatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 09:05:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220385#M173515</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-05-05T09:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic Creation/Updation of process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220386#M173516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reply, I will configure Activiti 6 and try to build the process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, i did't mean to modify existing process. I just want to read existing process definition and create a new customized version of that process(in java) and deploy as separate process. is it possible with Activiti 6?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Keshav&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 10:07:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220386#M173516</guid>
      <dc:creator>imkeshav</dc:creator>
      <dc:date>2016-05-05T10:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic Creation/Updation of process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220387#M173517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Keshav,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact it should be supported in activiti5 too. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Get current definition's resource string modify it as you wish (e.g. automatically in java) and deploy it again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 07:13:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220387#M173517</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-05-06T07:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic Creation/Updation of process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220388#M173518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Martin for your inputs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I configured activiti6(embedded into spring application), trying to create process dynamically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please provide some sample code to create a process dynamically? i didn't find any examples in forum/user guide(its not released for activiti 6).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I red from activiti 6 presentation: ". Support for dynamic features&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Tasks, processes related to process instance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Re-route a process instance in a custom way&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -Store the result as a new process definition"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These are the features we are looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please help us to get it done?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in Advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Keshav&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 14:11:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220388#M173518</guid>
      <dc:creator>imkeshav</dc:creator>
      <dc:date>2016-05-06T14:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic Creation/Updation of process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220389#M173519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Keshav,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have never used these features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@Joram: Could you answer pls?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 20:46:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220389#M173519</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-05-06T20:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic Creation/Updation of process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220390#M173520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Those are all future features that are not implemented yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The fundamental architecture is in place to support this, but it's not added to the engine yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 10:11:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/programmatic-creation-updation-of-process-definition/m-p/220390#M173520</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-05-10T10:11:28Z</dc:date>
    </item>
  </channel>
</rss>

