4 Replies Latest reply on Sep 19, 2013 10:02 PM by Vikramsingh Gour

    what is CAI:PluginRegistry form

      Share This:

      Experts,

       

      While trying to understand different components of the SRM I often encounter the forms starting with the name CAI.. There is an explination given in the pdf but that is not helping me to understand it completely. My concepts are still not clear.

       

      Can some one tell me what is the purpose of CAI:PluginRegistry form,CAI Events

       

       

       

      Regards,

      Deepti

        • 1. Re: what is CAI:PluginRegistry form
          Suyog Bandhaokar

          Hi Deepti,

           

          I hope this blog helps you.

           

          https://communities.bmc.com/community/bmcdn/bmc_it_service_support/service_request_management/blog/2013/09/03/the-pulse-resolving-issues-creating-fulfillment-tickets

           

          Please comment on it in case you have any questions so that there will be more information when someone looks out for that blog.

           

          Thanks,

          Suyog

          • 2. Re: what is CAI:PluginRegistry form
            Jason Ho Mok Cheong

            Hi Deepti,

             

            The CAI events form is used by the CAIFilterPlugin which is mainly used by SRM. It is mainly used to integrate the ITSM apps with SRM. When you create an SRM request, entries will be pushed to CAI:Events/Eventsparams to tell the CAI plugin to do some work. The CAI plugin is then pinged to tell it there is work there and to action the entries. It then uses HPD:incidentInterface to update or create an Incident if it is an SRM:Request that should cause an Incident to be created based on the rules defined for Incident Management.

             

            Hope this helps.

             

            Regards,

            Jason

            2 of 2 people found this helpful
            • 3. Re: what is CAI:PluginRegistry form
              Carl Wilson

              Hi Deepti,

              although a little older, the concepts are the same in the later versions of SRM:

               

              White Paper BMC Service Request Management 2.0 Architecture

               

              This document will show how the CAI is designed and fits together.

               

              Cheers

              Carl

               

              http://www.missingpiecessoftware.com/

              2 of 2 people found this helpful
              • 4. Re: what is CAI:PluginRegistry form
                Vikramsingh Gour

                Hi Deepti,

                 

                BMC Service Request Management uses CAI to integrate with backend applications, such as BMC Incident Management and BMC Change Management. CAI is a subcomponent that is used to run commands on external systems. CAI uses a command definition (a type of template) to construct commands using the parameters sent to it by BMC Remedy ITSM.

                 

                CAI Plugin:

                The CAI plug-in is a filter API plug-in which is triggered when entries are created on the CAI:Events form.

                Used to communicate between SRMS and backend applications (e.g. Incident and Change Management).

                 

                Definition forms:
                CAI Application Registry (CAI:AppRegistry) - defines backend application connection information (server, login, interface forms, template forms, etc)

                CAI Commands and Parameters (CAI:Commands, CAI:CommandParams) – defines commands and command parameters; there is a 1-many relationship between commands and command parameters

                CAI Command Parameter Mappings (CAI:CommandParamMapping) – defines mapping between command parameters and backend applications

                CAI Plug-in Registry (CAI:PluginRegistry) – specifies the number of threads and the private server queue to be used for the CAI Plug-in.

                 

                Run time CAI Forms:
                CAI Events (CAI:Events) – specifies the event to be processed
                Inputs needed by CAI plug-in:
                EventType – Create, Get, Update or Decrypt Password
                Execution Mode – Asynchronous or Synchronous
                  Target Server, Login, Password, Port #  – connection info for backend application; if not specified the Remedy Application Service account is used
                Protocol = AR (must be set to AR to use CAI plug-in); other options are URL, Webservices, Command Line, Plug-in, Other
                App Interface Form – name of backend application form
                Access Mode – Local or Remote
                Max Retries   – number of times to retry event if there is an error
                Direction        – Outbound or Inbound (outbound is from SRM  App, Inbound is the reverse)
                Event GUID   –  GUID used to tie Event to Event parameters
                Return Code – “Warning”; used with SYS:Action form to ensure all data is committed before calling plug-in

                Outputs from CAI plug-in:
                Return Code – OK, Warning, Error, Running, Start  (OK = success, Running = plug-in is processing event, Error = an error was received during processing, Start = used to retry event, Warning –not used as an output)
                Return Message Code – Error code returned (can be AR error number or Application message number)
                Return Message – Error message text received from either AR or application

                 

                Example: Creating a fulfillment request from SRM

                SRM-->AOI-->CAI-->CHG,HPD Interface forms-->CHG:Infrastructure Change, HPD:Help Desk

                 

                Regards,

                Vikram

                3 of 3 people found this helpful