Deploying a Sub-Process Flow Using a Repository Archive
This
topic describes how to deploy a sub-process flow using a repository
archive (also called a package). The sub-process flow is called
from a main process flow through an iWay Designer Service object
of class XDPFlowAgent, as described in the preceding topic.
In the procedure that follows, the repository archive contains
only the sub-process flow.
x
Procedure: How to Deploy a Sub-Process Flow Using a Repository Archive
This
procedure assumes that you are familiar with the features of the
iWay Service Manager Administration Console and know how to use
the console. For details on the console, see the iWay Service
Manager User's Guide.
-
Start the
iWay Service Manager Administration Console if it is not already
started.
-
Undeploy
the old version of the sub-process flow.
-
Click Deployments and Services.
-
In the Service Management pane, select the check box next
to the service name (the old version of the sub-process flow), and
click Undeploy.
-
Delete the
repository archive that contains the old version of the sub-process
flow.
-
Click Tools and Archive Manager.
-
In the Choose Operation pane, click the Add/Create/Download/Delete
Archives radio button, and click Next.
-
Select the check box next to the repository archive name, and click Delete.
-
When asked if you are sure that you want to proceed, click OK.
-
Create a
repository archive that contains the new version of the sub-process flow.
-
Click Tools and Archive Manager.
-
In the Choose Operation pane, click the Add/Create/Download/Delete
Archives radio button, and click Next.
-
In the Repository Archives pane, click Create.
-
In the Components eligible for export pane, select the check box
next to the component name (the name of the sub-process flow), and
click Next.
-
In the next pane, provide a name and optional description for the
new repository archive, and click Finish.
-
Import the
new version of the sub-process flow from the new repository archive.
-
Click Tools and Archive Manager.
-
In the Choose Operation pane, click the Import components
from a repository archive radio button, and click Next.
-
In the Select repository archive to import pane, click the
radio button next to the repository archive name, and click Next.
-
In the Select components to overwrite pane, select the check box
next to the component name (the name of the sub-process flow), and
click Next.
-
On the next pane, click Finish.
-
Confirm
deployment of the new version of the sub-process flow.
-
Click Registry and Processes.
-
In the View column on the Process Definitions pane, click the Visualize
Process icon associated with the process name (the name
of the sub-process flow).
-
Visually examine the sub-process flow and confirm that it is
the latest version.
-
In the iWay
Service Manager Administration Console, click Deployments and Services.
-
On the Service
Management pane, click Deploy.
-
On the Available
Processes pane, select the check box next to the process name, and
click Deploy.
x
Procedure: How to Delete an Old Version of a Sub-Process Flow From the File System
Follow
these steps if you do not see the latest version of a sub-process
flow as described in step 6 in How to Deploy a Sub-Process Flow Using a Repository Archive.
-
Using Windows
Explorer, browse to the following directory:
iwayhome\etc\repository\manager\svc
-
Locate the
directory that has the same name as the sub-process flow. For example,
if the name of the sub-process flow is PFlow_Sbpr, locate the directory named
PFlow_Sbpr.
Under the directory that you locate, there is a subdirectory
with .1 appended to its name.
For example, under the PFlow_Sbpr
directory, there is a subdirectory named PFlow_Sbpr.1.
-
Delete the
directory with .1 appended to its name, for example, PFlow_Sbpr.1.
-
Return to
the iWay Service Manager Administration Console, and click Deployments and Services.
-
On the Service
Management pane, click Deploy.
-
Confirm
that the list on the Available Processes pane contains the latest
version of the sub-process flow.
-
Select the
check box next to the process name, and click Deploy.