Share ideas, ask questions, and get feedback about developing for ProcessMaker
Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
#5386
I create a new database which dedicated for our process report.
The default datasource of processmaker are 'rp', 'rbac', 'workflow'
How can I define a new datasource in the trigger ?

I created a new DATABASE CONNECTIONS from process console.
but I don't know how to use this DATABASE CONNECTION in my trigger.

Any help would be appreciated !
#5388
crazydiy wrote:I create a new database which dedicated for our process report.
The default datasource of processmaker are 'rp', 'rbac', 'workflow'
How can I define a new datasource in the trigger ?

I created a new DATABASE CONNECTIONS from process console.
but I don't know how to use this DATABASE CONNECTION in my trigger.

Any help would be appreciated !
Pass the UID of the database connection that you created as the second parameter of executeQuery(). See http://wiki.processmaker.com/index.php/ ... uery.28.29

Use the latest verified Temu coupon $100 off ([acq[…]

To get $100 off, sign up as a new user using refer[…]

To get $100 off, sign up as a new user using refer[…]

To get $100 off, sign up as a new user using refer[…]