Managing Objects Using the CLI
You can set and move tags.
You can delete workflows, modules, processes, and tags.
You can rename workflows, modules, and metadata.
Deleting a Workflow/Module Using CLI
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... delete <option> <arg>
bash -
Script mode
startcli --execCommand "delete <option> <arg>"
bash
Command options
Example
-
Interactive mode
delete --deleteWorkflow 'Invoice Supplier A'
bash -
Script mode
startcli -u jh -p inubit --execCommand "delete --deleteWorkflow 'Invoice Supplier A'"
bash
Renaming Objects Using CLI
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... rename <option> <arg> --renameTo <arg>
bash -
Script mode
startcli --execCommand "rename <option> <arg> --renameTo <arg>"
bash
Only characters from |
Command options
Example
-
Interactive mode
rename --renameWorkflow Orders_DRAFT --renameTo Orders rename --renameDirectory /Root/jh/IBIS-17024 --renameTo IBIS-17024_new
bash -
Script mode
startcli --execCommand "rename --renameWorkflow Orders_DRAFT --renameTo Orders" startcli --execCommand "rename --renameDirectory /Root/jh/IBIS-17024 --renameTo IBIS-17024_new"
bash
Starting Queue Manager Entries with Error Status
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... processErrorStart <processId>
bash -
Script mode
startcli [-u <user account>] [-p <password>] --execCommand "processErrorStart <processId>"
bash
Command options
Example
-
Interactive mode
processErrorStart 10007
-
Script mode
startcli -u miller --execCommand "processErrorStart 10007"
bash
Deleting a Process Using CLI
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... kill <processID>
bash -
Script mode
startcli --execCommand "kill <processID>"
bash
Example
-
Interactive mode
kill 123
-
Script mode
startcli --execCommand "kill 123"
bash
Deleting a Process with the Status Error Using CLI
Usage
To delete processes with the status error
Processes with other statuses cannot be deleted with this command. An error message is displayed. |
Call up
-
Interactive mode
startcli - u <username> -p <password> ... processdelete <status>
bash -
Script mode
startcli --execCommand "processdelete <status>"
bash
Example
-
Interactive mode
processdelete error
-
Script mode
startcli --execCommand "processdelete error"
bash
Setting, Moving, and Deleting a Tag Using CLI
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... tag <option> <arg> --tagUser {<User>|<Group>|<Higher-level group>}
bash -
Script mode
startcli --execCommand "tag <option> <arg> --tagUser {<User>|<Group>|<Higher-level group>}"
bash
Command options
Examples
-
Interactive mode
-
tag --tagMove 3.2 --tagWorkflowType technical --tagWorkflowGroup OrdersIn --tagUser inubit
-
tag --tagDelete 1.1 --tagUser root
-
tag --tagRemove 1.1 --tagRepositoryPath /Root/root/abc
-
-
Script mode
startcli --execCommand "tag --tagMove 3.2 --tagDiagram sample --tagWorkflowType technical --tagWorkflowGroup OrdersIn --tagUser inubit"
bash
Automated Deployment
Process of deployment
For the automated deployment, the export and import features of the INUBIT Process Engine are used:
-
First, you export all artifacts (diagrams and Repository files) which should be deployed using the appropriate StartCLI command from the source system. Then you let the artifacts’ properties extract and summarize to a new XML file.
-
You adjust the properties’ values, for example with shell commands or XSLT. Based on the adjusted properties file, you use a StartCLI command to create a new zip archive.
-
You use further StartCLI commands to let the zip archive import into the target system.
If there is no direct network connection between the source and the target system, you need two scripts: one for the export and one for the import.
Call up
startcli[.sh|.bat] <Options> <Server URL>
bash
Exporting
startcli --execCommand "export <export commands> [<option>] [<argument>] [<option>] [<argument>] ...]" <server URL>
bash
Modifying
`startcli --execCommand "deploy <deploy commands> [<option>] [<argument>] [<option>] [<argument>]" <server URL>`
bash
Importing
startcli -u root --execCommand "import --importUser <user group> --importFile <filename>.zip" <server URL>
bash
Server URL
URL of the Process Engine where the CLI is executed, for example:
https://<server>:<port>/ibis/servlet/IBISSoapServlet
The following table explains the process of the deployment in and lists the required commands for the command line tool StartCLI: