<?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 Identify Blank Column in Collection with data type - DateTime in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/Identify-Blank-Column-in-Collection-with-data-type-DateTime/m-p/110516#M3590</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need to check whether in my collection one column has empty values. This column in collection has data type - DateTime. I have tried to check this by decision stage in many ways. I have tried to use:&lt;/P&gt;&lt;P&gt;[Collection.Data] = ""&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Collection.Data] =&amp;nbsp;&lt;SPAN&gt;"0001-01-01 00:00:00"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I always have error: &lt;STRONG&gt;"Internal : Cannot perform = operation when the left-hand value is empty"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.I need to use for that expression. Blue Prism version: 7.2&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2024 08:06:09 GMT</pubDate>
    <dc:creator>Kwiato9207</dc:creator>
    <dc:date>2024-05-15T08:06:09Z</dc:date>
    <item>
      <title>Identify Blank Column in Collection with data type - DateTime</title>
      <link>https://community.blueprism.com/t5/University-Forum/Identify-Blank-Column-in-Collection-with-data-type-DateTime/m-p/110516#M3590</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need to check whether in my collection one column has empty values. This column in collection has data type - DateTime. I have tried to check this by decision stage in many ways. I have tried to use:&lt;/P&gt;&lt;P&gt;[Collection.Data] = ""&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Collection.Data] =&amp;nbsp;&lt;SPAN&gt;"0001-01-01 00:00:00"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I always have error: &lt;STRONG&gt;"Internal : Cannot perform = operation when the left-hand value is empty"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.I need to use for that expression. Blue Prism version: 7.2&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 08:06:09 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Identify-Blank-Column-in-Collection-with-data-type-DateTime/m-p/110516#M3590</guid>
      <dc:creator>Kwiato9207</dc:creator>
      <dc:date>2024-05-15T08:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Blank Column in Collection with data type - DateTime</title>
      <link>https://community.blueprism.com/t5/University-Forum/Identify-Blank-Column-in-Collection-with-data-type-DateTime/m-p/110521#M3592</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;This is an issue with datetimes when they are blank you cant verify using =. You could try looping the collection and writing the value of the column to a separate data item which is set to text and then check if this is blank. Unfortunately you need to do this for every row until you find one that is blank so if you are using large datasets it could be time consuming.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 10:49:05 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Identify-Blank-Column-in-Collection-with-data-type-DateTime/m-p/110521#M3592</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2024-05-15T10:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Blank Column in Collection with data type - DateTime</title>
      <link>https://community.blueprism.com/t5/University-Forum/Identify-Blank-Column-in-Collection-with-data-type-DateTime/m-p/110538#M3594</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/58304"&gt;@Kwiato9207&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Depending upon your need, I can think of two actions in Blue Prism's &lt;STRONG&gt;Utility - Collection Manipulation &lt;/STRONG&gt;VBO&amp;nbsp;(you might have to download the latest from the Digital Exchange) that can help you out here.&lt;/P&gt;&lt;P&gt;If you are just looking to check is there is a row with an empty DateTime, you can use the&amp;nbsp;&lt;STRONG&gt;Filter Collection&amp;nbsp;&lt;/STRONG&gt;action to derive a collection with just the empty DateTime values and count that collection to see if any rows are returned. The following&amp;nbsp;&lt;STRONG&gt;Filter&lt;/STRONG&gt; parameter will achieve that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;"Convert([Date Column], 'System.String')='1/1/0001 12:00:00 AM'"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are looking to loop through an entire collection and branch your flow if the DateTime value is empty, you can use the&amp;nbsp;&lt;STRONG&gt;Append Calculated Field&lt;/STRONG&gt; action to add a&amp;nbsp;&lt;STRONG&gt;Flag&lt;/STRONG&gt; column to your collection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichealCharron_0-1715783786423.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38217i12FBE427BA963A7D/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="MichealCharron_0-1715783786423.png" alt="MichealCharron_0-1715783786423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichealCharron_1-1715783832084.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38218iB5391448152232E5/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="MichealCharron_1-1715783832084.png" alt="MichealCharron_1-1715783832084.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Note: You might have to modify the default date to a format that corresponds with your &lt;STRONG&gt;Regional Settings&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 14:41:45 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Identify-Blank-Column-in-Collection-with-data-type-DateTime/m-p/110538#M3594</guid>
      <dc:creator>MichealCharron</dc:creator>
      <dc:date>2024-05-15T14:41:45Z</dc:date>
    </item>
  </channel>
</rss>

