<?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: MS Outlook VBO in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/88273#M38855</link>
    <description>Blue Prism includes a DateTime type. You can set it's value to whatever timestamp you pull from the email and then compare that data item to a second data item with your check time stamp using a Decision stage and a regular logical "&amp;gt;" (greater than sign). Alternatively, you can do it all in a code stage using the regular .NET DateTime type as depicted in this Microsoft documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/dotnet/api/system.datetime.compare?view=net-5.0" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/dotnet/api/system.datetime.compare?view=net-5.0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 02 Dec 2020 18:13:00 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2020-12-02T18:13:00Z</dc:date>
    <item>
      <title>MS Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/88272#M38854</link>
      <description>&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to create a process wherein I need to scan the mails in outlook based on the sender email and subject. Once I am able to filter out these mails based on the selection criteria I want to pick only the mails that have come after a certain date and time. I am able to pull the email based on the sender and&amp;nbsp; subject&amp;nbsp; and&amp;nbsp; get the timestamp of the latest email, however I am facing difficulties in writing the expression to compare this time stamp with the threshold date criteria. For example I get the time stamp of the latest email in variable "latest time stamp" with value&amp;nbsp; 12/02/2020 10:00:00 and I need to check whether this date time is after 9am today's date can anyone please tell me how to write an expression to do this &lt;/SPAN&gt;comparison?&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shobhit Malaviya&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shobhit Malaviya&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Dec 2020 17:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/88272#M38854</guid>
      <dc:creator>ShobhitMalaviya</dc:creator>
      <dc:date>2020-12-02T17:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/88273#M38855</link>
      <description>Blue Prism includes a DateTime type. You can set it's value to whatever timestamp you pull from the email and then compare that data item to a second data item with your check time stamp using a Decision stage and a regular logical "&amp;gt;" (greater than sign). Alternatively, you can do it all in a code stage using the regular .NET DateTime type as depicted in this Microsoft documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/dotnet/api/system.datetime.compare?view=net-5.0" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/dotnet/api/system.datetime.compare?view=net-5.0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Dec 2020 18:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/88273#M38855</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-12-02T18:13:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/88274#M38856</link>
      <description>Here is an expression to get a DateTime for today at 9 am: ToDateTime(ToDate(Today()) &amp;amp; " 09:00:00")&lt;BR /&gt;&lt;BR /&gt;As Eric mentioned, you can use several of the logical functions to compare this DateTime to&amp;nbsp; a input DateTime like your email timestamp.&amp;nbsp;&lt;BR /&gt;One thing to look out for is the format of your input and your date and time settings. For example, &lt;SPAN&gt;12/02/2020 could be interpreted as December 2 or February 12 depending on your local settings. You might need to use FormatDateTime or the date &amp;amp; time manipulation utility to get everything in the same format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Patrick Aucoin&lt;BR /&gt;Senior Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Dec 2020 19:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/88274#M38856</guid>
      <dc:creator>PatrickAucoin</dc:creator>
      <dc:date>2020-12-02T19:04:00Z</dc:date>
    </item>
  </channel>
</rss>

