I’ve never run into this before. Analyzer doesn’t report any errors, and there are no activities with an error icon on them. But when I try to run/debug I get:
In order to find the line/activity that is throwing the error, You can use “Call Stack”.
The activity throwing the error will be displayed with the activity name “Exception thrown by…”.
When you Double-click on it, it will take you to the spot where the exception is thrown.
You can check activities which require a datatable input/output since error message states string cannnot be conveted to datatable
Also, I don’t know wether this would work in a library but what we did when we faced something similar in a re framework was break down the flow in multiple temp xaml and check which xaml failed to compile
For anyone having a similar issue, it was a Filter Data Table activity where the “filtered datatable” variable was set as String in the variables pane. I don’t know why the activity doesn’t show an error icon on it like it should and it doesn’t show up in Analyzer either.
Paul is explaining that your proposed solution, inspecting the call stack, is something that can only be done AFTER compilation, and it for identifying runtime errors, not compilation errors.
A compilation error means you cannot run the process.
@postwick Unfortunately I too have had this issue and its indeed very nasty to solve.
The only effective way I have found to do it is commit all my code, then start deleting large parts of it until the compilation error goes away.
The answer is “there isn’t any way” and the best I could do here is provide details on which activity wasn’t providing the error icon so people might know where to look in the future.