Can this implementation be independent of campaign ? I want this to be a standalone process and not part of campaign workflow. In this case, can I access delivery control group parameters outside campaign ? Is this possible ?
Thanks @marcel_szimonisz !
Templates are independed from campaigns and created outside of worklfow when you use delivery activity :). Only time when you would need more independency is when you use same template for multiple campaigns and you want different settings for each delivery send. If you want to have it independed set on campaign. Then save this field on campaign (nms:operation) schema and check on the field in the same script. Now you will get campaign id from actual running workflow and then use load JSAPI function to load campaign object.
var campaign = NLWS.nmsOperation.load(instance.operation_id) || false;
if(campaign && campaign.controlGroup == true)
//enable and set
else
//disable
Marcel Szimonisz
MarTech Consultant
for more tips visit my blog
https://www.martechnotes.com/