- TotalAgility 7.6
- TotalAgility 7.7
- TotalAgility 7.8
When choice combo boxes are populated via DB actions, under certain conditions the combo box shows the Value instead of the Text. See the example below.
The conditions we have seen this occur are below:
- When forms cache is not being used
- When forms cache is enabled but the document form is loaded out of the cache e.g. when the browser is stored and the cache is cleared
This is due to the fact the document fields are populated via the Load Batch action executed at the activity form level. The DB actions executing at document form level then overwrite the displayed text with the values.
This is documented as expected behaviour in the KTA help as shown below.
As the Help states, the value needs to be reapplied after the DB queries populate the choice combo box. To achieve this, the first action on load of the document form should be a Same Page to map the combo box to form variables as shown below.
After the DB queries have been executed, these form variables should be mapped back into the combo boxes using a Same Page action. This will result in the combo box displaying the Text instead of the Value.