|
Post by kristapsz on Dec 1, 2021 17:12:14 GMT
Is there any way to refresh ChoiceInput menus based on the selection of other ChoiceInput ? The idea:
<Action Type="Input" Name="DomainSelect" Title="Select the domain" ShowBack="True">
<ChoiceInput Variable="ZZCurrentComputerDomain" Question="Please select the domain" Required="True">
<Choice Option="domain1" Value="DOM1"/>
<Choice Option="domain2" Value="DOM2"/>
</ChoiceInput>
<ChoiceInput Variable="ZZComputerLocation" Question="Select the primary office for the computer" Required="True" Condition='"%ZZCurrentComputerDomain%" = "DOM1"' >
<Choice Option="AAA" Value="AAA"/>
<Choice Option="BBB" Value="BBB"/>
</ChoiceInput>
<ChoiceInput Variable="ZZComputerLocation" Question="Select the entity" Required="True" Condition='"%ZZCurrentComputerDomain%" = "DOM2"' >
<Choice Option="CCC" Value="CCC"/>
<Choice Option="DDD" Value="DDD"/>
</ChoiceInput> </Action>
It works but only if I put domain selection on one screen and Location on another. Probably because variables %ZZCurrentComputerDomain% is populated after I click "next" In ideal case I am looking for options to dynamically save and refresh screen when first choice is selected
|
|