You can use the Workflow
Loader utility to load existing process templates (a single file or
a directory of templates) directly into the content repository from
the Windows command line. The utility also supports activation of
the process (that is, uploading the definition to the run-time platform).
Use the following syntax
to invoke the Workflow Loader utility:
java
-Dmulticast.address=nnn.nnn.nnn.nnn
-Dmulticast.port=nnnn
com.sas.workflow.util.checkin.WorkflowLoader
user-ID
password
path
-outputDir directory-name
<-replace>
<-activate>
- nnn.nnn.nnn.nnn
-
is the multicast address
for the environment where the SAS middle tier is deployed.
- nnnn
-
is the multicast port
number of the SAS middle tier.
- user-ID
-
is the ID of a user
who is authorized to load content. In SAS 9.3, any user that is defined
in the metadata server can load content.
- password
-
is the password for
the specified user.
- path
-
is the fully qualified
location of the processes to load. If a single filename is specified,
then the content from that single process template file is loaded.
If the path resolves to a directory, then the contents of all the
files in that directory are loaded.
- -outputDir
-
specifies the directory
where the modified XML is written if any data types are fixed. The
utility automatically fixes any invalid data types by mapping them
to appropriate supported types for SAS 9.3 (for example, Short Text).
A new file with the corrected data type is created in the directory
specified, and the new file is automatically loaded into the content
repository.
- -replace
-
replaces the process
definitions if they already exist in the engine. In the SAS Content
Server, this option updates the version.
- -activate
-
activates or loads
the template into the engine after the template is loaded into the
repository.