Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate age of a Insight object

Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 10, 2018

Is it possible to automatic fill a attribute 'age' filled in the Insight CMDB?

There is a attribute called “placement date” this is filled with 05-12-2010, the field age must show 8.

1 answer

1 accepted

1 vote
Answer accepted
Yinon Negev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2018

Hi Marco.

     The calculation and populating the "Age" attribute can be done using a Groovy Script in an Automation Rule. 

e.g. On Object Created, IF the Object is of a specific Object Type - the resulting Action will be a Script which retrieves the "Placement Date", calculated the date and sets it into the "Age" Attribute.

There is no other way within insight to auto-populate an Attribute.

Kind regards,

Yinon

Team Riada

Suggest an answer

Log in or Sign up to answer