Retrieve delivery code from javascript in a workflow?
HI There!
I was wondering if it is possible to retrieve the delivery code of a deliveri in a workflow and assign it to a variable and afterwards update a table with the retrieved delivery code?
I have this:

What I am in doubt of is, how can I retrieve the deliveryCode of the incoming delivery and store it as a variable to use when updating a table later on that we are using for analysing purposes?
Also, is it even possible to do in a smart way? Would the 2 JS scripts overwrite the variable value in any case? If yes, then I would have to manually set it anyways, and it will not be very smart.
I hope someone has insights to this 🙂