MRVS , script include & glide ajax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 07:38 AM
Hello everyone,
I am working on a catalog item, I have 3 variables in this catalog item which are as follows
1 - Target Workstation, it is a variable which points to the 'cmdb_software_instance' table
2- an MRVS named 'selected_software', this MRVS has 2 columns, the first named 'Software' and the second column named 'status'.
the need is as follows:
I must check the list of installed software in my variable 'target_workstation', retrieve all the selected software, then compare them with the first column of MRVS 'software', if the software exists in the installed software, the status must be displayed 'installed ' otherwise I have to display 'to_instal' .
Attached screenshots for your understanding.
here is my include script that I set up and my client script, but I have no results.
thank you for helping me dear community
script include :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 10:39 AM
try using <internal_name_of_mrvs>.variable_name for this line