# How can i migrate Bonita Studio 5.8 bar file into Bonita BPM 7.2 bos file?

**URL:** https://community.ofelia.com/t/how-can-i-migrate-bonita-studio-5-8-bar-file-into-bonita-bpm-7-2-bos-file/8921
**Category:** Q&A
**Created:** [12 January 2018 13:42 UTC](https://community.ofelia.com/t/how-can-i-migrate-bonita-studio-5-8-bar-file-into-bonita-bpm-7-2-bos-file/8921 "2018-01-12T13:42:33Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ayushgupta161\_136102](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@ayushgupta161\_136102](https://community.ofelia.com/u/ayushgupta161_136102)
#### Post date: [12 January 2018 13:42 UTC](https://community.ofelia.com/t/how-can-i-migrate-bonita-studio-5-8-bar-file-into-bonita-bpm-7-2-bos-file/8921/1 "2018-01-12T13:42:33Z")

</div>

I am currently working on Bonita older version 5.8, Now i want to work on Bonita BPM 7.2, so I am having problem to open my bar files into Bonita BPM 7.2. How can i open 5.8 .bar files in Bonita 7.2?

---

<div class="post-metadata">

### Author: ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)
#### Post date: [12 January 2018 22:01 UTC](https://community.ofelia.com/t/how-can-i-migrate-bonita-studio-5-8-bar-file-into-bonita-bpm-7-2-bos-file/8921/2 "2018-01-12T22:01:08Z")

</div>

You can’t.

You have to follow the process as documented specifically:

You **must** migrate from 5.8 to 5.9 first - [Link 1](https://documentation.bonitasoft.com/6.x-7.2/migrate-process-bonita-open-solution-5x-1)  
Then migrate from 5.9 to 6.0.2  
Then migrate from 6.02 to 7.0.0 - [Link 2](https://documentation.bonitasoft.com/bonita/7.6/migrate-from-an-earlier-version-of-bonita-bpm)  
Then migrate from 7.0.0 to any newer version

You will have to modify your processes to work in 6 first then also in 7. It’s a lengthy but rewarding process.

regards  
Seán

_PS: As this reply answers your question, please mark as resolved._

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)
#### Post date: [16 January 2018 08:53 UTC](https://community.ofelia.com/t/how-can-i-migrate-bonita-studio-5-8-bar-file-into-bonita-bpm-7-2-bos-file/8921/3 "2018-01-16T08:53:32Z")

</div>

In order to migrate a process definition created with Bonita version 5.8 or earlier you need to:

- Export the process definition as a .bar file from Bonita BPM Studio 5.x
- Import the .bar file in Bonita BPM Studio 5.10.2
- Export the process definition as a .bar file from Bonita BPM Studio 5.10.2
- Import the .bar file (5.10.2) in Bonita Studio latest version (e.g. 7.6.1): go in “File” → “Import” → “Other…” menu, select File format “Bonita BAR 5.9/5.10” and select the bar file. Perform the manual migration steps required

This process describes the migration of the development environment content (i.e. workspace of Bonita Studio).  
It does not apply to the server side of Bonita. For the server the Bonita “migration tool” handle upgrade only since version 6.

---

<div class="post-metadata">

### Author: ![mtsiak\_1358773](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@mtsiak\_1358773](https://community.ofelia.com/u/mtsiak_1358773)
#### Post date: [16 January 2018 07:16 UTC](https://community.ofelia.com/t/how-can-i-migrate-bonita-studio-5-8-bar-file-into-bonita-bpm-7-2-bos-file/8921/4 "2018-01-16T07:16:24Z")

</div>

@ Sean McP: Isn’t it the same to import a .bos diagram in 7.5.4, solve the validation errors (e.g. at connectors, groovy scripts), replace the process variables with business varibles when needed (e.g. in forms and contracts), and replace the forms with the UI Designer?

---

<div class="post-metadata">

### Author: ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)
#### Post date: [16 January 2018 08:19 UTC](https://community.ofelia.com/t/how-can-i-migrate-bonita-studio-5-8-bar-file-into-bonita-bpm-7-2-bos-file/8921/5 "2018-01-16T08:19:41Z")

</div>

Sure, have you tried it?

Not as easy as you think, especially with complex diagrams.

I know, it’s easier to do the right thing than try to shortcut it…

Regards

---

<div class="post-metadata">

### Author: ![mtsiak\_1358773](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@mtsiak\_1358773](https://community.ofelia.com/u/mtsiak_1358773)
#### Post date: [16 January 2018 08:33 UTC](https://community.ofelia.com/t/how-can-i-migrate-bonita-studio-5-8-bar-file-into-bonita-bpm-7-2-bos-file/8921/6 "2018-01-16T08:33:48Z")

</div>

@Sean McP, yes, I have done that. So much pain… I agree.  
But I think that the above tools cover the ideal diagrams, that most of us had not written.

Kind Regards.

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)
#### Post date: [16 January 2018 09:02 UTC](https://community.ofelia.com/t/how-can-i-migrate-bonita-studio-5-8-bar-file-into-bonita-bpm-7-2-bos-file/8921/7 "2018-01-16T09:02:15Z")

</div>

For the migration of process definition created in Bonita Studio 5.8 you don’t need to got through version 6.0.2 nor version 7.0.0.

The latest documentation about migration from version 5.x is available here: [https://documentation.bonitasoft.com/bonita/7.6/migrate-a-process-from-bonita-open-solution-5-x](https://documentation.bonitasoft.com/bonita/7.6/migrate-a-process-from-bonita-open-solution-5-x) it recommend to migrate to version 5.9 but version 5.10.2 can be used.

I think the confusion come from the second link shared by Seán that actually refer to the migration of a Bonita server, not a Studio workspace.
