Deploying a Sub-Process Flow Using a Repository Archive

How to:

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.


Top of page

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.

  1. Start the iWay Service Manager Administration Console if it is not already started.
  2. Undeploy the old version of the sub-process flow.
    1. Click Deployments and Services.
    2. 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.
  3. Delete the repository archive that contains the old version of the sub-process flow.
    1. Click Tools and Archive Manager.
    2. In the Choose Operation pane, click the Add/Create/Download/Delete Archives radio button, and click Next.
    3. Select the check box next to the repository archive name, and click Delete.
    4. When asked if you are sure that you want to proceed, click OK.
  4. Create a repository archive that contains the new version of the sub-process flow.
    1. Click Tools and Archive Manager.
    2. In the Choose Operation pane, click the Add/Create/Download/Delete Archives radio button, and click Next.
    3. In the Repository Archives pane, click Create.
    4. 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.
    5. In the next pane, provide a name and optional description for the new repository archive, and click Finish.
  5. Import the new version of the sub-process flow from the new repository archive.
    1. Click Tools and Archive Manager.
    2. In the Choose Operation pane, click the Import components from a repository archive radio button, and click Next.
    3. In the Select repository archive to import pane, click the radio button next to the repository archive name, and click Next.
    4. 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.
    5. On the next pane, click Finish.
  6. Confirm deployment of the new version of the sub-process flow.
    1. Click Registry and Processes.
    2. 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).
    3. Visually examine the sub-process flow and confirm that it is the latest version.
  7. In the iWay Service Manager Administration Console, click Deployments and Services.
  8. On the Service Management pane, click Deploy.
  9. On the Available Processes pane, select the check box next to the process name, and click Deploy.

Top of page

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.

  1. Using Windows Explorer, browse to the following directory:
    iwayhome\etc\repository\manager\svc
  2. 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.

  3. Delete the directory with .1 appended to its name, for example, PFlow_Sbpr.1.
  4. Return to the iWay Service Manager Administration Console, and click Deployments and Services.
  5. On the Service Management pane, click Deploy.
  6. Confirm that the list on the Available Processes pane contains the latest version of the sub-process flow.
  7. Select the check box next to the process name, and click Deploy.

iWay Software