https://github.com/byndyusoft/camunda-process-instances-migrator
Console application for Camunda's process instances migrations between versions of BPMN schemes
https://github.com/byndyusoft/camunda-process-instances-migrator
camunda-bpm migrator nodejs
Last synced: 2 months ago
JSON representation
Console application for Camunda's process instances migrations between versions of BPMN schemes
- Host: GitHub
- URL: https://github.com/byndyusoft/camunda-process-instances-migrator
- Owner: Byndyusoft
- License: apache-2.0
- Created: 2021-10-23T15:46:11.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-29T08:05:35.000Z (about 2 years ago)
- Last Synced: 2024-12-30T22:18:31.135Z (4 months ago)
- Topics: camunda-bpm, migrator, nodejs
- Language: JavaScript
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# camunda-process-instances-migrator
[](https://www.npmjs.com/package/@byndyusoft/camunda-process-instances-migrator)
[](https://github.com/Byndyusoft/camunda-process-instances-migrator/actions/workflows/test.yaml)
[](https://github.com/prettier/prettier)
[](https://github.com/semantic-release/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:
```javascript
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.
```bash
yarn install
yarn start
```## Usage
### Migrate instances of all processes from all versions to the latest
```javascript
PROCESS_DEFINITION_NAME = ALL;
```### Migrate instances of the specified process from all versions to the latest
```javascript
PROCESS_DEFINITION_NAME =
```### Migrate instances of the specified process from version 1 to the latest
```javascript
PROCESS_DEFINITION_NAME =
SOURCE_PROCESS_DEFINITION_VERSION = 1
```### Migrate instances of the specified process from version 1 to version 2
```javascript
PROCESS_DEFINITION_NAME =
SOURCE_PROCESS_DEFINITION_VERSION = 1
TARGET_PROCESS_DEFINITION_VERSION = 2
```## Maintainers
- [@Byndyusoft/owners](https://github.com/orgs/Byndyusoft/teams/owners) <>
- [@Byndyusoft/team](https://github.com/orgs/Byndyusoft/teams/team)## License
This repository is released under version 2.0 of the
[Apache License](https://www.apache.org/licenses/LICENSE-2.0).