I want to access sql result data in Custom Output of Query Database Smart Service, but I get an error.
I would like to access the ResultSets, like in the Execute Stored Procedure Smart Service if possible, can I achieve the same operation in the Query Database?
Discussion posts and replies are publicly visible
Is your code snippet just a non-working example or your final code?
Appian describes in the documentation how to do that: https://docs.appian.com/suite/help/23.2/Query_Database_Smart_Service.html#data-tab
This code is under consideration and does not work.
What I would like to achieve is a map to the CDT structure with custom output.
The best practice might be to store each item of the result in a process variable, but we are considering whether it is possible to implement this in a way that it can be used around QueryDatabase.