Set URL templates

Use the URL Templates dialog box to specify the launch and step processor templates for each web application in the VWService or isolated region. The system uses the templates to build the URL for the launch and step processors. See Configure step processors and View or modify VWService properties for additional information.

To configure a URL template for a launch processor or step processor for a web application

  1. Select the VWService or isolated region you wish to modify and click Properties on the toolbar.
  2. Select the Web Applications tab. Note the ID number of the web application you are specifying for a launch processor or step processor.
  3. Click Advanced on the dialog box toolbar.
  4. To add a URL template, click New. Enter an ID number in the Web Application field. The ID for a custom web application must be a number between 100 and 999, inclusive.

    NOTE  To open HTML step processors or allow the custom step processors to be opened from another web application, the ID number you enter must have a corresponding web application ID number in the web application properties. See Set web application properties for VWService for more information.

  5. Enter the Template using the appropriate format as explained below.
  6. Click OK to return to the main VWService or isolated region properties window.

The URL template format

The launch step processor URL template uses the format in the table below. Number 199 indicates a custom web application.

Web application Template
FileNet Workplace
FileNet Workplace XT
FileNet Web Services
FileNet Open Client
FileNet Collaboration
FileNet Records Manager
IBM ECM Widgets
100
199

where each number represents the following:

Server base URL
Launch step processor location
Workflow version (F_WCRevision) or workflow name
Subject (optional)
Attachment document ID (optional)

For example, for the following settings:

server base URL: 
http://10.15.4.54:8080/MyWebApp
Location: 
myLaunchProcessor.jsp
URL template: 
{0}/myLaunchers/{1}?workflowVersion={2}&subject={3}&attachmentId={4}

At runtime, the link for the launch processor would look as follows:

The step processor URL template uses the format in the table below:

Web application Template

where each number represents the following:

Server base URL
Step processor location
Queue name
Work item number
Step name (optional)

For example, for the following settings:

server base URL: 
http://10.15.4.54:8080/MyWebApp
Location: 
myStep.jsp
URL template: 
{0}myStepprocs/{1}?queueName={2}&wobName={3}&stepName={4}

The link for the step processor would look as follows:

To delete the URL template for a custom web application, select the row and click Delete. To delete the URL template for a non-custom web application, delete the information in the Template field.