DataSnap a nd workflow

Is possible work with DataSnap (dbexpress) and workflow.

I try, but in unit wsDB occurs erros.

Which error?

Remote erro Dbx.SQL is an unrecognized command type

Well actualyl DataSnap was not tested, but it should work using shared connections. 

As I understand it, it creates a TQuery internally, and therefore can not access the database. You can set an example using DataSnap?

Are you using TWorkflowDBXDB? It creates an TSQLQuery internally, not TQuery.

Sorry, it create an 
TSQLQuery. Yes , i'm using TWorkflowDBXDB