Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Hello, is there any way to create an Activity using Javascript?
Basically, create it in execution
Thanks;
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
Hi @CampaignerForLife ,
Create a JS, and add below script
var frequency = 10 * 1000 // 10 seconds
task.wait(frequency)
Hi @CampaignerForLife ,
Could you Please explain which activity needs to be created in runtime and also the use case for this issue ?
If it is a delivery activity, then yes, it can be created in runtime using JavaScript.
PFA the sample code
var delivery = nms.delivery.create();
delivery.Duplicate("nms:delivery|" + vars.ID);
delivery.save();
vars.deliveryId = delivery.id;
logInfo("vars.deliveryId: "+vars.deliveryId);
Regards,
Pravallika.
Lets say I want to create a "Wait" activity in a workflow using Javascript, how could I do it?
Hi @CampaignerForLife ,
Create a JS, and add below script
var frequency = 10 * 1000 // 10 seconds
task.wait(frequency)
And how could I for example modify the columns of an Enrichment activity using Javascript? Lets say I want to add 4 more columns, how?
Zugriffe
Likes
Antworten