Make children and grand children of a department appear as options on a catalogue item

matthew_hughes
Kilo Sage

As a requirement, I'm wanting the following departments to appear as they are children of the 'CIO Group Services & Security' and they have a department type of 'Platform':

matthew_hughes_0-1692360227292.png

 

However, it's now showing all the departments when I select the 'Aligned Platform' field:

 

matthew_hughes_2-1692360701918.png

 

This is my code at the moment for the 'Aligned Platform' field for the departments to appear:

matthew_hughes_1-1692360477919.png

 

However, the requirement is for all children and grandchildren of the selected department  or in this case 'currrent.u_business_decision' to appear if they have a department type of Platform. I was just wondering what I need to change in my code to get all children and grandchildren down the hierarchy to show if they have a department type of Platform.

 

0 REPLIES 0