<?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: Get Received Items (Basic) fails when an email recall is present in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Get-Received-Items-Basic-fails-when-an-email-recall-is-present/m-p/71509#M24114</link>
    <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for offering the solution in a well documented manner. It is working like a charm.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kalash Sharma&lt;BR /&gt;IA Consultant&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 21 Apr 2022 19:56:00 GMT</pubDate>
    <dc:creator>denzain</dc:creator>
    <dc:date>2022-04-21T19:56:00Z</dc:date>
    <item>
      <title>Get Received Items (Basic) fails when an email recall is present</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-Received-Items-Basic-fails-when-an-email-recall-is-present/m-p/71507#M24112</link>
      <description>Hi All.&lt;BR /&gt;&lt;BR /&gt;The Outlook Email VBO action &lt;STRONG&gt;'Get Received Items (Basic)'&lt;/STRONG&gt; fails when an email recall is present in the Outlook folder being read. Can we do any change in the standard code stage to avoid this from happening?&lt;BR /&gt;&lt;BR /&gt;The error it fails with is:&lt;BR /&gt;ERROR: Internal : Could not execute code stage because exception thrown by code stage: Specified cast is not valid&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kalash Sharma&lt;BR /&gt;IA Consultant&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2022 15:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-Received-Items-Basic-fails-when-an-email-recall-is-present/m-p/71507#M24112</guid>
      <dc:creator>denzain</dc:creator>
      <dc:date>2022-04-20T15:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get Received Items (Basic) fails when an email recall is present</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-Received-Items-Basic-fails-when-an-email-recall-is-present/m-p/71508#M24113</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="e92b29b0-5eea-443c-b2c0-3d36b4101420" data-tag-text="@Kalash Sharma" href="https://community.blueprism.com/network/profile?UserKey=e92b29b0-5eea-443c-b2c0-3d36b4101420" data-itemmentionkey="338a20ba-a73d-4262-ba52-499d2f25cc5b"&gt;@Kalash Sharma&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;You can try adding a check of the message items MessageClass property to ensure it's not of type Recall. Take a look at the Code stage for the ​&lt;STRONG&gt;Internal_Get_Items&lt;/STRONG&gt; action. The Code stage should look something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17872.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18030i33A3C3309602EABC/image-size/large?v=v2&amp;amp;px=999" role="button" title="17872.png" alt="17872.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Insert a new row a line 58 with the following code:&lt;BR /&gt;
&lt;PRE class="language-vb"&gt;&lt;CODE&gt;If (item.MessageClass = "IPM.Outlook.Recall") Then Continue For​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;The resulting code should look something like this:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17873.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18029iA529591CE744037A/image-size/large?v=v2&amp;amp;px=999" role="button" title="17873.png" alt="17873.png" /&gt;&lt;/span&gt;&lt;BR /&gt;This should skip any recall messages encountered in the collection of the received items.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2022 15:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-Received-Items-Basic-fails-when-an-email-recall-is-present/m-p/71508#M24113</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-04-20T15:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get Received Items (Basic) fails when an email recall is present</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-Received-Items-Basic-fails-when-an-email-recall-is-present/m-p/71509#M24114</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for offering the solution in a well documented manner. It is working like a charm.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kalash Sharma&lt;BR /&gt;IA Consultant&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2022 19:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-Received-Items-Basic-fails-when-an-email-recall-is-present/m-p/71509#M24114</guid>
      <dc:creator>denzain</dc:creator>
      <dc:date>2022-04-21T19:56:00Z</dc:date>
    </item>
  </channel>
</rss>

