Change MaxRetry for specific type of sendout Hello, we have three different sendout Templates: Email, SMS and a Template that uses an API to export customers to a internal page. In the Delivery schema we have a default on MaxRetry = 5. This works fine with the Email and SMS, but when we do the third one we don't want any retries at all as it causes issues. for each (var record in records.getElements())
{
if(record.$deliveryChannel == 143){
/*logInfo("broadLogID",record.$id);
logInfo("broadLogStatus",record.$status);
logInfo("deliveryId",record.$deliveryId);
logInfo("deliveryChannel",record.$deliveryChannel);
logInfo("msgReason",record.$msgReason);
logInfo("msgText",record.$msgText);*/
sqlExec("UPDATE NmsBroadLogRcp SET iStatus=$(l) WHERE iBroadLogId=$(l)", setBroadLogStatus, record.$id);
sqlExec("UPDATE NmsDelivery SET iState=$(l) WHERE iDeliveryId=$(l)", setDeliveryStatus, record.$deliveryId);
sqlExec("UPDATE NmsDelivery SET iMaxRetry=$(0) WHERE iDeliveryId=$(1)", setMaxRetry, reco