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.

Conditions "IF" in Variables or record Producer

DIVI1
Tera Expert

Hi,

I have a problem with adding a conditions to Variables. 
Look I have a couple fields like these: 

DIVI1_0-1693403861409.png

and I created a custom tables for data which are inside of those fields.

Now I want to see for example something like: 

If field division will be "cloating" then in field "group" you can see only record which have u_division_type like "cloating"  these parameters  I added to Table as a value in fields to recognize values.

 

How to prepare those part of code and
Where I can put script like this?

 

Right now I tried to use

DIVI1_1-1693404123758.png

but it's not dependent of division field...

5 REPLIES 5

Maybe you're right, but i'm not sure I understand properly, cause it's still not working..
Maybe it's not as easy as I thought.