Hi @ashleyd95649674 ,
In the delivery activity script tab, add below
//For Workflow Internal Name:
delivery.deliveryCode=instance.internalName;
//Or, For Workflow Primarykey:
//delivery.deliveryCode=instance.id;
And in typology rule code tab,
if(delivery.deliveryCode == 'test')
{
logWarning("Workflow name is : "+delivery.deliveryCode);
return false;
}
else
logInfo("Workflow name is : "+delivery.deliveryCode);
return true;
The above script will throw error in delivery if the workflow internalName is test