Expand my Community achievements bar.

SOLVED

Continuous Delivery link to a Campaign

Avatar

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

Avatar

Correct answer by
Community Advisor

Hi,

 

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

Thanks,

David



David Kangni

View solution in original post

6 Replies

Avatar

Correct answer by
Community Advisor

Hi,

 

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

Thanks,

David



David Kangni

Avatar

Level 1
What is the code that i should put? Because the code.

Avatar

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

Avatar

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

Avatar

Administrator

Hi @dimitriosc21803,

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

Thanks!



Sukrity Wadhwa