CA Service Management

  • 1.  Operations on fields value in CA ITAM.

    Posted Apr 21, 2015 06:10 AM

    Hi  All,

     

    I want to create three fields in CA IT Asset Manager. I want to performs operations on these fields like if i give any value in one field then that value is multiplied by a constant and this result automatically entered in another second field.

    Is it possible in CA ITAM or  by any means like integrating with IT PAM or with some another tool.

     

    Please put me on right path.

     

    Thanks

    Vinay



  • 2.  Re: Operations on fields value in CA ITAM.

    Posted Apr 21, 2015 07:59 AM

    You are correct in that you would need to do this in another way, as its not possible to have the ITAM UI do this directly.  Using the Web Services is one way.  Now, depending on how fast you need the update, and how data gets entered into the system in the first place, and how this field gets updated/recorded, you have lots of options.

     

    If you want to attempt PAM to do this, then you would need to create an event that fires on that field in ITAM, and have that event call your custom process, and have that process do the calculations and then update the asset with the new data.

     

    If you only set this field during asset loading, perhaps its better for the program that does the load (or creates the file to load) to do the calculations and have your import process take care of it.

     

    You could in theory also write a background service type of application (via Web Services), which nightly scans the assets for changes to that field, and for any that have changed, does the calculations and updates those assets...

     

    Lots of options, but which is the right one for you, I can not say.

     

    Rick



  • 3.  Re: Operations on fields value in CA ITAM.

    Posted Apr 21, 2015 08:22 AM

    Hey Richard thanks for your response

     

    I am also trying it with the pam. But here the concern is web services of ITAM. And not able to find the correct flow to perform it.

    And also curious to know if it is possible with some other way. And I want to know if i do programming where does i have to apply the program. Scripting in CA ITAM possible?

     

    Thanks

    Vinay



  • 4.  Re: Operations on fields value in CA ITAM.
    Best Answer

    Posted Apr 21, 2015 08:38 AM

    There is no scripting in ITAM. 

    You could write some C# program that scanned the asset records nightly, and updated them as needed. 

    Also, since you are having issues getting PAM to use the ITAM WSDL directly, you could also write a program that uses the WSDL, and have PAM call that instead of PAM calling the WSDL directly. 

     

    I posted some sample C# code another thread (ITAM Update webservice use). 

     

    Maybe that might be of use?

     

    Rick



  • 5.  Re: Operations on fields value in CA ITAM.

    Posted Apr 21, 2015 08:49 AM

    Hey Richard thanks that can be helpful.

    But just another help i want that i will try this method first time so don't know where i have to apply this C# program from which the asset would be called.

     

    Thanks

    Vinay



  • 6.  Re: Operations on fields value in CA ITAM.

    Posted Apr 22, 2015 07:47 AM

    Hi ,

    Can you please explain this further. How that program will be called by a particular event. Do i have to make some .exe or .dll file. But where i have to run the program.

     

    Thanks

    Vinay



  • 7.  Re: Operations on fields value in CA ITAM.

    Posted Apr 22, 2015 08:49 AM

    Events are things that occur in ITAM.  So, when you update a record, or a particular field, the "event" occurs.  There is documentation on it here (Events and Notifications - CA Service Management - 14.1 - CA Wiki).  When that event occurs, it can start a PAM process.  The PAM process could then call your web services program (exe) that you wrote as one of its steps. 

     

    As I said, that is one way.  There are other ways as well, but you need to decide which is the right method for your scenario.