<?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: Activiti BPM export processes .bpmn20.xml in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-bpm-export-processes-bpmn20-xml/m-p/21787#M9567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you want a bulk action rather than using the UI.&lt;/P&gt;&lt;P&gt;This is actually pretty easy.&lt;/P&gt;&lt;P&gt;Use a script that calls curl (or something similar) to call the export API.&lt;/P&gt;&lt;P&gt;You will need to start with a list of ID's, but you can get this any number of ways (including by querying the database directly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2017 13:46:20 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2017-03-03T13:46:20Z</dc:date>
    <item>
      <title>Activiti BPM export processes .bpmn20.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-bpm-export-processes-bpmn20-xml/m-p/21785#M9565</link>
      <description>Hello,I want to export all the stored processes in the database () as XML files. Is there anyone can help me.Thanks</description>
      <pubDate>Tue, 28 Feb 2017 13:01:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-bpm-export-processes-bpmn20-xml/m-p/21785#M9565</guid>
      <dc:creator>bellila</dc:creator>
      <dc:date>2017-02-28T13:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti BPM export processes .bpmn20.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-bpm-export-processes-bpmn20-xml/m-p/21786#M9566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd suggest two approaches, neither of which fully do what you're asking, but there's nothing I can do about that.&lt;BR /&gt;1) Export processes individually from within the app.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="12870" class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/12870_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;This will allow you to import these processes freely if you perhaps have a new install or want to move processes from one install to another. However, it's slow and you won't be able to export processes that have been deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Query the database for the JSON models you're interested in maintaining.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the database, models (processes, forms, apps, etc - contents of the Models DB table) are all stored as JSON; in general, from what it seems, Activiti does not store anything in its database as XML - so you won't be able to query for process models in XML format. On the plus side, you will be able to query for all of them at once and maintain that information however you'd like. The downside is that this information really&amp;nbsp;isn't something that's super useful to the average user, since you won't be able to import the JSON structure back into Activiti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: For future readers; Oops, forgot about the REST API endpoints for exporting. Use that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-JEarles&lt;BR /&gt;bp3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 17:17:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-bpm-export-processes-bpmn20-xml/m-p/21786#M9566</guid>
      <dc:creator>jearles</dc:creator>
      <dc:date>2017-03-01T17:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti BPM export processes .bpmn20.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-bpm-export-processes-bpmn20-xml/m-p/21787#M9567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you want a bulk action rather than using the UI.&lt;/P&gt;&lt;P&gt;This is actually pretty easy.&lt;/P&gt;&lt;P&gt;Use a script that calls curl (or something similar) to call the export API.&lt;/P&gt;&lt;P&gt;You will need to start with a list of ID's, but you can get this any number of ways (including by querying the database directly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 13:46:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-bpm-export-processes-bpmn20-xml/m-p/21787#M9567</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-03-03T13:46:20Z</dc:date>
    </item>
  </channel>
</rss>

