4 Replies Latest reply on Aug 27, 2010 8:16 AM by Christophe.Beaucour

    automatically creating and closing changes

    Rookie

      Hi,

       

      We are currently replacing some old pc's, so along with our usual new installations/replacements we are replacing hundreds of old pc's and we were wondering if the system could automatically generate and close Changes?  Currently running version 7.31.

       

      Any help/advice greatly appreciated.

       

      Thanks

      Jak

        • 1. Re: automatically creating and closing changes
          Lara Hellman SupportEmployee

          Hi Jackie,

           

          I can't see any way of doing this automatically because I can't imagine what would trigger the Change creation.  However, you could make manual logging significantly easier by using a specially designed process in conjunction with a template.  The process could be designed to close itself on save so that the Analysts concerned wouldn't have to spend a lot time logging each Change.

           

          Thanks,

           

          Lara

          1 of 1 people found this helpful
          • 2. Re: automatically creating and closing changes
            JulianWigman Expert

            Jak,

             

            You don't say what the Changes are actually tracking;  is it provisioning CR for the new PC or disposal of the old one?  One CR or two?

             

            Is any automation involved here; ie LDMS for example?

             

            I was wondering whether you could raise via an email and the process will close on creation as per the other suggestion in this thread.

             

            Regards

            • 3. Re: automatically creating and closing changes
              Rookie

              Hi Julian,

               

              We would like it to track both the disposal of the old pc and the new pc, there is no automation and yes it looks like to raise the change for the new pc we would either use email or a template.

               

              Thanks for the response.

              Jak

              • 4. Re: automatically creating and closing changes
                Apprentice

                Hi Jak,

                 

                I think it is possible by using the Event Manager component.

                You have to run a shell command (PostEvent or SendEvent, see the EventManager documentation) to open a new change when a PC is disposed, and run the same command, with different parameters, when the PC is replaced.

                 

                For example :

                In EventManager,

                - you set an Event Source called "PCReplacement" with these parameters

                  --- Module = ChangeManagement

                  --- Process = Your Change Process

                  --- Event Ident = Event Source & CI

                  --- (Do not forget to active this Event Source)

                 

                - you define an Event Type called "PCDisposal" on Create Process action

                  --- EventName = PCDisposal

                  --- Attributes : EventType = PCDisposal

                  --- Map Event attributes to process attributes

                    ---- Event/ConfigItem = Change/ConfigItem.Title

                    ---- Event/Title = Change/Title

                    ---- Event/Description = Change/Description,

                 

                - you set an Event type called "PCRenewal"

                  --- Select the Event Source, and click Add Process Action

                  --- Choose the Close action and click OK

                  --- select the Close Action and click Define Event

                  --- EventName = PCRenewal

                  --- Attributes : EventType = PCRenewal

                  --- Map Event attributes to process attributes

                    ---- Event/Title = Close/Title

                    ---- Event/Parameter1 = Close/Description  (for example !)

                 

                To automatically open a Change :

                $ SendEvent.exe PCReplacement PCDisposal "PC disposed" "This PC is now disposed" OldPC_NetBios_Id

                 

                To automatically close the Change

                $ SendEvent.exe PCReplacement PCRenewal "PC replaced" "This PC is now replaced" OldPC_NetBios_Id "" "" "NewPC_NetBios_Id"

                 

                 

                However, it seems difficult to completely automate this, because to close the change, you have to set a parameter (CI) to the name of the replaced (old) PC.

                 

                Please read the EventManager documentation for further explanation.

                 

                I hope it could help you.

                 

                Regards

                Christophe