Package: perturbator
perturbatorTool to apply change patterns to your Business Process ModelsDependencies:python3(Do not use above 3.8)pip3Setup`python3 -m pip install perturbatorInsert ElementDocumentationperturbator insert-element --helpOptions:--insert-toBPMN File Path in which element has to be inserted      [required]--element-typeType of element to be inserted                         [required]--output-filePath of BPMN file in which to output                    [required]--insert-atID 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.bpmnDelete/Skip ElementDocumentationperturbator delete-element --helpOptions:--delete-fromBPMN File Path from which element has to be skipped     [required]--element-idID of Element to be deleted                             [required]--output-filePath 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.bpmnInsert Process Fragment (Serial)Documentationperturbator insert-process-fragment-serial --helpOptions:--insert-toBPMN File Path in which process has to be inserted      [required]--insert-fromBPMN File Path from which process has to be inserted    [required]--output-filePath of BPMN file in which to output                    [required]--insert-atID 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.bpmnInsert Process Fragment (Parallel Branch)Documentationperturbator insert-process-fragment-parallel --helpOptions:--insert-toBPMN File Path in which process has to be inserted      [required]--insert-fromBPMN File Path from which process has to be inserted    [required]--output-filePath of BPMN file in which to output                    [required]--branch-startID of the FLOW where the branching starts               [required]--branch-endID 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 flow13Insert Process Fragment (Conditional Branch)Documentationperturbator insert-process-fragment-conditional --helpOptions:--insert-toBPMN File Path in which process has to be inserted      [required]--insert-fromBPMN File Path from which process has to be inserted    [required]--output-filePath of BPMN file in which to output                    [required]--branch-startID of the FLOW where the branching starts               [required]--branch-endID 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 flow13Delete/Skip Process FragmentDocumentationperturbator delete-process-fragment --helpOptions:--delete-fromBPMN File Path from which process fragment has to be deleted    [required]--output-filePath of BPMN file in which to output                            [required]--branch-startID of the FLOW where the branching starts                       [required]--branch-endID 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 flow13Run commands in batchesAdd commands in a text format in any text file and execute to trigger multiple steps in one goSample Command:perturbator execute-from-file --command-file ~/Desktop/commands.txtFormat 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'