I have a user interaction where the user can select 2 predefined values and the third fields' default value should update automatically with each change of the users' selection.
The first 2 fields include a predefined list of elements. A user can select one element from each list (string1 and string2).
The third field is a text field, which is filled by an action, like this:
var combinedString = string1 + " + " + string2;
return combinedString;
This works when the form is loaded the first time. However, when the user selects another element from one of the two lists, the value of the text field is not changed.
How can I get the user form to dynamically adjust the value of the third input field, depending on the choices from the first 2 lists?
Edit: I just built a simple workflow based on the action above and it does work when the Data Binding property is selected for the input field. It gets dynamically filled each time an input value is changed.
I did the same for main main workflow however and it does not work. There the action returns a value that is processed from 2 strings and an array of composite types. It works fine when I only try to combine 2 strings, but does not return anything when I use and action that processes the composite type.