Access/Use Workflow credentials in Java Snippet

Can Workflow Credentials be accessed and used from Java Snippets?

I'm using the Java Snippet to connect to a database and execute a CREATE VIEW query. Since this type of query has no resulting table and must be executed in a seperate transaction, I cannot use the standard database nodes (by simply adding a SELECT query at the end); or can I?

The problem I'm now dealing with is that I still like to use the Workflow Credentials to connect to the database. I don't like them to be in plain text. Any change these are accessable from the Java Snippet?


1 Like