How to filter Service Offerings based on Services selected from Record Producer ( Service Portal)

Vijayr119
Tera Contributor

How to filter Service Offerings based on Services selected from Record Producer ( Service Portal)

Both Service and Service Offering variables are referencing to cmdb_ci_services tabel

find_real_file.pngfind_real_file.png

1 ACCEPTED SOLUTION

Hi,

So it means the ref qualifier works with hard-coded value of service sysId

Since you want to filter records you need not use script include; this should ideally work

Is the variable name business_service correct?

javascript: 'parent=' + current.variables.business_service.toString();

Regards
Ankur

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

View solution in original post

18 REPLIES 18

Now, I can see the values related to SysID I have updated... 

What I need to do now?

Hi,

So it means the ref qualifier works with hard-coded value of service sysId

Since you want to filter records you need not use script include; this should ideally work

Is the variable name business_service correct?

javascript: 'parent=' + current.variables.business_service.toString();

Regards
Ankur

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

I would like to filter services based on selected assignment group, how can i do that ?

Also, there is no query BR written for Services table.