Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Table of Contents |
---|
English |
---|
If you are looking into migrating all the apps, please look at Backup, Restore and Disaster Recovery. |
In order to migrate a single Joget app from one server to another, we will need to assess the current footprint of the app to determine the best way to migrate.
...
For example, in the screenshot below. The "Expenses Claim" app is making use of "j_expense" as the prefix in its forms' table naming.
Figure 1: Form tables
Migrating app form data out would be quite straightforward since it resides in its own set of tables. Depending on the database systems that you are using, you can make use the appropriate tools/clients to export the data out.
Figure 2: Export App
...
Referring to Figure 1 above, we can make use of the form Form builder > Advanced Tools > Table > Table Usage In Other Apps to check if tables are being shared with other apps.
...
This is because data of process instances are stored in set of tables shared by all other apps in the same Joget server. Process data contains not just instances from the latest version of the app that we are migrating out, it may also contain all the process instance data of the same app but from earlier versions. Migrating The current server and target server may also contain different set of versions of the same app too. Therefore, migrating the data out in parts may will likely to affect the normal functionality of the workflow engine.
We would recommend to leave the process instances' data behind. For process instances that are still in transit (open.running), here's the approach that we recommend.
...
In case you find it important to preserve the audit trail of the part / completed process data, you can enable Process Data Collector at the app level. Process related data of the app would be written into set of tables (app_report_* tables) that can be easily digested for analytical use such as by using SLA Report Menu. However, this plugin would only work on new process data as they are being executed after it is enabled, and not retrospectively on past process data.
This section is applicable to you if your app is making use plugins, otherwise, you can move on to the next section.
...
Make a list of all external touch points that your app is using.
Figure 3: Service Calls in App's Performance
...
Otherwise, you may need to duplicate the existing user directory date (tables with prefix of dir_ in the database) to the new server.
Before attempting anything, always perform a backup in any (app or database) servers that you will be working on. This is so that there's always something to fallback on, just in case!
...
To verify the data that you have copied them over, make use of CRUD Menu or List Menu in the app to browse through the data imported in.
Then, perform the follow following steps, starting with just 1 process instance. The steps below can be performed using the utility app available for download in this article.
Once we have validated and refined the steps to migrate a process instance, we can then move on to migrate more process instances over.
We have created an utility app to perform the 3 steps listed above. It has been tested using MySQL database and on Joget DX 7.
Please refer to the diagram below to understand on how to use it.
Figure 6: Utility App to Migrate Process Instances
View file | ||||
---|---|---|---|---|
|
Note: This migration utility app is tested on Joget v6 Enterprise 6.0.31 and Joget DX Enterprise 7.0.16 and with process migrated into a Joget server runing Joget DX 7.0.16.