Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Transaction JSSP

Avatar

Avatar
Validate 1
Level 2
quentinm9832912
Level 2

Likes

5 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
quentinm9832912
Level 2

Likes

5 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
quentinm9832912
Level 2

27-03-2019

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,

Replies

Avatar

Avatar
Validate 1
MVP
bobbyjss
MVP

Likes

77 likes

Total Posts

108 posts

Correct Reply

14 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back 25
Give Back 10
View profile

Avatar
Validate 1
MVP
bobbyjss
MVP

Likes

77 likes

Total Posts

108 posts

Correct Reply

14 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back 25
Give Back 10
View profile
bobbyjss
MVP

27-03-2019

Hi Quentin,

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

Avatar

Avatar
Validate 1
Level 2
quentinm9832912
Level 2

Likes

5 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
quentinm9832912
Level 2

Likes

5 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
quentinm9832912
Level 2

27-03-2019

Hi,

my bad, i am sorry.

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

Thanks you,

Quentin,