Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Is it possible to pass the 'Conditions' parameter from a reference field in sys_sg_input?

Guilherme Mazie
Tera Contributor

Hello, 
I need help with the mobile agent.

Is it possible to pass the 'Conditions' parameter from a reference field in sys_sg_input?

values ​​from another input, for example...
Captura de tela 2026-04-25 020726.png

1 REPLY 1

Naveen20
ServiceNow Employee

Replace the hardcoded sys_id with a variable reference.

1. Variables tab → add a variable, e.g. contractType.
2. Inputs tab → change the material input's Conditions attribute from:
 
u_contract_type=864f3df48733f2544a74a8e80cbb359a
to:
u_contract_type=${contractType}
 
3. Pass the value in from the calling screen/action via Parameter mapping.

You can chain conditions too: u_contract_type=${contractType}^active=true.