Hi all,
Wonder if you could help me out of a pickle! 🙂
I have a workflow (image attached) which attempts to bring numerous columns from an Excel spreadsheet table (located in OneDrive) into a Dataverse table. This works in part, but I have stumbled upon an error related to a number column and an expression I have. The 'Logged Time' Dataverse column relates to a column in Excel (Total Milliseconds) which is the 'General' type. I have this expression to import the data from that column: int(items('Apply_to_each')?['Total Milliseconds']).
The Dataverse column type is set as 'whole number'.
But I get this error after just a handful of successful columns being imported to the Dataverse table, which is odd, that some are imported, then it errors as below:
"Unable to process template language expressions in action 'Add_a_new_row_to_selected_environment' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'."
Any ideas to put me out of my misery please? 😁