How to make another variable dependent on first variable record Producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2024 11:19 AM
Hi Team,
I am two variables, Products and Capabilities
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"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2024 10:50 PM - edited 08-25-2024 10:52 PM
parentINjavascript:(use colon symbol here)current.variables.product.split(',').map(function(id) { return "'" + id + "'"; }).join(',');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2024 11:01 PM - edited 08-25-2024 11:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2024 11:33 PM
Try this way
javascript:(use colon symbol)parentINcurrent.variables.product.split(',').map(function(id) { return "'" + id + "'"; }).join(',') + '^life_cycle_stage!=End of life;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2024 12:05 AM - edited 08-26-2024 12:17 AM
Hi @Kirthika D ,
I changed the syntax now its working
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2024 12:34 AM
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!