The Domain Calculator is a weird thing… I’ve got a very simple workflow part, where I’m reading from a database a list of ISO country codes and the corresponding country names:
I then, do a simple string manipulation (using the Column Expression Node) to create a string like that joins the country code and the country with a hyphen inbetween:
And then call the Domain Calculator on the resulting table. There are 248 entries in my table, so I’ve ticked the Restrict Number of values option, and set it to 300 values. The domain calculator seems to work Ok:
But… when I feed that table to a Value Selection Node, I get the infamous “The input table does not contain any column with domain information.” warning, and that causes my component execution to fail But, inspecting the output data from the domain calculator node shows me it could determine the domain information!
All I’m trying do to is build a dropdown list for the user to pick a country from when executing the workflow on the Webportal. If I’m executing my workflow up to and including the value selection node, it gives me the warning, but shows me the dropdown list properly with the list of all the countries. When embedded in a component though, the component execution fails, and the execution on the web portal fails too…