Skip to main content

Tool to apply change patterns on Business Process Models

Project description

perturbator

Tool to apply change patterns to your Business Process Models

Dependencies:

python3 (Do not use above 3.8) pip3

Setup

`python3 -m pip install perturbator

Insert Element

Documentation

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:

perturbator insert-element --insert-to ~/Desktop/input1.bpmn --element-type task --insert-at flow11 --output-file ~/Desktop/output.bpmn

Delete/Skip Element

Documentation

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:

perturbator delete-element --delete-from ~/Desktop/input1.bpmn --element-id task11 --output-file ~/Desktop/output.bpmn

Insert Process Fragment (Serial)

Documentation

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:

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

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:

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

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:

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

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:

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:

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

perturbator-0.1.23.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

perturbator-0.1.23-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file perturbator-0.1.23.tar.gz.

File metadata

  • Download URL: perturbator-0.1.23.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.2 Darwin/20.3.0

File hashes

Hashes for perturbator-0.1.23.tar.gz
Algorithm Hash digest
SHA256 ab51a979c6f7a5eae12e42c074319c613972cd7e79fd6842f51ad367d83a00dc
MD5 fec3cf2a134d423a6c648b644a06395a
BLAKE2b-256 9022e1bed5ee64c27c0a830da477bb13ced40f5398eff5d582e4b531a89f6300

See more details on using hashes here.

File details

Details for the file perturbator-0.1.23-py3-none-any.whl.

File metadata

  • Download URL: perturbator-0.1.23-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.2 Darwin/20.3.0

File hashes

Hashes for perturbator-0.1.23-py3-none-any.whl
Algorithm Hash digest
SHA256 52bf59a4f036716cf820cce1ef7303ac8daf8b67004b692d11f0ea19581e9d1e
MD5 ebe5d0161279ccba1a41565ec512df57
BLAKE2b-256 1d2d7ba7a3b15cffe2f662f28946a7134c085964e7931abca60027043946cb74

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page