@Sid_Takali 

The manager field automatically pop up. Under that manergs name how many users working. 

Example  : If pop up the managers name as abraham lincon. In third field user B need to show how many user under the manager (Abraham linncon) working.

Hi @dhineshkumar So basically you want show the count of users under Manager. For that you need to have string type field instead of Reference Field(User B). And to populate that you need to call a GlideAjax call from onChange Catalog Client Script. 

@Sid_Takali 

If I provides the string type field I could not see the number of users. I have to give the reference type only. Kindly provide me if you have any script.

Thank you.

Hi @dhineshkumar Got it, You want to set dynamic reference qualifier based on Manager field. 

Try below reference qualifier. Let's see it if works or not?

javascript: 'manager=' + current.variables.manager

and add below attribute 

ref_qual_elements=manager

 

@Sid_Takali 

should I have to apply on the User B field this dynamic and attribute.

Thank you.