πŸ”„ Process Migration Between App Versions in Joget
dev.toΒ·8hΒ·
Discuss: DEV
Flag this post

🧭 Overview

When upgrading an app in Joget from one version to another, existing running workflow instances might still be tied to the old version.

This BeanShell script automates the migration of running workflow processes from a previous app version (from_version) to a new version (to_version), ensuring smooth continuity without manually aborting or recreating processes.


βš™οΈ How It Works

Here’s how this BeanShell script operates inside a Form Store Binder:

  • βš™οΈ Fetches the submitted data (App ID, From Version, To Version, Process ID).
  • πŸ” Retrieves all running workflow processes for the specified app_id and from_version.
  • πŸ“¦ Loads all available process definitions from the new version (to_version).
  • πŸ” Compares process definitions between ol…

Similar Posts

Loading similar posts...