8 Replies Latest reply on Mar 19, 2009 8:43 AM by Peter Farr

    Messing with IBRSDPlugin.map

      Share This:

      Has anyone messed around with this file (on the ARS server)? I want to have some additional fields feed back into Impact from ARS and this seem like the place to do it, but I have seen absolutely no documentation on this - no surprise because IBRSD sets a new low in documentation standards.

      The syntax looks similar to the map on the Impact side, but it uses notations like:

      mc_ueid=slot.2

      I assume that mc_ueid is referring to the destination slot in Impact, but what is "slot.2"?

        • 1. Re: Messing with IBRSDPlugin.map
          Murtuza Talwari

          Workflow on AR Server will get the information like mc_ueid [ Stored in

          Incident], incident status etc.. and it will send to the Filter Plugin [

          Which interprets the information and send back to Impact Manager ]

           

          So slot.2 refers , on the second position it contains the information

          about mc_ueid.

           

          For sending additional information you need to change the workflow on

          ARServer.

           

          Regards,

          -Murtaza

          • 2. Re: Messing with IBRSDPlugin.map

            Thnaks Murtaza, but I do understand that. I assume that slot.0, slot.1, etc are like positional parameters passed to the plugin. I am not a Remedy expert (not even close) and I am having trouble locating the workflow components that drive the plugin. I assumed it would be a filter but I don't see anything in the filter log, nor do I see anything that looks pertinent in the plugin log.

            • 3. Re: Messing with IBRSDPlugin.map
              Murtuza Talwari

              Please refer to INT:OutBoundStaging Form and workflow related to that

              form.

               

              Cheers

              Murtaza

              • 4. Re: Messing with IBRSDPlugin.map

                Got it - thanks! Just for the record, it is filter BiiARS_HPD:OutBountStagingForm_INCIDENTINFO`! that explicitly defines the positional parameters for the plugin.

                • 5. Re: Messing with IBRSDPlugin.map

                  Is this procedure usefull to transfer new field value from Incident TO Information on Impact, is it correct?

                   

                  Why I cannot find IBRSDPlugin.map file?

                  Where is located, I look inside all drive.

                  Thanks

                  • 6. Re: Messing with IBRSDPlugin.map

                    Thomas, this file is on the Remedy server. I am no longer at that client so I cannot tell you the exact path.

                    • 7. Re: Messing with IBRSDPlugin.map

                      I found it on Ar System Server on "C:\Program Files\AR System\E3088SNB\CONF\IBRSD"

                      But I don't understand what should I modify:

                       

                      <<ORIGINAL FILE>>
                      MapSetName=BiRSD_Plugin
                      Version=1.0
                      FormatVersion=1
                      ChangeDate=October 28, 2005
                      Description= Map for AR Plugin and ARDBC plugin
                      Enable=TRUE
                      #History :
                      #              8th May 2006 - changes done by Anuradha to use Single map

                      MapName=BiRSD_AR_PLUGIN
                      CopySource=FALSE                        #Copy contents of all the slots from source to destination before any translation
                      Description=It will check use case value coming from ARServer and use map accordingly
                      Enable=TRUE
                              {
                                      #slot.1 is reserved for "use_case" it will be sim/bem
                                      #if use case is "bem", use map "BiRSD_EVENT_INCIDENTINFO"
                                      #else if use case is "bem", use map "BiRSD_CI_INCIDENTINFO"

                                      $if(slot.1 = "BEM")
                                              $DoMap(BiRSD_EVENT_INCIDENTINFO)
                                      $elseif(slot.1 = "SIM")
                                              $DoMap(BiRSD_CI_INCIDENTINFO)
                                      $endif
                              }

                       

                      MapName=BiRSD_CI_INCIDENTINFO
                      CopySource=FALSE                        #Copy contents of all the slots from source to destination before any translation
                      #SourceClass=CI_INCIDENT_INFO           #ARSevent class representation
                      #DestinationClass=INCIDENT_INFO         #ARS event class representation
                      Description=Maps the severity slot of Event coming from ARS and to be dispatched to IM accrording to the customization Map
                      Enable=TRUE
                              {
                                      #slot.0 is reserved for "newtt" "modifytt"
                                      #slot.1 is reserved for "use_case" it will be sim/bem
                                      #slot.2 is reserved for "mc_ueid'
                                      #slot.3 is reserved for "cell_name"
                                      #slot.4 is reserved for "incident_status"
                                      #slot.5 is reserved for "date/time"
                                      #slot.6 is reserved for "worklog"
                                
                                      #If slot.0 is logtt, then use worklog's map BiRSD_CI_INCIDENTINFO_WORKLOG
                                      #else if slot.0 is newtt , then use map BiRSD_CI_INCIDENTINFO_NEW_MOD
                                      #else if slot.0 is modify , then use map BiRSD_CI_INCIDENTINFO_NEW_MOD
                                      $if(slot.0 = "logtt")
                                              $DoMap(BiRSD_CI_INCIDENTINFO_WORKLOG)
                                      $elseif(slot.0 = "newtt")
                                              $DoMap(BiRSD_CI_INCIDENTINFO_NEW)
                                      $elseif(slot.0 = "modifytt")
                                              $DoMap(BiRSD_CI_INCIDENTINFO_MOD)
                                      $endif
                          }

                       

                      MapName=BiRSD_CI_INCIDENTINFO_NEW
                      CopySource=FALSE                        #Copy contents of all the slots from source to destination before any translation
                      #SourceClass=CI_INCIDENT_INFO           #ARSevent class representation
                      #DestinationClass=INCIDENT_INFO         #ARS event class representation
                      Description=Maps the severity slot of Event coming from ARS and to be dispatched to IM accrording to the customization Map
                      Enable=TRUE
                              {
                                      #slot.0 is reserved for "newtt" "modifytt"
                                      #slot.1 is reserved for "use_case" it will be sim/bem
                                      #slot.2 is reserved for "mc_ueid'
                                      #slot.3 is reserved for "cell_name"
                                      #slot.4 is reserved for "incident_status"
                                      #slot.5 is reserved for "date/time"
                                      #slot.6 is reserved for "worklog"
                                
                                      mc_ueid=slot.2
                                      cell_name=slot.23
                                      incident_status=slot.4
                                      date_time=slot.5
                                      component_id=slot.7
                                      #component_name=slot.8
                                      component_status=slot.9
                                      incident_submitter=slot.10
                                      incident_id=slot.11
                                      incident_assignee=slot.12
                                      msg=slot.13
                                      manually_created_incident=slot.14
                                      policy_name=slot.18
                                      bOrphanedRoot=slot.21
                                      $ClassName="CI_INCIDENT_INFO"
                                      severity="INFO"
                                      mc_smc_impact=3                         #newly added slot for SIM USE case event association
                                      mc_smc_id=slot.7                        #newly added slot for SIM USE case event association
                                      status=$Lookup(slot.4)
                                      {
                                              Closed -> CLOSED
                                  Cancelled -> CLOSED
                                      }
                          incident_priority=slot.22
                          prop_destination = $Format("[%s]",slot.25)
                                      status_incident=slot.16
                                      status_reason=slot.17
                                      priority_urgency_option=slot.19
                                      status_impact_option=slot.20

                          }
                      MapName=BiRSD_CI_INCIDENTINFO_MOD
                      CopySource=FALSE                        #Copy contents of all the slots from source to destination before any translation
                      #SourceClass=CI_INCIDENT_INFO           #ARSevent class representation
                      #DestinationClass=INCIDENT_INFO         #ARS event class representation
                      Description=Maps the severity slot of Event coming from ARS and to be dispatched to IM accrording to the customization Map
                      Enable=TRUE
                              {
                                      #slot.0 is reserved for "newtt" "modifytt"
                                      #slot.1 is reserved for "use_case" it will be sim/bem
                                      #slot.2 is reserved for "mc_ueid'
                                      #slot.3 is reserved for "cell_name"
                                      #slot.4 is reserved for "incident_status"
                                      #slot.5 is reserved for "date/time"
                                      #slot.6 is reserved for "worklog"
                                      #slot.24 is original priority
                                
                                      mc_ueid=slot.2
                                      cell_name=slot.23
                                      incident_status=slot.4
                                      date_time=slot.5
                                      component_id=slot.7
                                      #component_name=slot.8
                                      component_status=slot.9
                                     
                                      incident_id=slot.11
                                      incident_assignee=slot.12
                                      msg=slot.13
                                      manually_created_incident=slot.14
                                      policy_name=slot.18
                                      bOrphanedRoot=slot.21
                                      $ClassName="CI_INCIDENT_INFO"
                                      severity="INFO"
                                      mc_smc_impact=3                         #newly added slot for SIM USE case event association
                                      mc_smc_id=slot.7                        #newly added slot for SIM USE case event association
                                      status=$Lookup(slot.4)
                                      {
                                              Closed -> CLOSED
                                  Cancelled -> CLOSED
                                      }
                         
                        $if(slot.24 != slot.22)        #solving the incident priority vantive
                         incident_priority=slot.22
                        $endif
                          }


                      MapName=BiRSD_CI_INCIDENTINFO_WORKLOG
                      CopySource=FALSE                        #Copy contents of all the slots from source to destination before any translation
                      #SourceClass=INCIDENT_INFO              #ARS event class representation
                      #DestinationClass=CI_INCIDENT_INFO      #ARS event class representation
                      Description=Maps the worklog slot of Event coming from ARS and to be dispatched to IM accrording to the customization Map
                      Enable=TRUE
                              {
                                      #slot.0 is reserved for "newtt" "modifytt"
                                      #slot.1 is reserved for "use_case" it will be sim/bem
                                      #slot.2 is reserved for "mc_ueid'
                                      #slot.3 is reserved for "cell_name"
                                      #slot.4 is reserved for "incident_status"
                                      #slot.5 is reserved for "date/time"
                                      #slot.6 is reserved for "worklog"

                                      mc_ueid=slot.2
                                      date_time=slot.5
                                      #append_notes slot is to aapend notes value to mc_notes
                                      #append_note=slot.append_note
                                      mc_notes=slot.mc_notes
                                      $ClassName="CI_INCIDENT_INFO"
                                      severity="INFO"
                       

                       
                          }

                       

                      MapName=BiRSD_EVENT_INCIDENTINFO
                      CopySource=FALSE                        #Copy contents of all the slots from source to destination before any translation
                      #SourceClass=EVENT_INCIDENT_INFO                #ARSevent class representation
                      #DestinationClass=EVENT_INCIDENT_INFO   #ARS event class representation
                      Description=Maps the severity slot of Event coming from ARS and to be dispatched to IM accrording to the customization Map
                      Enable=TRUE
                              {
                                      #slot.0 is reserved for "newtt" "modifytt"
                                      #slot.1 is reserved for "use_case" it will be sim/bem
                                      #slot.2 is reserved for "mc_ueid'
                                      #slot.3 is reserved for "cell_name"
                                      #slot.4 is reserved for "incident_status"
                                      #slot.5 is reserved for "date/time"
                                      #slot.6 is reserved for "worklog"
                                
                                      #If slot.0 is logtt, then use worklog's map BiRSD_EVENT_INCIDENTINFO_WORKLOG
                                      #else if slot.0 is newtt , then use map BiRSD_EVENT_INCIDENTINFO_NEW_MOD
                                      #else if slot.0 is modify , then use map BiRSD_EVENT_INCIDENTINFO_NEW_MOD
                                
                                      $if(slot.0 = "logtt")
                                              $DoMap(BiRSD_EVENT_INCIDENTINFO_WORKLOG)
                                      $elseif(slot.0 = "newtt")
                                              $DoMap(BiRSD_EVENT_INCIDENTINFO_NEW)
                                      $elseif(slot.0 = "modifytt")
                                              $DoMap(BiRSD_EVENT_INCIDENTINFO_MOD)
                                      $endif
                          }

                       

                      MapName=BiRSD_EVENT_INCIDENTINFO_NEW
                      CopySource=FALSE                        #Copy contents of all the slots from source to destination before any translation
                      #SourceClass=EVENT_INCIDENT_INFO        #ARSevent class representation
                      #DestinationClass=EVENT_INCIDENT_INFO   #ARS event class representation
                      Description=Maps the severity slot of Event coming from ARS and to be dispatched to IM accrording to the customization Map
                      Enable=TRUE
                              {
                                      #slot.0 is reserved for "newtt" "modifytt"
                                      #slot.1 is reserved for "use_case" it will be sim/bem
                                      #slot.2 is reserved for "mc_ueid'
                                      #slot.3 is reserved for "cell_name"
                                      #slot.4 is reserved for "incident_status"
                                      #slot.5 is reserved for "date/time"
                                      #slot.6 is reserved for "worklog"

                                      mc_ueid=slot.2
                                      incident_status=slot.4
                                      date_time=slot.5
                                      incident_submitter=slot.10
                                      incident_id=slot.11
                                      incident_assignee=slot.12
                                      msg=slot.13
                                     # manually_created_incident=slot.14
                                      event_mc_ueid=slot.15
                                      mc_relation_source=slot.15
                                      $ClassName="EVENT_INCIDENT_INFO"
                                      severity="INFO"
                                      status=$Lookup(slot.4)
                                      {
                                          Closed -> CLOSED
                                  Cancelled -> CLOSED
                                      }
                        incident_priority=slot.22
                          }

                      MapName=BiRSD_EVENT_INCIDENTINFO_MOD
                      CopySource=FALSE                        #Copy contents of all the slots from source to destination before any translation
                      #SourceClass=EVENT_INCIDENT_INFO        #ARSevent class representation
                      #DestinationClass=EVENT_INCIDENT_INFO   #ARS event class representation
                      Description=Maps the severity slot of Event coming from ARS and to be dispatched to IM accrording to the customization Map
                      Enable=TRUE
                              {
                                      #slot.0 is reserved for "newtt" "modifytt"
                                      #slot.1 is reserved for "use_case" it will be sim/bem
                                      #slot.2 is reserved for "mc_ueid'
                                      #slot.3 is reserved for "cell_name"
                                      #slot.4 is reserved for "incident_status"
                                      #slot.5 is reserved for "date/time"
                                      #slot.6 is reserved for "worklog"
                          #slot.24 is original priority
                         
                                      mc_ueid=slot.2
                                      incident_status=slot.4
                                      date_time=slot.5
                                      incident_id=slot.11
                                      incident_assignee=slot.12
                                      msg=slot.13
                                     # manually_created_incident=slot.14
                                      event_mc_ueid=slot.15
                                      mc_relation_source=slot.15
                                      $ClassName="EVENT_INCIDENT_INFO"
                                      severity="INFO"
                                      status=$Lookup(slot.4)
                                      {
                                          Closed -> CLOSED
                                  Cancelled -> CLOSED
                                      }
                        $if(slot.24 != slot.22)        #solving the incident priority vantive
                         incident_priority=slot.22
                        $endif
                          }

                       

                      MapName=BiRSD_EVENT_INCIDENTINFO_WORKLOG
                      CopySource=FALSE                        #Copy contents of all the slots from source to destination before any translation
                      #SourceClass=INCIDENT_INFO              #ARS event class representation
                      #DestinationClass=EVENT_INCIDENT_INFO   #ARS event class representation
                      Description=Maps the worklog slot of Event coming from ARS and to be dispatched to IM accrording to the customization Map
                      Enable=TRUE
                              {
                                      #slot.0 is reserved for "newtt" "modifytt"
                                      #slot.1 is reserved for "use_case" it will be sim/bem
                                      #slot.2 is reserved for "mc_ueid'
                                      #slot.3 is reserved for "cell_name"
                                      #slot.4 is reserved for "incident_status"
                                      #slot.5 is reserved for "date/time"
                                      #slot.6 is reserved for "worklog"

                                      mc_ueid=slot.2
                                      date_time=slot.5
                                      #append_notes slot is to aapend notes value to mc_notes
                                      #append_note=slot.append_note
                                      mc_notes=slot.mc_notes
                                      $ClassName="EVENT_INCIDENT_INFO"
                                      severity="INFO"
                          }

                       

                      MapName=BiRSD_ARDBC_SLOT_DATATYPE
                      #Copy contents of all the slots from source to destination before any translation
                      CopySource=TRUE            
                      Description=Maps the slot names to the data types. that will be handled in ARDBC plugin
                      Enable=TRUE
                              {
                                      name="CHAR_TYPE"
                                      sel_class_name="CHAR_TYPE"
                                      all_comp_in_selected_class_option="ENUM_TYPE"
                                      all_comp_that_begin_with_option="ENUM_TYPE"
                                      comp_begin_with="LIST_TYPE"
                                      selected_comp_option="ENUM_TYPE"
                                      component_list="LIST_TYPE"
                                      operator_status="CHAR_TYPE"
                                      component_status="STATUS_LBOX_TYPE"
                                      operator_priority="CHAR_TYPE"
                                      component_priority="PRIORITY_LBOX_TYPE"
                                      prop_destination="LIST_TYPE"
                                      incident_for="CHAR_TYPE"
                                      status_incident="CHAR_TYPE"
                                      status_reason="CHAR_TYPE"
                                      priority_urgency_option="ENUM_TYPE"
                                      status_impact_option="ENUM_TYPE"
                                      enabled="ENUM_TYPE"
                                      cell_name="CHAR_TYPE"
                                      site="CHAR_TYPE"
                              }

                      MapName=IBRSD_ENRICH_MAP
                      #Copy contents of all the slots from source to destination before any translation
                      CopySource=TRUE            
                      Description=Maps the slot names to the data types. that will be handled in ARDBC plugin
                      Enable=TRUE
                      {
                      description="DO NOT EDIT in Impact Explorer."
                      }

                      MapName=BiRSD_MULTIPLE_INSTANCE
                      #Copy contents of all the slots from source to destination before any translation
                      CopySource=TRUE            
                      Description=Maps the slot names to the data types. that will be handled in ARDBC plugin
                      Enable=TRUE
                      {
                              Instance_name="CHAR_TYPE"
                      }

                      <<END ORIGINAL FILE>>

                       

                      In which blocks should I insert my new personal fields? I'd like to take back to Impact some new field value when I create or Modify an Incident.

                      -Block List:

                      MapName=BiRSD_AR_PLUGIN

                      MapName=BiRSD_CI_INCIDENTINFO

                      MapName=BiRSD_CI_INCIDENTINFO_NEW

                      MapName=BiRSD_CI_INCIDENTINFO_MOD

                      MapName=BiRSD_CI_INCIDENTINFO_WORKLOG

                      MapName=BiRSD_EVENT_INCIDENTINFO

                      MapName=BiRSD_EVENT_INCIDENTINFO_NEW

                      MapName=BiRSD_EVENT_INCIDENTINFO_MOD

                      MapName=BiRSD_EVENT_INCIDENTINFO_WORKLOG

                      MapName=BiRSD_ARDBC_SLOT_DATATYPE

                      MapName=IBRSD_ENRICH_MAP

                      MapName=BiRSD_MULTIPLE_INSTANCE

                       

                      - Personal Fields value:

                       

                      <<

                      EVENT_OBJECT_CLASS=slot.28

                      EVENT_OBJECT=slot.27

                      EVENT_PARAMETER=slot.30

                      EVENT_ORIGIN=slot.29

                      >>

                       

                      DB_NAME_ON_FORM_INT_OUT=slot.#_ON_BiiARS_HPD:OutBoundStagingForm_INCIDENTINFO`!



                       

                      Are you sure about .#_ON_BiiARS_HPD:OutBoundStagingForm_INCIDENTINFO`!, because if I took "incident_submitter=slot.10" on map file, on filter I read slot 10 = component status and incident submitter is on slo 11?

                      Thanks a lot

                      • 8. Re: Messing with IBRSDPlugin.map

                        As I said above, I am not even close to being an expert in this. I just tried different things until it worked. I do not know what is the difference between the CI_INCIDENTINFO and the EVENT_INCIDENTINFO blocks. I would assume that the WORKLOG block are probably not what you want. To answer your last question, I am not sure about anything. I am no longer at that client site and do not have access to the system. Experiment with it and you should be able to determine the correct placement empirically.

                         

                        Thommino wrote:

                         

                        I found it on Ar System Server on "C:\Program Files\AR System\E3088SNB\CONF\IBRSD"

                        But I don't understand what should I modify:

                         

                        <snip>

                        In which blocks should I insert my new personal fields? I'd like to take back to Impact some new field value when I create or Modify an Incident.

                        -Block List:

                        MapName=BiRSD_AR_PLUGIN

                        MapName=BiRSD_CI_INCIDENTINFO

                        MapName=BiRSD_CI_INCIDENTINFO_NEW

                        MapName=BiRSD_CI_INCIDENTINFO_MOD

                        MapName=BiRSD_CI_INCIDENTINFO_WORKLOG

                        MapName=BiRSD_EVENT_INCIDENTINFO

                        MapName=BiRSD_EVENT_INCIDENTINFO_NEW

                        MapName=BiRSD_EVENT_INCIDENTINFO_MOD

                        MapName=BiRSD_EVENT_INCIDENTINFO_WORKLOG

                        MapName=BiRSD_ARDBC_SLOT_DATATYPE

                        MapName=IBRSD_ENRICH_MAP

                        MapName=BiRSD_MULTIPLE_INSTANCE

                         

                        - Personal Fields value:

                         

                        <<

                        EVENT_OBJECT_CLASS=slot.28

                        EVENT_OBJECT=slot.27

                        EVENT_PARAMETER=slot.30

                        EVENT_ORIGIN=slot.29

                        >>

                         

                        DB_NAME_ON_FORM_INT_OUT=slot.#_ON_BiiARS_HPD:OutBoundStagingForm_INCIDENTINFO`!



                         

                        Are you sure about .#_ON_BiiARS_HPD:OutBoundStagingForm_INCIDENTINFO`!, because if I took "incident_submitter=slot.10" on map file, on filter I read slot 10 = component status and incident submitter is on slo 11?

                        Thanks a lot