entities – Using drupal Simple hierarchical or Client-side Hierarchical Select with conditional field

I have been facing a problem for days without finding a solution and that is why I have come to present my problem here.
I am working on drupal D9 and I have created a type of content where I have to do a test to know the values obtained after a selection: as explained at the very bottom if at the first level I select Printer and Network I have to do a treatment appropriate except that it doesn’t work at all.
How can I get the actual values selected for the test to pass? If you have any other solution I am interested.
Thank you to all of you.

Using drupal Simple hierarchical or Client-side Hierarchical Select
with conditional field

  1. Create a taxonomy called ‘Property Type’ with 2 levels:

• Printer
• Local
• Multifunction
• Network
• Laptop
• Notebook
• Tablet
• Backup
• Tape Backup
• Tape Library