<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to schedule a delivery from a script Activity in Campaign Classic in Adobe Campaign Classic Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/422198#M13010</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="16613189"&gt;&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The correct one is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;deliv.scheduling.contactDateTimeZone="Asia/Calcutta"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Sep 2021 14:29:55 GMT</pubDate>
    <dc:creator>Malarrajan_Sundarraj</dc:creator>
    <dc:date>2021-09-08T14:29:55Z</dc:date>
    <item>
      <title>How to schedule a delivery from a script Activity in Campaign Classic</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/421299#M12947</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a requirement to schedule a Delivery based on Recipient Timezone. This needs to be achieved programatically, (In a script activity) based on our existing design.&lt;BR /&gt;Currently, we have below code snippet which triggers the delivery.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;var emailTemplate = "del001" //internal name of Delivery Template&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;var recipientID = "6784568" &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;nms.delivery.SubmitNotification(emailTemplate,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;delivery&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;targets&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;deliveryTarget&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;targetPart exclusion='false' ignoreDeleteStatus='false'&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;where&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;condition expr={'@id ='+recipientID}/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/where&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/targetPart&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/deliveryTarget&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/targets&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/delivery&amp;gt;);&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We have updated the XML Payload as below by adding&amp;nbsp; &amp;lt;/scheduling&amp;gt; and anticipated that it would schedule a delivery. But it didnt work.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;var emailTemplate = "del001" //internal name of Delivery Template&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;var recipientID = "6784568" &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;nms.delivery.SubmitNotification(emailTemplate,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;delivery&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;scheduling contactDateTimeZone="Europe/London" contactDate="2021-09-02 05:05:00.000Z" delayed="1" extraction="2021-09-02 05:00:00.000Z" validationMode="auto" validityDate="2021-09-07 05:05:00.000Z" webResPurged="false"&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;waves mode="0" splitDelay="86400" splitSize="20%"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;messagePreparation _login="" forecasted="0" priority="0"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/scheduling&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;targets&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;deliveryTarget&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;targetPart exclusion='false' ignoreDeleteStatus='false'&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;where&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;condition expr={'@id ='+recipientID}/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/where&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/targetPart&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/deliveryTarget&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/targets&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/delivery&amp;gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let us know what would be key attributes on Delivery &amp;amp; Scheduling to make it perfect and how we can acheive this in Adobe Campaign Classic.&lt;BR /&gt;&lt;BR /&gt;TIA!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 16:25:46 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/421299#M12947</guid>
      <dc:creator>mrudulm9146324</dc:creator>
      <dc:date>2021-09-02T16:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule a delivery from a script Activity in Campaign Classic</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/421440#M12951</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="16613189"&gt;&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;execute delivery and see the scheduling.&lt;BR /&gt;I have something like&lt;/P&gt;&lt;PRE&gt;&amp;lt;scheduling IPAffinity="default" contactDate="2021-08-05 12:26:37.169Z" contactDateTimeZone="Europe/Zurich"
              delayExtraction="0" delayed="0" expectedBudget="" expectedContent=""
              expectedEdition="" expectedExternal="" expectedExtraction="" expectedFCP=""
              expectedForecast="" expectedTarget="" extracted="" extraction="" reminderBudget=""
              reminderContent="" reminderEdition="" reminderExternal="" reminderExtraction=""
              reminderFCP="" reminderForecast="" reminderTarget="" validationMode="manual"
              validityDate="2021-08-10 12:26:37.169Z" webResPurged="0" webValidityDate="2021-10-04 12:26:37.169Z"&amp;gt;&lt;/PRE&gt;&lt;P&gt;I can see some of the attributes you are missing in yours but no idea if that will do the trick &lt;img class="lia-deferred-image lia-image-emoji" src="https://experienceleaguecommunities.adobe.com/html/@31B4D6D7B3510763F3CBB2AAB7997408/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have you tried to do it inside workflow with split by time zone and compute the wait time&amp;nbsp; according to the time zone?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Or even split all the time zones to separate workflows?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also I assume you send this not only for one recipient but in bulk right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 07:07:38 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/421440#M12951</guid>
      <dc:creator>Marcel_Szimonisz</dc:creator>
      <dc:date>2021-09-03T07:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule a delivery from a script Activity in Campaign Classic</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/421552#M12968</link>
      <description>&lt;P&gt;Thanks for the Response, Marcel.&lt;BR /&gt;Yes i have tried with above mentioned Attributes and no luck &amp;amp; yes, it is a bulk delivery and the each recipient in the list would be from different timezone.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Have you tried to do it inside workflow with split by time zone and compute the wait time&amp;nbsp; according to the time zone? Or even split all the time zones to separate workflows?&lt;BR /&gt;&lt;BR /&gt;- &lt;/EM&gt;Could you please share snippet if you have? As per current design we are preferring to trigger this from the Script.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 18:02:01 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/421552#M12968</guid>
      <dc:creator>mrudulm9146324</dc:creator>
      <dc:date>2021-09-03T18:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule a delivery from a script Activity in Campaign Classic</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/421784#M12980</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="16613189"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here the code to schedule the delivery using javascript&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var xmlTargeting = &amp;lt;delivery&amp;gt;

  &amp;lt;targets &amp;gt;

    &amp;lt;deliveryTarget&amp;gt;

      &amp;lt;targetPart exclusion='false' ignoreDeleteStatus='false'&amp;gt;

        &amp;lt;where&amp;gt;

          &amp;lt;condition expr={'@id=' + rId}/&amp;gt; // Recipient ID

        &amp;lt;/where&amp;gt;

      &amp;lt;/targetPart&amp;gt;

    &amp;lt;/deliveryTarget&amp;gt;

  &amp;lt;/targets&amp;gt;

&amp;lt;/delivery&amp;gt;;

var finalDev = nms.delivery.CreateFromModel(template, xmlTargeting); // Delivery internal name ( Template )

var deliv = nms.delivery.create(finalDev);

deliv.scheduling.delayed=1;

deliv.scheduling.contactDate = formatDate(getOption('TestExecutionDate'), "%4Y-%2M-%2D %2H:%2N:%2S"); //scheduling date 

deliv.scheduling.validationMode = "auto";

deliv.validation.useBudgetValidation = false;

deliv.validation.useContentValidation = false;

deliv.validation.useTargetValidation = false;

deliv.validation.useFCPValidation = false;

deliv.content.sms.source='Hi Welcome';

deliv.operation_id=campId;
 

deliv.save();

nms.delivery.PrepareFromId(deliv.id);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Malarrajan Sundarraj&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 12:52:05 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/421784#M12980</guid>
      <dc:creator>Malarrajan_Sundarraj</dc:creator>
      <dc:date>2021-09-06T12:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule a delivery from a script Activity in Campaign Classic</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/421960#M12992</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;LI-USER uid="17401442"&gt;&lt;/LI-USER&gt;&amp;nbsp;!&lt;BR /&gt;We are able to schedule. Along with contactDate we are also trying to trigger based on TimeZone.&lt;BR /&gt;For Ex: If we have contactDate Value as 7th Sept 2021, 6PM it should deliver based on the set Timezone&lt;BR /&gt;(If it is IST - it should trigger at 7th Sept 2021, 6PM IST)&lt;BR /&gt;But currently it is delivering at GMT&amp;nbsp;7th Sept 2021, 6PM.&amp;nbsp;&lt;BR /&gt;Below is the snippet.&amp;nbsp;&lt;BR /&gt;Any idea how we can achieve this ?&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;deliv.scheduling.contactDate = formatDate(getOption('ExecutionTime'), "%4Y-%2M-%2D %2H:%2N:%2S");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;deliv.scheduling.contactDateTimeZone="Asia/Calcutta"&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 12:47:16 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/421960#M12992</guid>
      <dc:creator>mrudulm9146324</dc:creator>
      <dc:date>2021-09-07T12:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule a delivery from a script Activity in Campaign Classic</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/422186#M13008</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="16613189"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The timezone for&amp;nbsp;&lt;SPAN&gt;"Asia/Calcutta" is&amp;nbsp;(GMT+05:30). Refer &lt;STRONG&gt;xtk:common:timezone&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can check the delivery schedluing section.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Malarrajan_Sundarraj_0-1631108006325.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/34172i1259CB7EE5801407/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Malarrajan_Sundarraj_0-1631108006325.png" alt="Malarrajan_Sundarraj_0-1631108006325.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Malarrajan Sundarraj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:35:13 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/422186#M13008</guid>
      <dc:creator>Malarrajan_Sundarraj</dc:creator>
      <dc:date>2021-09-08T13:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule a delivery from a script Activity in Campaign Classic</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/422193#M13009</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17401442"&gt;&lt;/LI-USER&gt;&amp;nbsp; - Yes i got it.&amp;nbsp;&lt;BR /&gt;But while updating in the script i tried to update the value of the enum. (from &lt;STRONG&gt;xtk:common:timezone&lt;/STRONG&gt;) that is '&lt;SPAN&gt;Asia/Calcutta'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;deliv.scheduling.contactDateTimeZone="Asia/Calcutta"&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;Should we rather update like this ?&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;deliv.scheduling.contactDateTimeZone="(GMT+05:30)"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 14:09:18 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/422193#M13009</guid>
      <dc:creator>mrudulm9146324</dc:creator>
      <dc:date>2021-09-08T14:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule a delivery from a script Activity in Campaign Classic</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/422198#M13010</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="16613189"&gt;&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The correct one is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;deliv.scheduling.contactDateTimeZone="Asia/Calcutta"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 14:29:55 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-schedule-a-delivery-from-a-script-activity-in-campaign/m-p/422198#M13010</guid>
      <dc:creator>Malarrajan_Sundarraj</dc:creator>
      <dc:date>2021-09-08T14:29:55Z</dc:date>
    </item>
  </channel>
</rss>

