Need to Map ServiceNow property Retired to allowable USM property

book

Article ID: 133682

calendar_today

Updated On:

Products

CA Service Operations Insight (SOI)

Issue/Introduction

I am creating a map in the outbound policy file for the SOI service now connector for class Service.


I want to map the Service Now attribute Retired and need to know what the SOI equivalent is so I can add the mapentry.

In addition, I need the allowable USM valuse for Service Lifecycle State as I may want to create a map to put operational_status in that attribute as well


Here is the current policy


    <!-- =======Service====================================================================================================== -->
    <EventClass name='Service' extends='Entity' >
        <Normalize>
            <Field conditional='sn_operational_status' output='AdministrativeStatus' type='map' input='sn_operational_status'>
              <mapentry mapin='1' mapout='Active-Available' />
              <mapentry mapin='2' mapout='Unavailable' />
              <mapentry mapin='3' mapout='Unavailable-RestorationInProgress' />
              <mapentry mapin='4' mapout='Unavailable-Offline' />
            </Field>      




Environment

Release :

Component : Service Operations Insight (SOI) Manager 4.2

Service Now Connector - 4.5.12

Service Now - London

Resolution

Add the following line to the EventClass Service section in outbound policy in CA\Catalyst\CatalystConnector\registry\topology\physical\<HostName>_CatalystConnector\modules\policy\servicenowconnector_policy_outbound.xml. 


<mapentry mapin='6' mapout='Unavailable-Retired' />


  Here is an example where the above line should be added:


<!-- =======Service====================================================================================================== -->

    <EventClass name='Service' extends='Entity' >

        <Normalize>

            <Field conditional='sn_operational_status' output='AdministrativeStatus' type='map' input='sn_operational_status'>

              <mapentry mapin='1' mapout='Active-Available' />

              <mapentry mapin='2' mapout='Unavailable' />

              <mapentry mapin='3' mapout='Unavailable-RestorationInProgress' />

              <mapentry mapin='4' mapout='Unavailable-Offline' />

              <mapentry mapin='6' mapout='Unavailable-Retired' />

            </Field>       


Note:

The number 6 value is assigned to the Label "Retired" for operational_status element in cmdb_ci_service table in ServiceNow