Hi
@Mohammed ShilbayehI see that there is no VBO in the DX store.
I create you a special VBO to execute queries and get collections.
Attached to this post you have all the dlls that you need to use and the VBO.
In the folder dlls you have all the libraries that you need to have in your Blue Prism installation folder (Usually >> C:\Program Files\Blue Prism Limited\Blue Prism Automate)
Import the VBO and use the action "Get Query as Collection".
As input parametter you need to indicate the file and the query that you want to get returned as collection
The code behind is very simple:
string cs = "Data Source=" + DataBaseFile + ";Version=3;";
string sql = Query;
var con = new SQLiteConnection(cs);
con.Open();
var cmd = new SQLiteCommand(sql, con);
DataTable dt = new DataTable();
dt.Load(cmd.ExecuteReader());
dtResult = dt;
Hope this helps you! If you need to add more actions here, let me know and I change the VBO
See you in the Community, bye
🙂------------------------------
Pablo Sarabia
Solution Manager & Architect
Altamira Assets Management
Madrid
------------------------------