Tool to apply change patterns on Business Process Models
Project description
perturbator
Tool to apply change patterns to your Business Process Models
Dependencies:
python3
poetry
click
shortuuid
textx
Setup
poetry install
poetry run perturbator
Insert Element
Documentation
poetry run perturbator insert-element --help
Options:
--insert-to
BPMN File Path in which element has to be inserted [required]
--element-type
Type of element to be inserted [required]
--output-file
Path of BPMN file in which to output [required]
--insert-at
ID of the FLOW where the process has to be inserted [required]
Sample Command:
poetry run perturbator insert-element --insert-to ~/Desktop/input1.bpmn --element-type task --insert-at flow11 --output-file ~/Desktop/output.bpmn
Delete/Skip Element
Documentation
poetry run perturbator delete-element --help
Options:
--delete-from
BPMN File Path from which element has to be skipped [required]
--element-id
ID of Element to be deleted [required]
--output-file
Path of BPMN file in which to output [required]
Sample Command:
poetry run perturbator delete-element --delete-from ~/Desktop/input1.bpmn --element-id task11 --output-file ~/Desktop/output.bpmn
Insert Process Fragment (Serial)
Documentation
poetry run perturbator insert-process-fragment-serial --help
Options:
--insert-to
BPMN File Path in which process has to be inserted [required]
--insert-from
BPMN File Path from which process has to be inserted [required]
--output-file
Path of BPMN file in which to output [required]
--insert-at
ID of the FLOW where the process has to be inserted [required]
Sample Command:
poetry run perturbator insert-process-fragment-serial --insert-to ~/Desktop/input1.bpmn --insert-at flow12 --insert-from ~/Desktop/input2.bpmn --output-file ~/Desktop/output.bpmn
Insert Process Fragment (Parallel Branch)
Documentation
poetry run perturbator insert-process-fragment-parallel --help
Options:
--insert-to
BPMN File Path in which process has to be inserted [required]
--insert-from
BPMN File Path from which process has to be inserted [required]
--output-file
Path of BPMN file in which to output [required]
--branch-start
ID of the FLOW where the branching starts [required]
--branch-end
ID of the FLOW where the branching starts [required]
Sample Command:
poetry run perturbator insert-process-fragment-parallel --insert-to ~/Desktop/input1.bpmn --insert-from ~/Desktop/input2.bpmn --output-file ~/Desktop/output.bpmn --branch-start flow11 --branch-end flow13
Insert Process Fragment (Conditional Branch)
Documentation
poetry run perturbator insert-process-fragment-conditional --help
Options:
--insert-to
BPMN File Path in which process has to be inserted [required]
--insert-from
BPMN File Path from which process has to be inserted [required]
--output-file
Path of BPMN file in which to output [required]
--branch-start
ID of the FLOW where the branching starts [required]
--branch-end
ID of the FLOW where the branching starts [required]
Sample Command:
poetry run perturbator insert-process-fragment-conditional --insert-to ~/Desktop/input1.bpmn --insert-from ~/Desktop/input2.bpmn --output-file ~/Desktop/output.bpmn --branch-start flow11 --branch-end flow13
Delete/Skip Process Fragment
Documentation
poetry run perturbator delete-process-fragment --help
Options:
--delete-from
BPMN File Path from which process fragment has to be deleted [required]
--output-file
Path of BPMN file in which to output [required]
--branch-start
ID of the FLOW where the branching starts [required]
--branch-end
ID of the FLOW where the branching starts [required]
Sample Command:
poetry run perturbator delete-process-fragment --delete-from ~/Desktop/input1.bpmn --output-file ~/Desktop/output.bpmn --branch-start flow11 --branch-end flow13
Run commands in batches
Add commands in a text format in any text file and execute to trigger multiple steps in one go
Sample Command:
poetry run perturbator execute-from-file --command-file ~/Desktop/commands.txt
Format of commands in file:
insert 'task' to process in file '~/Desktop/input1.bpmn' at flow 'flow11' and output in '~/Desktop/output.bpmn'
delete element with id 'task11' from process in file '~/Desktop/output.bpmn' and output in '~/Desktop/output.bpmn'
serial insert process from '~/Desktop/input2.bpmn' to process in file '~/Desktop/output.bpmn' at flow 'flow12' and output in '~/Desktop/output.bpmn'
conditionally insert process from '~/Desktop/input2.bpmn' to process in file '~/Desktop/input1.bpmn' between 'flow11' and 'flow13' and output in '~/Desktop/output.bpmn'
parallel insert process from '~/Desktop/input2.bpmn' to process in file '~/Desktop/input1.bpmn' between 'flow11' and 'flow13' and output in '~/Desktop/output.bpmn'
delete process fragment from process in file '~/Desktop/input1.bpmn' between 'flow11' and 'flow13' and output in '~/Desktop/output.bpmn'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file perturbator-0.1.1.tar.gz
.
File metadata
- Download URL: perturbator-0.1.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.4 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5935c88588439bc76e0362336c9613ef9c13611e1865dc4af7c8d4a22250c2e |
|
MD5 | 2c0f302cff0cb247b4149b2fcc9a9ee5 |
|
BLAKE2b-256 | fd29fe4f8d0103b8183e091a72dc7e64397ecf7f14430ae6f0d8b2cc01dc6fc1 |
File details
Details for the file perturbator-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: perturbator-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.4 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0764d219373de17b6c3a9d27aa43294def71bf02ea90eaca7b9618644784b91 |
|
MD5 | af8a4bbf6e9f354b57f2a5ede1ad1ca5 |
|
BLAKE2b-256 | 6362e5cc807f69958f1d7657c23e57f5d525f45e949fc3dd94a29c7121fad600 |