Good evening everyone, I'm creating a java action to import a txt file. My java action has no defined return, but there is an error in the java action waiting for a return. Why does a void type java action expect a return? What can I do to resolve this issue? error that is occurring: missing return statement
Josimar José Nepomuceno
I think that if you end your java action with return null that it should work. Otherwise another solution would be to return a boolean with return true / return false. This also helps when you want to make a decision whether an action has been successfully accomplished.
Tim van Leeuwen
Good afternoon friend, thank you very much for your help, I managed to solve it by assigning a Boolean return.