Continuous Delivery link to a Campaign | Community
Skip to main content
November 27, 2020
Solved

Continuous Delivery link to a Campaign

  • November 27, 2020
  • 3 replies
  • 2653 views

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.
Best answer by DavidKangni

Hi,

 

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

Thanks,

David

3 replies

DavidKangni
Community Advisor
DavidKangniCommunity AdvisorAccepted solution
Community Advisor
November 28, 2020

Hi,

 

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

Thanks,

David

David Kangni
November 29, 2020
What is the code that i should put? Because the code.
xavierv6303633
Level 2
November 30, 2020

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

Sukrity_Wadhwa
Community Manager
Community Manager
December 3, 2020

Hi @dimitriosc21803,

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

Thanks!

Sukrity Wadhwa