You can import IBM® Cloud
Orchestrator content using
the command-line interface.
The following
tool supports the import of content by using command-line
interfaces:
Important: You must have a command shell to run these
commands.
Import content
pack into Business Process Manager
A
Business Process Manager-based extension to
IBM Cloud
Orchestrator consists
of UI panels to collect more data. To import a content pack in to
a
Business Process Manager,
start the command-line interface in interactive mode and then run
the import command.
To start the command-line interface in interactive
mode, use this syntax - wsadmin.sh -h <hostname> -user <username>
-password <password> -lang jython. To Import content pack,
use this syntax - >>>AdminTask.BPMImport('[-inputFile <file
path>]').
The
wsadmin.sh is in the
Business Process Manager server installation
directory and its parameters are as follows:
- -h <host> or --host
- Specifies the host name or IP address of the Business Process Manager. This parameter
is required.
- -user
- Specifies the user ID to authenticate to the Business Process Manager. Use the
same user ID and password that you use to log on to the tool. This
parameter is optional.
- --password
- Specifies the password that is used to authenticate to the user.
This parameter is optional and is case-sensitive.
wsadmin.sh -user admin -password admin -lang jython
wsadmin>AdminTask.BPMImport('[-inputFile /tmp/abc.twx]')
For
more information about
Business Process Manager command-line
interface, see
http://www.ibm.com/support/knowledgecenter/SSFPJS_8.5.0/com.ibm.wbpm.ref.doc/topics/rref_bpmimport.html.