<?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: Condition in Scheduler to send and email. in Adobe Campaign Classic Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/condition-in-scheduler-to-send-and-email/m-p/541902#M15937</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="17544903"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;you are not far from the result. Event date on workflow does not exists (last run or last modified but it may result in wrong results ) Query all deliveries instead, with contact day that is 5 days ago, with&amp;nbsp; the use of dateOnly() on both contact date and 4 days ago expressions and run it daily&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Marcel&lt;/P&gt;</description>
    <pubDate>Sun, 21 Aug 2022 03:38:17 GMT</pubDate>
    <dc:creator>Marcel_Szimonisz</dc:creator>
    <dc:date>2022-08-21T03:38:17Z</dc:date>
    <item>
      <title>Condition in Scheduler to send and email.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/condition-in-scheduler-to-send-and-email/m-p/541818#M15930</link>
      <description>&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;Good afternoon, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;Can you help me with this need: I have to schedule a flow to run, for example, 5 days after the first delivery that is in an initial workflow has been sent. My idea is to put a scheduler that runs every day and then a condition to validate the eventdate of the first workflow if it occurred 5 days ago in order to send the second workflow. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 18:46:56 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/condition-in-scheduler-to-send-and-email/m-p/541818#M15930</guid>
      <dc:creator>Yamila1981</dc:creator>
      <dc:date>2022-08-19T18:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Condition in Scheduler to send and email.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/condition-in-scheduler-to-send-and-email/m-p/541902#M15937</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="17544903"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;you are not far from the result. Event date on workflow does not exists (last run or last modified but it may result in wrong results ) Query all deliveries instead, with contact day that is 5 days ago, with&amp;nbsp; the use of dateOnly() on both contact date and 4 days ago expressions and run it daily&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Marcel&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 03:38:17 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/condition-in-scheduler-to-send-and-email/m-p/541902#M15937</guid>
      <dc:creator>Marcel_Szimonisz</dc:creator>
      <dc:date>2022-08-21T03:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Condition in Scheduler to send and email.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/condition-in-scheduler-to-send-and-email/m-p/542199#M15945</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17544903"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;You can make a query activity on xtk:workflow table which fetches workflows on basis of their last execution using date-time function "DaysAgo(5)". Now the DaysAgo() function returns the date and current time so you can wrap this function under DateOnly so the start time is 00:00.&lt;BR /&gt;Here is an query condition example you may use on your side to achieve this where this query will return all workflows that were processed on or after 00:00 5 days ago to 23:59. &lt;img class="lia-deferred-image lia-image-emoji" src="https://experienceleaguecommunities.adobe.com/html/@0029519782EFDA4D741E877D8603A230/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Shubham_Goyal__0-1661239823184.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/46762i2A490F72102B31D9/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="_Shubham_Goyal__0-1661239823184.png" alt="_Shubham_Goyal__0-1661239823184.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Shubham&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 07:46:32 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/condition-in-scheduler-to-send-and-email/m-p/542199#M15945</guid>
      <dc:creator>_Shubham_Goyal_</dc:creator>
      <dc:date>2022-08-23T07:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Condition in Scheduler to send and email.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/condition-in-scheduler-to-send-and-email/m-p/542572#M15965</link>
      <description>&lt;P&gt;Hello!!!&lt;/P&gt;
&lt;P&gt;I found a way to get back to the contacts that were sent an email a few days ago. For example, contact those who received an email 5 days ago. So I start from the DeliveryLogs table and the EventDate field. What I do is the following: ToDate(EventDate) = ToDate(AddDays(GetDate, -5))&lt;BR /&gt;It is a little longer but it helped me to learn a little more. I also appreciate your suggestion that I will put into practice.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 14:50:21 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/condition-in-scheduler-to-send-and-email/m-p/542572#M15965</guid>
      <dc:creator>Yamila1981</dc:creator>
      <dc:date>2022-08-24T14:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Condition in Scheduler to send and email.</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/condition-in-scheduler-to-send-and-email/m-p/542573#M15966</link>
      <description>&lt;P&gt;Hello _Shubham_Goyal_!!!&lt;/P&gt;
&lt;P&gt;I found a way to get back to the contacts that were sent an email a few days ago. For example, contact those who received an email 5 days ago. So I start from the DeliveryLogs table and the EventDate field. What I do is the following: ToDate(EventDate) = ToDate(AddDays(GetDate, -5))&lt;BR /&gt;It is a little longer but it helped me to learn a little more. I also appreciate your suggestion that I will put into practice.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 14:51:56 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/condition-in-scheduler-to-send-and-email/m-p/542573#M15966</guid>
      <dc:creator>Yamila1981</dc:creator>
      <dc:date>2022-08-24T14:51:56Z</dc:date>
    </item>
  </channel>
</rss>

