Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Configuring the ServiceNow actor adapter


You configure an adapter in BMC Atrium Orchestrator Grid Manager. The configuration provides information about how the adapter interacts with the ServiceNow application. Although each adapter must have a unique name, you can create multiple adapters with the same adapter type to allow for different configuration properties.

The form view provides an easy-to-use interface for configuring adapters. The form view prevents human errors that might occur as a result of copying the configuration XML from the adapter user documentation into the UI when configuring an adapter. You can switch to the XML view to configure those elements and attributes that are not available as fields or to configure all the elements and attributes by using XML only. However, after you switch to the XML view, and save the configuration in XML from that view, you cannot use the form view for modifying the configuration.

To configure the actor adapter

  1. Log on to the BMC Atrium Orchestrator Grid Manager.
  2. To access the adapters page, click the Manage tab and then click the Adapters tab.
  3. In the Adapters in Repository list, select the check box corresponding to the type of adapter to be added.
  4. Select bmc-adapter-service-now-actor to add an actor adapter to the Grid.
  5. To include the adapter in the Adapters on Grid list, click Add to Grid.
  6. Click Configure corresponding to the newly added adapter.
  7. On the Add an Adapter Configuration page, perform the following sub-steps to configure the adapter by using the form view, or jump to step 8 to configure the adapter by using the XML view:
    1.  Enter a name for the adapter. 

      Tip

      Use ServiceNowActor as the actor adapter name, which is the default adapter name used by the processes in the AO-AD-ServiceNow module.

    2. Enter a description for the adapter.
    3. Under Properties, enter or select values for the configuration elements.

      The configuration elements for actor adapter are described in the following table. Include all required elements indicated with an asterisk (*).
    4. (Optional) Click Switch to XML View and use the following steps to specify elements and attributes that are not in the form view.
  8.  (Optional) Configure the adapter in the XML view by using the following sub-steps: 

    Note

    Switching to the XML view to specify those elements and attributes not included in the form means that you cannot thereafter use the form for modifying that configuration.

    1. Enter a name and a description for the adapter.
    2. Click Switch to XML View.
    3. On the Warning message that appears, click Switch View.
    4. Copy the configuration elements and attributes from the adapter user guide into the Properties text box, and then click OK

      Note

      If the default value for an optional element is acceptable, omit the element. Do not include empty elements.

    5. On the Warning message that appears, click Save.

      The adapter configuration with settings is saved in the XML view permanently*. The newly configured adapter is now listed in the Adapters on Grid list.

      The following table describes the adapter configuration elements and attributes for the ServiceNow application actor adapter that you can specify by using the form view, XML view, or both. You cannot use the form view to configure elements and attributes that do not have an entry in the UI label column.The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.

The following figures describes the XML sample for the actor adapter configuration:

XML sample for configuring the actor adapter with a plain password

<config>
   <proxy-settings>
     <host>11.111.111.1</host>
     <port>808</port>
     <user-name>username</user-name>
     <password>password</password>
   </proxy-settings>
   <target>demo.service-now.com</target>
   <user-name>username</user-name>
   <password>password</password>
   <timeout-secs>120</timeout-secs>
   <min-thread-pool-size>50</min-thread-pool-size>
   <max-thread-pool-size>100</max-thread-pool-size>
   <tables>
       <table entity = "change">change_request</table>
       <table entity = "incident">incident</table>
       <table entity = "import-set">imp_notification</table>
   </tables>
   <import-set>
       <change>
           <table-name>u_changeview</table-name>
           <import-set-coalesce-field>u_change_uid
</import-set-coalesce-field>
           <change-coalesce-field>correlation_id
</change-coalesce-field>
       </change>
       <incident>
           <table-name>u_incidentview</table-name>
           <import-set-coalesce-field>u_incident_uid
</import-set-coalesce-field>
           <incident-coalesce-field>correlation_id
</incident-coalesce-field>
       </incident>
   </import-set>
   <allow-unsigned-certificate>true</allow-unsigned-certificate>
   <install-certificate>true</install-certificate>
   <passphrase>true</passphrase>
</config>


XML sample for configuring the actor adapter with an encrypted Base64 password

<config>
   <proxy-settings>
     <host>11.111.111.1</host>
     <port>808</port>
     <user-name>username</user-name>
     <password encryption-type = "Base64">cGFzc3dvcmQ=</password>
   </proxy-settings>
   <target>demo.service-now.com</target>
   <user-name>username</user-name>
   <password encryption-type = "Base64">cGFzc3dvcmQ=</password>
   <timeout-secs>120</timeout-secs>
   <min-thread-pool-size>50</min-thread-pool-size>
   <max-thread-pool-size>100</max-thread-pool-size>
   <tables>
       <table entity = "change">change_request</table>
       <table entity = "incident">incident</table>
       <table entity = "import-set">imp_notification</table>
   </tables>
   <import-set>
       <change>
           <table-name>u_changeview</table-name>
           <import-set-coalesce-field>u_change_uid
</import-set-coalesce-field>
           <change-coalesce-field>correlation_id
</change-coalesce-field>
       </change>
       <incident>
           <table-name>u_incidentview</table-name>
           <import-set-coalesce-field>u_incident_uid
</import-set-coalesce-field>
           <incident-coalesce-field>correlation_id
</incident-coalesce-field>
       </incident>
   </import-set>
   <allow-unsigned-certificate>true</allow-unsigned-certificate>
   <install-certificate>true</install-certificate>
   <passphrase>true</passphrase>
</config>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*