We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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.