Avatar

Level 3

Hi sure

I've used in a JavaScript activity inside a workflow for example:

var url = nms.delivery.GetMirrorURL(332656168,"20916262")

logInfo('var url: ' + url)

332656168 - is the delivery id

20916262 - is the broadlogId (not the messageID)

If you need to use it with variables like I did, then:

instance.vars.deliveryId = 332656168

instance.vars.broadlogId = 20916262

instance.vars.broadlogId = instance.vars.broadlogId.toString()

var url = nms.delivery.GetMirrorURL(instance.vars.deliveryId,instance.vars.broadlogId)

logInfo('var url: ' + url)

Hope it helps!