Skip to content

Console application for Camunda's process instances migrations between versions of BPMN schemes

License

Notifications You must be signed in to change notification settings

Byndyusoft/camunda-process-instances-migrator

Repository files navigation

camunda-process-instances-migrator

npm@latest test workflow code style: prettier semantic-release

Console application for Camunda's process instances migrations between versions of BPMN schemes.

Requirements

  • Node.js v12 LTS or later
  • npm or yarn

Running locally

Environment

You must initialize process.env before start migrator:

process.env.INTEGRATIONS_CAMUNDA_API_BASE_URI; #required
process.env.INTEGRATIONS_CAMUNDA_COOKIE;       #optional
process.env.PROCESS_DEFINITION_NAME;           #required
process.env.SOURCE_PROCESS_DEFINITION_VERSION; #optional
process.env.TARGET_PROCESS_DEFINITION_VERSION; #optional

Service can be run locally using the following commands.

yarn install
yarn start

Usage

Migrate instances of all processes from all versions to the latest

PROCESS_DEFINITION_NAME = ALL;

Migrate instances of the specified process from all versions to the latest

PROCESS_DEFINITION_NAME = <DEFINITION_NAME>

Migrate instances of the specified process from version 1 to the latest

PROCESS_DEFINITION_NAME = <DEFINITION_NAME>
SOURCE_PROCESS_DEFINITION_VERSION = 1

Migrate instances of the specified process from version 1 to version 2

PROCESS_DEFINITION_NAME = <DEFINITION_NAME>
SOURCE_PROCESS_DEFINITION_VERSION = 1
TARGET_PROCESS_DEFINITION_VERSION = 2

Maintainers

License

This repository is released under version 2.0 of the Apache License.

About

Console application for Camunda's process instances migrations between versions of BPMN schemes

Topics

Resources

License

Stars

Watchers

Forks