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

SOLVED

Continuous Delivery link to a Campaign

dimitriosc21803
Level 1
Level 1

Hello All, 

How i can link the continuous delivery with a campaign that belongs to?

In a normal delivery activity is the delivery Javascript tab that you can put the usual code. 

But the contentious delivery doesn't have that. 

Any idea how i can achieve that?

Thanks in advance. 

1 Accepted Solution
DavidKangni
Correct answer by
Community Advisor
Community Advisor

Hi,

 

Add a js activity after the delivery and it should work.

Thanks,

David

View solution in original post

6 Replies
DavidKangni
Correct answer by
Community Advisor
Community Advisor

Hi,

 

Add a js activity after the delivery and it should work.

Thanks,

David

View solution in original post

dimitriosc21803
Level 1
Level 1
Delivery.operation_id=instance. Operation_id is not working there.
xavierv6303633
Level 3
Level 3

Hi @dimitriosc21803 ,

 

The following line in a JS after the delivery should do the trick : 

sqlExec("Update nmsDelivery set iOperationID = "+ instance.operation_id + " where iDeliveryId = "+vars.deliveryId);

 

A cleaner way would be to just link your delivery template itself to your campaign. This way, you don't need to add the JS after your deliveries : 

xavierv6303633_0-1606765773309.png

Kr,

Xavier

Sukrity_Wadhwa
Employee
Employee

Hi @dimitriosc21803,

Were you able to resolve this query with any of the given solutions? Do let us know.

Thanks!