hi @pere - I’m not sure if this is academic alliance related (it came to be because of that tag). I’m not fully understanding the workflow since this is lines of code. What activity are you using for us?
I don’t fully understand what you mean. It’s not me who opened the thread. As I’m looking for a working solution for my problem and there’s a bunch of already existing and open related threads, I feel it’s probably more useful to use those ones than opening an Nth now one for the same issue.
The activities I’m using are Run query (UiPath.Database.Activities.ExecuteQuery) and Run command (UiPath.Database.Activities.ExecuteNonQuery).
I don’t know what’s the DBMS the OP is using, as the syntax differs a bit from the one I use in my Oracle PL/SQL, but in the end he seemed to be facing the same problem as me:
SET SERVEROUTPUT ON;
[...]
DBMS_OUTPUT.PUT_LINE('Whatever');
It doesn’t work, and not only because you can’t “catch” the results of DBMS_OUTPUT.PUT_LINE() anywhere: Studio will throw an error when trying to run that, and the one and only reason for that is USING SET SERVEROUTPUT ON;.
It took me two weeks of trial & error at work to finally find out what was going out because this is not stated anywhere in the UiPath docs.