The CreatorCon Call for Content is officially open! Get started here.

Database views is not showing records but showing the count

Hareesha
Tera Contributor

Database views is not showing records but showing the count.

Below are the where clause i have used.

 

find_real_file.png

19 REPLIES 19

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

sys_group_has_skill 100 grpskill

sys_user_grmember 300 grpmem grpmem_group=grpskill_group

sys_user_has_skill 400 userskill userskill_user=grpmem_user && userskill_skill

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

When i use above query i will be getting all groups,skills and users.But i need a user who is part of parent of group and skill

 

 

I don't think dot walking to parent would work

you might have to include one more table to database view i.e. sys_user_group so that you can use parent field

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

i have tried using sys_user_group table but no luck