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>
-
Script mode
startcli --execCommand "delete <option> <arg>"
Command options
Option | Description |
---|---|
|
Displays the usage |
|
Remove the module with given name |
|
Remove the workflow with given name |
Example
-
Interactive mode
delete --deleteWorkflow 'Invoice Supplier A'
-
Script mode
startcli -u jh -p inubit --execCommand "delete --deleteWorkflow 'Invoice Supplier A'"
Renaming Objects Using CLI
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... rename <option> <arg> --renameTo <arg>
-
Script mode
startcli --execCommand "rename <option> <arg> --renameTo <arg>"
Only characters from |
Command options
Option | Description | ||
---|---|---|---|
|
Displays the usage |
||
|
To rename metadata |
||
|
To rename modules |
||
|
New name
|
||
|
To rename workflows |
||
|
To rename a repository directory |
||
|
To rename a repository file |
Example
-
Interactive mode
rename --renameWorkflow Orders_DRAFT --renameTo Orders rename --renameDirectory /Root/jh/IBIS-17024 --renameTo IBIS-17024_new
-
Script mode
startcli --execCommand "rename --renameWorkflow Orders_DRAFT --renameTo Orders" startcli --execCommand "rename --renameDirectory /Root/jh/IBIS-17024 --renameTo IBIS-17024_new"
Starting Queue Manager Entries with Error Status
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... processErrorStart <processId>
-
Script mode
startcli [-u <user account>] [-p <password>] --execCommand "processErrorStart <processId>"
Command options
Option | Description | ||
---|---|---|---|
|
Displays the usage |
||
|
Start a failed process with the given
|
Example
-
Interactive mode
processErrorStart 10007
-
Script mode
startcli -u miller --execCommand "processErrorStart 10007"
Deleting a Process Using CLI
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... kill <processID>
-
Script mode
startcli --execCommand "kill <processID>"
Example
-
Interactive mode
kill 123
-
Script mode
startcli --execCommand "kill 123"
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>
-
Script mode
startcli --execCommand "processdelete <status>"
Example
-
Interactive mode
processdelete error
-
Script mode
startcli --execCommand "processdelete error"
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>}
-
Script mode
startcli --execCommand "tag <option> <arg> --tagUser {<User>|<Group>|<Higher-level group>}"
Command options
Option | Description |
---|---|
|
Displays the usage |
|
Name of diagram to be tagged |
|
Deletes the tag from workflows, modules, and the repository |
|
Moves/sets the tag specified |
|
Deletes the tag only from the repository |
|
Removes active tag from user, user group, or higher-level group specified with the ‑‑ |
|
Repository path to be tagged |
|
Sets active tag to user, user group, or higher-level group specified with the ‑‑ |
|
User, user group, or higher-level group for the corresponding operation |
|
Name of diagram/workflow group(s) to be tagged Multiple diagram groups must be comma-separated and put in single quotation marks.
To tag all diagram groups, use the ‑‑ |
|
Exclude these groups from tagging |
|
Name(s) of diagram types to be tagged. Multiple diagram types must be comma-separated and put in single quotation marks. To export all diagram types, use
|
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"
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>
Exporting
startcli --execCommand "export <export commands> [<option>] [<argument>] [<option>] [<argument>] ...]" <server URL>
Modifying
`startcli --execCommand "deploy <deploy commands> [<option>] [<argument>] [<option>] [<argument>]" <server URL>`
Importing
startcli -u root --execCommand "import --importUser <user group> --importFile <filename>.zip" <server URL>
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:
No | Procedure | StartCLI Command and Explanation | ||
---|---|---|---|---|
1. |
Call up StartCLI |
|
||
2. |
Exporting workflows from the source system |
|
||
3. |
Exporting Repository files from the source system |
|
||
4. |
Extracting the property XML from source workflows |
|
||
5. |
Adjusting the property XML for the target system based on the just created source property XML |
No StartCLI command available. Use for example shell commands or XSLT. |
||
6. |
Generating workflows for the target system based on the source workflows and the target property XML |
|
||
7. |
Importing Repository files to the target system |
|
||
8. |
Importing workflows to the target system |
* |
||
9. |
Setting the active tag for the target system |
|