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.

Advanced Reference Qualifier for variable in Record Producer (Report Incident)

Kasia5
Tera Contributor

Hi All

 

I have two variables in Recor Producer:

'Affected user' with reference to sys_user table

and 'Configuration item' with refernce to 'cmdb_ci' table and mapped to 'Configuration item' in incident form.

Base on user from Affected user I want to show only these Configuration items which are assigned to this user.

How can I achieve this?

 

Thanks in advance. 

1 ACCEPTED SOLUTION

Brad Bowman
Kilo Patron
Kilo Patron

Use a qualifier like this

BradBowman_0-1741101903791.png

where v_affected_user is the name of the Affected user variable

View solution in original post

2 REPLIES 2

J Siva
Kilo Patron
Kilo Patron

Hi @Kasia5 

Just want to confirm, are you assigning CIs to the individual users rather than the assignment groups?

If yes, then the advanced ref qualifier should be like below,

javascript&colon;"<User field backend name from CMDB>="+current.variables.affected_user;

Note: please replace the <User field backend name from CMDB> with actual field name, like ci_owner etc

Hope this helps.

 

Brad Bowman
Kilo Patron
Kilo Patron

Use a qualifier like this

BradBowman_0-1741101903791.png

where v_affected_user is the name of the Affected user variable