Allows you to have an input prompt at the action level (with access to all other inputs of the action) rather than at the input level itself.
action (BuildCurrency) {
description (Default constructor for Currency)
collect {
input (currencyType) { type (CurrencyType) max (One) min (Required) }
input (value) { type (CurrencyValue) max (One) min (Required) }
}
// If any input (currencyType or value) missing, show a prompt at the
// action level which yields a structured input prompt
features {
form-prompt
}
output (Currency)
type (Constructor)
}
Copyright 2025 Samsung All rights reserved