How to use instanceOf operator to get child or parent class of CI in BR or SI
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 07:57 AM - edited 03-19-2025 08:02 AM
In my scenario I need to check whether CI is Network or child of network class then, I need to set the value. Likewise I need to check for Server, Database and storage class. I tried using class path, even though I can achieve the output code is not much readable. So please help me to do using INSTANCEOF operator or using Class Name.
__PRESENT
__PRESENT
__PRESENT
__PRESENT
0 REPLIES 0