I am trying to create a simple delivery trough workflow with option Calculated by a script
I fond some script here on forum and tried to implement it but receiving an error.
Where DMxxx is a InternalName of a delivery template created in this purposes.
When try to execute I receive an error :
I need your help to figure this out. And also where can I find some more JS scripts examples?
It can be used similar to the following.
Mostly for one time deployment of a delivery.
yes it is id of some delivery.
The 'computed by a script' field is for the delivery id, not random code.
Where did you find this?
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??