Action Processor

This configuration specifies the URL that points to the Action Processor to which the application will connect at runtime.

Note that in a production environment, the application and the Action Processor must be running on the same machine. Therefore, the baseUrl attribute for the ActionProcessors record in the config.xml file is set to an empty string by default:

<record jsxid="ActionProcessors" type="workspace">
    <ActionProcessor
       weighting="100"
       baseUrl="">
    </ActionProcessor>
</record>

This causes the URL to the Action Processor to be determined at runtime based on the URL entered in the browser to start the application.

In a development/testing environment, however, you will likely be running the application on a local machine. Therefore, you will need to specify the URL to the Action Processor in the baseUrl attribute.

Procedure

  1. Open the config.xml file.

    For information about how this file should be opened (i.e., via the Configuration Administrator or via the file system, see Introduction).

  2. Locate the ActionProcessors record in the config.xml file.
  3. Set the baseUrl attribute to the URL of the Action Processor. The string in the baseUrl attribute must be in the form:
       http://Host:Port/bpm/actionprocessor/actionprocessor.servlet

    where:

    • Host is the name or IP address of the machine hosting the Action Processor. This must be the same machine on which the application is running (i.e., the Action Processor and the application must be running on the same machine).
    • Port is the port number used by the ActiveMatrix WebApp Implementation Type to communicate with web applications.

      Note - The weighting attribute is not used at this time.

      For example:

    <record jsxid="ActionProcessors" type="workspace">
        <ActionProcessor
           weighting="100"
           baseUrl="http://Austin:8080/bpm/actionprocessor/actionprocessor.servlet">
        </ActionProcessor>
    </record>
  4. Save and close the config.xml file.