Use "database command" action and get the result of the command

Hello,

I’m using the “database command” action to execute a command and I would like to get the output of that command (if it was successfull or not).
I did not discover any way to get this information.
Is it possible to do?

Thank you.

Hello,

It’s not possible with “Database command” action - we expect command to raise an exception in case of an unsuccessful execution.

But you can try to use “Custom SQL” mode of “Import from Database” action to run SQL command and return some data from it.

Hello,

Thank you for your reply, I did what you suggested and it worked.