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

Looking for delivery templates with an operation (operation id > 0)

Avatar

Avatar
Springboard
MVP
Florian_Courgey
MVP

Likes

93 likes

Total Posts

87 posts

Correct Reply

19 solutions
Top badges earned
Springboard
Validate 1
Establish
Contributor
Ignite 1
View profile

Avatar
Springboard
MVP
Florian_Courgey
MVP

Likes

93 likes

Total Posts

87 posts

Correct Reply

19 solutions
Top badges earned
Springboard
Validate 1
Establish
Contributor
Ignite 1
View profile
Florian_Courgey
MVP

27-02-2020

Hello,

 

From a delivery (continuous, recurring, create from tpl...), when we look for a delivery template, ACC automatically adds a condition "[@operation-id] = 0". Why is the reason behind this?

 

We would like our deliveries created from the delivery template to be linked to an operation/campaign.

 

With traceview we found out that this condition is added by the workflow input form:

20200227-143150-screenshot-13.jpg20200227-150003-screenshot-16.jpg

 

Is it safe to comment this line and completely turn off this feature?

 

Best regards

Florian

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 2
anupk2111
Level 2

Likes

8 likes

Total Posts

16 posts

Correct Reply

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

Avatar
Validate 1
Level 2
anupk2111
Level 2

Likes

8 likes

Total Posts

16 posts

Correct Reply

5 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 5
View profile
anupk2111
Level 2

28-02-2020

Hi Florian,

If you use a recurring delivery or Email delivery activity, you might have noticed that the deliveries are linked to the campaigns already and the operation ID is not zero. However in case of Standard or continuous delivery you need to use an additional script to link the delivery to the campaign/workflow. This script can be added in Javascript code activity just after the delivery. The following code can be used to do so.

 

var delivery = NLWS.nmsDelivery.load(vars.deliveryId);
delivery.operation_id=instance.operation_id;
delivery.workflow_id=instance.id;
delivery.save();

 

I hope that helps.

 

Thanks,

Anup

Answers (0)