Continuous Delivery link to a Campaign | Community
Skip to main content
New Participant
Nov 27, 2020 6:55 PM UTC
Solved

Continuous Delivery link to a Campaign

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. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
DavidKangni
DavidKangniAccepted solution
New Participant
Nov 28, 2020 10:36 PM UTC

Hi,

 

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

Thanks,

David

David Kangni

6 replies

Sukrity_Wadhwa
Employee
Dec 3, 2020 1:59 PM UTC

Hi @dimitriosc21803,

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

Thanks!

Translate
Sukrity Wadhwa
xavierv6303633
Level 2
Nov 30, 2020 7:50 PM UTC

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 : 

Kr,

Xavier

Translate
DavidKangni
DavidKangniAccepted solution
New Participant
Nov 28, 2020 10:36 PM UTC

Hi,

 

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

Thanks,

David

Translate
David Kangni
New Participant
Nov 29, 2020 2:17 PM UTC
What is the code that i should put? Because the code.
Translate