Avatar

Level 3

@Sukrity_Wadhwa , No I am still facing the issue. I need some help in resolving the same

Update:

 

While investigating the issue, I found that, if I use the below Workflow Activities, directly in a workflow, there is no error

 

dipendu_g_0-1657770882299.png

The JS has the following code

logInfo("Delivery Id :" + vars.deliveryId );
logInfo("operation_id :" + instance.operation_id );
logInfo("workflow_id :" + instance.id );

var delivery = NLWS.nmsDelivery.load(vars.deliveryId);
delivery.operation_id=instance.operation_id;
delivery.workflow_id=instance.id;
delivery.save();

The operation_id value as expected in 0, and the JS excutes properly

 

But if I take the same workflow and associate it with a Campaign ( i.e create the same Workflow inside a Campaign ), it gives me an error. The same error that I mentioned earlier, but in case all the operation_id has a value associated with it

 

dipendu_g_1-1657771155802.png

 

 

 

 

 

 

Regards,

DG