External Process Connector

This topic provides details of the Alemba® External Process Connector, including:

  • The name of the .NET assembly file

  • The connection methodology

  • Use case scenarios

  • Architectural and functional details that ensure the running of the use case through the Outbound Action task in the Workflow Platform

For compatibility and version support details, refer to the ASM Connector Matrix.

Overview

This connector:

  • Sends values from a request, task, or a linked entity, to an external process.

  • Receives values from the executable and passes them to the request or task.

You should familiarize yourself with the information in Installing Connectors before installing any connectors, and read the Integration topics for more information on how to configure them.

Use Case Scenario

Connector Description

The table below provides a description of the Alemba® External Process Connector.

Connection Parameters

The connection parameters for this connector are contained within an XML file on the application server where is installed. This file must be mapped to the connector Source.

Connector Requirements

Ensure that all security requirements are met for the external process to be run. When executing processes on a server other than the ASM server, ensure the executable is accessible through the firewall.

Installation

No install is required for this connector. Upon ASM Core install, this connector is visible in the Integration module, ready to be configured.

Additional Information

This connector does not include any Federated CMDB population functionality.

Connector Operation

Overview

To make the Alemba® External Process Connector work, you must:

  1. Configure the XML file using the configuration GUI on the ASM server

  2. Configure ASM with a Source for the Alemba® External Process Connector

  3. Configure ASM Outbound Action tasks

Configure the XML file

An executable has been provided to assist in the configuration of the Alemba®.Connector.ExternalProcess.xml file, where all the connection parameters, mappable fields, and other details for the external process are defined.

Multiple versions of this XML file can be created by copying the file and giving it a different name. There are no requirements for the file name.

  1. Run the configuration GUI

    • Log onto the ASM web server, if you're not already logged on

    • Navigate to the ASM root folder

    • C:\Program Files\Alemba\ASM\

    • Run Alemba®.Connector.ExternalProcess.Config.exe

    • The Alemba® External Process Connector Configuration window opens

    • Toward the top of the window, above the Process field, is shown the XML file which will be affected by any changes that are saved.

    • On first-time configuration, the GUI opens with a simple external process (Ping) already configured to provide an example showing how to configure the tool.

  2. Change to a different XML file if this is not the file you want to modify:

  3. Once the correct XML file is selected, complete the details:

All examples below use the Ping external process.

  1. To test the Process has been configured correctly, select Test Process

  2. To test the Output Pattern has been configured correctly, select Test Pattern

  3. Save the configuration details by selecting Save

If the Integration Source is defined, and afterward the configuration in the XML is changed, you must re-save the Source for the connector in the Integration Platform in order for the changes to appear in Outbound Action tasks.

Configuring a Source for External Processes

  1. Select ≡ > Admin > Integration.

  2. In the Explorer pane, under Integration, select Sources.

  3. Select the button on the toolbar. In the pop up window, select Alemba External Process Connector from the drop-down list.

  4. In the Integration Source Details window, complete the details.

Save the details.

Configuring Outbound Action Tasks

This connector is designed to be used by Outbound Action tasks in workflows.

The information contained below relates directly, and only, to configuring task fields for the External Process Connector, and assumes a basic working knowledge of tasks in workflow templates.

For general information on configuring Outbound Action tasks, refer to Creating an Outbound Action Task.

In the Mapping Details section of the Outbound Action task, complete the details:

  1. Expand the Mapping Details section, if necessary, and select the Source and Action.

  1. Select the Outgoing tab to map the fields for outgoing field values from ASM. This allows you to specify how field values from the ASM request or task correlate to the parameters in the external process (defined as Input Fields in the XML file) when this task activates.

    • Click Add. In the Add Fields window, select the parameters you want to map to fields on the task or parent request. Click OK.

    • On the browse table, click the corresponding cell in the Internal Field column. Then click the field selector button to pick a static value or a field from the task or request.

    • Depending on the field’s data type, additional options can be selected in the field selector, including: field transformations, profile maps, or resolution rules.

    • Add more field mappings if needed.

    • To delete any mapped fields, select the mapping and click Remove. In the warning dialog box, click Yes to remove the field mapping or No to cancel.

    • The Send Notify checkbox does not apply for this connector.

  2. Select the Incoming tab to map the incoming values from the external process. This allows you to specify how the values from the external process (defined as Output Fields in the XML file) correlate to fields in ASM when a response is received from the external process.

  3. Click Add. In the Add Fields window, select the task or request fields you want to map to parameters in the external process. Click OK.

    • On the browse table, click the corresponding cell in the Action Field column. Then click the field selector button to pick a static value or a parameter from the external process. These fields are defined as Output Patterns in the XML file.

    • Depending on the field’s data type, additional options can be selected in the field selector, including: field transformations, profile maps, or resolution rules.

    • In the Update column, select the conditions for populating the field in ASM. Always always updates the ASM field with the value from the stored procedure. Only When Blank only populates the ASM field with the value of the stored procedure if the field in ASM is blank. This means that an existing value in ASM cannot be overridden.

    • The On Initial Population Only update condition does not apply