Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!

Transaction JSSP

Avatar

Level 2

Hi everyone,

I am trying to perform a transaction in JSSP Code (ac 6.1) but my rollback isn't working so as my commit.

What am i doing wrong ?

Does someone already used  https://docs.campaign.adobe.com/doc/AC/en/jsapi/m-DBEngine-rollback.html ?

var vCnx = application.getConnection();

try{

vCnx.begin();

callMyFunction1();// xtk.Write inside

callMyFunction2();// xtk.Write inside but throw exception

vCnx.commit();

}catch(e){

vCnx.rollback();

}

vCnx.dispose();

Thanks you,

Quentin,

2 Replies

Avatar

Level 6

Hi Quentin,

You have posted this in the wrong forum. This is specifically for Adobe Campaign Standard.

Avatar

Level 2

Hi,

my bad, i am sorry.

if a moderator see this message, you can delete this post.

Thanks you,

Quentin,