Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

Delivery Calculated by a script

Avatar

Level 1

Hi All

I am trying to create a simple delivery trough workflow with option Calculated by a script1827951_pastedImage_6.png

I fond some script here on forum and tried to implement it but receiving an error.

My script:

Where DMxxx is a InternalName of a delivery template created in this purposes.

When try to execute I receive an error :

1827950_pastedImage_5.png

I need your help to figure this out. And also where can I find some more JS scripts examples?

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi,

It can be used similar to the following.

1849408_pastedImage_0.png

Mostly for one time deployment of a delivery.

Thanks.

View solution in original post

6 Replies

Avatar

Community Advisor

Hi,

The 'computed by a script' field is for the delivery id, not random code.

Where did you find this?

Thanks,

-Jon

Avatar

Level 1

It seams that i totally miss understood the documentation.

Could you please write some useful examples for this option?

What I understood from your answer is to set vars.delliveryId = 12345

Where 12345 is id of some delivery or delivery template??

Avatar

Community Advisor

Hi,

yes it is id of some delivery.

Thanks.

Avatar

Correct answer by
Level 5

Hi,

It can be used similar to the following.

1849408_pastedImage_0.png

Mostly for one time deployment of a delivery.

Thanks.

If you ever need help, in anything (Adobe Campaign or LIFE), tell me. You're a hero, remember it.

Avatar

Level 4

आपकी मदद के लिए बहुत बहुत शुक्रिया