The workflow has validation errors. Review and resolve them first.
Compiler error(s) encountered processing expression “Path.GetExtension(item).ToString.ToLower”. ‘GetExtension’ is not a member of ‘String’."
I have no issues with this until I added a multiple page navigation flow after it. Not sure if that is the cause but can anyone assist on this? I have added some visuals for your reference. Thank you!
I might be wrong here, but, here is a sugestion, from documentation it seems that Path.GetExtension already returns a string, so there might be no need to use the ToString method. Also, please check the type of the “extension” var it should also be a string.
Ok, let’s try it another way, try to print to the console the type of item, if the type is not string you should somehow to get the file name as a string. Again please have a look at the documentation for Path.GetExtension