History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-4167
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Phong Trinh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

A Variable is prompted depending on the value of another variable

Created: 31/Mar/25 03:54 PM   Updated: 04/Apr/25 05:19 PM
Component/s: None
Affects Version/s: 14.0.28
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. should_prompt.PNG
(18 kb)
Environment: Linux


 Description  « Hide
 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
  

 All   Comments   Work Log   Change History      Sort Order:
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.

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!

Robin Shen [04/Apr/25 11:16 AM]
Unfortunately this also won't work.

Phong Trinh [04/Apr/25 05:19 PM]
Looks like i need to create a plugin for this. Thanks, Robin!