Integrate > Micro Focus UCMDB > Using the ServiceManagerAdapter9.41 Adapter > Integration Setup > Federating SM Ticket Data to UCMDB > Example 2: Federate SM Incident Tickets that Affect a UCMDB Business Service CI

Example 2: Federate SM Incident Tickets that Affect a UCMDB Business Service CI

The following example illustrates how to federate a list of Service Manager Incident records whose Affected Service or Affected CI field contains a UCMDB Business Service CI.

  1. Log in to UCMDB as an administrator.
  2. Navigate to Modeling > Modeling Studio > Resources.
  3. For Resource Type, select Queries from the list.
  4. Click New > Query.
  5. On the CI Type tab, go to ConfigurationItem > BusinessElement > Service > BusinessService, and drag it to the query pane on the right side.

  6. Go to ItProcessRecord > Incident, and drag the icon to the query pane.

  7. Click the Create Relationship button .
  8. Select the Incident query node, and drag the arrow from this node to the BusinessService node to create a regular relationship between the nodes.
    1. Select Regular Relationship, and click OK.
    2. Select Membership, and optionally enter a relationship name (for example, Membership_1). Click OK.

  9. Specify UCMDB as the data source for the BusinessService query node.
    1. Select the BusinessService query node.
    2. On the lower right pane, click the Data Sources tab and then click Edit.
    3. Make sure that the Local data source (UCMDB only) option is selected.
    4. Click OK.

  10. Similarly, specify your integration point as the data source for the Incident query node (for example, sm_integration).

  11. Click the Calculate Query Result Count button . The number of SM Incidents and the number of their affected UCMDB Business Service CIs are displayed.

  12. Click the Preview button to view the query result .

  13. Select each SM Incident record from either the CI Selector pane or the query pane, and click the Properties button to view its details .
  14. Select each UCMDB CI record from either the CI Selector pane or the query pane, and on the Related CIs tab click Show Related CIs.