Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

auto populate configuration item on the basis of business service

ShubhiGarhwal
Tera Contributor

Hi all

I have requirement in record producer variable name 'impacted Application' it refers to business service table and another variable 'Configuration item' refers to cmdb_ci table I need to auto populate Configuration item on the basis of business service.
CI which is related to that business service 

Screenshot 2024-04-17 233009.png

1 REPLY 1

Ratnakar7
Mega Sage

Hi @ShubhiGarhwal ,

 

You can use a dynamic reference qualifier to filter the Configuration Item options based on the selected Business Service. Here's how you can achieve this using a dynamic reference qualifier script:

javascript:'business_service=' + impacted_application; // Set the reference qualifier to filter Configuration Items by the selected Business Service


Also, refer similar community thread: https://www.servicenow.com/community/developer-forum/dynamic-reference-qualifier/m-p/1523307

 

Thanks,

Ratnakar