<< Back to previous view |
![]() |
[QB-4167] A Variable is prompted depending on the value of another variable
|
|
Status: | Open |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 14.0.28 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Phong Trinh | Assigned To: | Robin Shen |
Resolution: | Unresolved | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown | ||
Environment: | Linux |
File Attachments: |
![]() |
Description |
I have a multi-selects variable named multi_selects with the choices: A, B, C, and D, and a text input variable named text_input. I would like the text_input to be prompted only user selects 'A' or 'D'
I added the groovy script as in the attachment to 'Should Prompt'; However, its evaluation is not using the current value of multi_selects. Do you have any suggestion on this? Thank you in advance, ptrinh |
Comments |
Comment by Robin Shen [ 31/Mar/25 11:50 PM ] |
Should prompt can only use preset variable values, and can not take advantage of value specified when variable is prompted. Show variables dynamically based on value of other variable is currently not supported. |
Comment by Phong Trinh [ 04/Apr/25 01:36 AM ] |
Thank you for the information, Robin!
Can i refresh a variable from another variable? If 'A' or 'D'' is selected, the script will refresh text_input variable. Please advise! |
Comment by Robin Shen [ 04/Apr/25 11:16 AM ] |
Unfortunately this also won't work. |
Comment by Phong Trinh [ 04/Apr/25 05:19 PM ] |
Looks like i need to create a plugin for this. Thanks, Robin! |