How to make another variable dependent on first variable record Producer

Prathamesh Cha1
Tera Contributor

Hi Team,

 

I am two variables, Products and Capabilities

PrathameshCha1_0-1724609796390.png

Here My requirement is only those capabilities should be visible who has parent=product that you have chosen in above variable.

Here is the example I have chosen product as "3AS_3DS Server"

then only those capabilities should be visible which has parent="3AS_3DS Server"

 

PrathameshCha1_1-1724609974135.png

 

 

 

15 REPLIES 15

parentINjavascript:(use colon symbol here)current.variables.product.split(',').map(function(id) { return "'" + id + "'"; }).join(',');

hi @Kirthika D ,

 

used the above syntax still giving message called "No matches found"

PrathameshCha1_0-1724652024197.pngPrathameshCha1_1-1724652046960.png

 

Try this way 

 

javascript:(use colon symbol)parentINcurrent.variables.product.split(',').map(function(id) { return "'" + id + "'"; }).join(',') + '^life_cycle_stage!=End of life;

Hi @Kirthika D ,

I changed the syntax now its working

 

PrathameshCha1_0-1724654370800.pngPrathameshCha1_1-1724654384313.png

 I have used = "

javascript:"parentIN" + current.variables.u_products.split(',')

 

"

 

now I just want to add "life_cycle_stage!=End of Life" this query you just tell me how to add this?

 

tried this life_cycle_stage!=End of Life^+javascript:"parentIN" + current.variables.u_products.split(',') also tried 

javascript:"parentIN" + current.variables.u_products.split(',') + ^life_cycle_stage!=End of Life

 

but not working

 

put the next part of the query within single quotes

 

 

javascript:parentINcurrent.variables.product.split(',') + '^life_cycle_stage!=End of life';

 

 

 

Mark as Accepted / Hepful if it helped!