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.

Mapping Input Value to Conditions in Record Operator in AI Agent Tools

BoostN
Tera Contributor

I've watched a few YouTube videos and I'm trying my hand at building my first AI Agent. I've created a tool from the Record Operator option but I'm struggling to figure out how to map my input/value into the filter conditions.

 

You can see here it picks up my value, but it's not applying to condition filters.

ai_agent_value_missing.pngrecord_op_1.pngrecord_op_2.png

 

Did try {{ inputs.update_set_name }} as well, but that failed. 

 

On Edit: I did notice the statement in the test run saying "This inputs should not be modified or prompted for". How should we modify our filters/conditions then? 

2 REPLIES 2

Chris McDevitt
ServiceNow Employee
ServiceNow Employee

Hi,

One would think that it was {{inputs.update_set_name}} 😉... try {{update_set_name}}

ChrisMcDevitt_0-1746035543841.png

 

 

wclim
Kilo Sage

Hi @BoostN ,

 

Did you managed to map the input value to conditions for your record lookup operation?
I am having the same challenge and both {{input_field_1}} and {{inputs.input_field_1}} doesnt seem to be working for me.

 

Regards,

Wei