Siebel Business Process Framework: Workflow Guide > Reference Materials for Siebel Workflow > Predefined Business Services >

Workflow Admin Service Business Service


The Workflow Admin Service business service allows a workflow process to do administrative work on multiple workflow processes that a search specification defines. Example administrative work includes deploy, activate, export, and import. This topic includes the following topics:

For more information, see Importing and Exporting with Siebel Tools Features.

Methods of the Workflow Admin Service Business Service

A search specification defines each method of the Workflow Admin Service business service. The following methods are available:

  • Export. Exports workflow processes to a directory. Siebel CRM exports each workflow process to a separate XML file. The file name is the concatenation of the name of the workflow process and the version number.
  • Import. Imports the export files of a workflow process into a directory.
  • Deploy. Deploys workflow processes.
  • Activate. Activates workflow processes.
  • DeleteDeploy. Deletes workflow deployment records.

Table 83 describes arguments of the methods of the Workflow Admin Service business service.

Table 83. Arguments of the Workflow Admin Service Business Service
Method Name
Argument Type
Argument Name
Description

Export

Input

ExportDir

The directory to which Siebel CRM writes the export files. For example:

D:\workflows

FlowSearchSpec

The search specification that Siebel CRM uses to identify the workflow processes that it exports. For example:

[Process Name] like 'User Reg*'

Repository

The repository from which Siebel CRM exports workflow processes. The default value is Siebel Repository.

Output

NumFlowExported

The number of workflow processes that Siebel CRM exports.

Import

Input

ImportDir

The directory where the workflow process export files are located.

FileSearchSpec

The search specification that Siebel CRM uses to identify the export files for workflow processes that it must import. For example:

User*.xml

Repository

The repository from which Siebel CRM imports workflow processes.

ProjectName

The project from which Siebel CRM imports workflow processes. The project must be locked.

Output

NumFlowImported

The number of workflow processes that Siebel CRM imported.

Deploy

Input

FlowSearchSpec

The search specification that Siebel CRM uses to identify the workflow processes that it must deploy. It adds the following default search specification to FlowSearchSpec:

[Status] = "In Progress"

It is not necessary to explicitly define the search specification.

Output

NumFlowDeployed

The number of workflow processes that Siebel CRM deployed.

Activate

Input

FlowSearchSpec

The search specification that Siebel CRM uses to identify the workflow processes that it must activate. It adds the following default search specification to FlowSearchSpec:

[Status] = "COMPLETED"

It is not necessary to explicitly define the search specification.

Output

NumFlowActivated

The number of workflow processes that Siebel CRM activated.

DeleteDeploy

Input

FlowSearchSpec

The search specification that Siebel CRM uses to identify the workflow deployment records that it must delete.

Output

NumFlowDeleted

The number of workflow deployment records that Siebel CRM deleted.

Calling the Workflow Admin Service Business Service

If you must activate or deploy a large number of workflow processes in bulk, then it is recommended that you configure Siebel CRM to call the Workflow Admin Service business service through the Business Service Simulator. You can supply the search specification for each set of workflow processes.

It is not recommended that you run the Workflow Admin Service business service in a workflow process because you must change the input search specification in the workflow process for each set of workflow processes that are involved. This configuration requires you to revise the workflow process each time it calls the Workflow Admin Service business service. For more information, see Revising a Workflow Process.

Siebel Business Process Framework: Workflow Guide Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.