OriginalPostID-267021
Discussion posts and replies are publicly visible
i tried the same thing, in 17.4 facing the same issue. it is neither giving an error nor a document. Not sure what the problem is. But as per the documentation docs.appian.com/.../Export_To_Excel_CSV_Smart_Service.html Appian is not recommending the use of smart service Export SQL to Excel and Export SQL to Flat File. I will try in other lower versions.
How to get the jndi it always depends on your Application server if you are using JBoss try the jndi to "java:/jdbc/xxxxxxxxxxxx" if you were using Oracle Weblogic the jndi should be "jdbc/xxxxxxxxxxxx" and so on.
But i will support the use of Appian's Smart service as mentioned in previous posts
I'm having the same problem. Initially the problem was with the naming convention for the JDBC connection. Ultimately I'm still having the issue, however it's only with the new Document folder that I've created for the application that needs this. If I test with an older folder this works. Will check log files and post more.
As a result of further testing, this is the issue that I've received:
<Jan 9, 2019 7:04:18,062 PM GMT> <Notice> <Stdout> <BEA-000000> <2019-01-09 19:04:18,061 [Appian Work Item - 7699 - ProcessExec02 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ps.exceltools.smartservice.export.ExportSqlToFlatFile - java.nio.file.NoSuchFileException: /appian/_admin/accdocs3/11776/10002708.csvjava.lang.Exception: java.nio.file.NoSuchFileException: /appian/_admin/accdocs3/11776/10002708.csv
I'm not sure if this is an issue with our development server, however I was able to work around the problem by using a "Create Text Doc from Template" node to create a file and then use the resulting file in the "document to overwrite" parameter of the Export SQL smart service.
Having some issues with extensions, but this seems to work