1.0.3 • Published 5 years ago

@mnergard/prime-pack-proc-cli v1.0.3

Weekly downloads
4
License
MIT
Repository
-
Last release
5 years ago

prime-pack-proc-cli

A CLI tool for Nexus PRIME to pack BPMN processes with dependencies like forms and scripts to a importable zip-file. This must be used on an extracted PRIME configuration package.

Install globally npm i @mnergard/prime-pack-proc-cli -g

Navigate you command line to the processes folder in the extracted configuration and run the following command to pack a process to a .zip file: prime-pack-proc <process_filename>.bpmn

Only BPMN processes are supported (no ad-hoc procs)!

The file <process_filename>.zip will be created in the working directory.

example.zip
|-- forms\
|   |   exampleForm.xml
|-- permissions\
|   |-- forms\
|   |   |   exampleForm_permissions.xml
|   |-- processes\
|   |   |   exampleProc_permissions.xml
|-- processes\
|   |   exampleProc.bpmn
|   |-- mappings\
|   |   |   exampleProc.xml
|-- scripts\
|   |   exampleScript.xml

Add the argument --includeSub to include any sub-processes prime-pack-proc <process_filename>.bpmn --includeSub