<?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: Ah OK , I see your point and… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63773#M16656</link>
    <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/56192"&gt;@BlueprismSuppor&lt;/a&gt;-&amp;nbsp;​ This issue is not yet resolved and creates a blocker for everyone's work and wastes time and effort to fix it. Please look into this issue.&lt;BR /&gt;The Queue Report VBO throws error if the Queue Data has a Column with Collection Data Type, even though there is a piece of code in the VBO to avoid Collection type (Data Table) but doesn't work as expected.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chandan Raju&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 08 May 2020 05:45:00 GMT</pubDate>
    <dc:creator>ChandanRaju</dc:creator>
    <dc:date>2020-05-08T05:45:00Z</dc:date>
    <item>
      <title>Queue Reports Object - failed to generate report for queue that having collection in its data item</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63767#M16650</link>
      <description>I'm currently using Queue Reports Object VBO to create report from the queue, it is able to generate the report if the queue item doesn't contain any collection. However, it is throwing the following error message when generating&amp;nbsp;report against queue that having collection in its data item.

Error message:&amp;nbsp;Internal : Could not execute code stage because exception thrown by code stage:&amp;nbsp;Type of value has a mismatch with column type Couldn't store  in Attachment Column. Expected type is DataTable

&amp;nbsp;

Further checked&amp;nbsp;on the VBO (Object Name: Queue Reports), found that it is throwing error at the €œCollect Item Data1€&amp;#157; code stage that in €œGet data From Items€&amp;#157;.

The code at line 4 and 18 were supposed to omit Collection type field from the queue data item. However, these line of doesn€™t seems to be doing the job as intended.The function in these 2 lines €œMicrosoft.VisualBasic.TypeName(c)€&amp;#157; always return €œDataColumn€&amp;#157; regardless of the actual data type of the column.

I have temporarily fixed this by replacing these 2 lines with €œIf c.DataType.toString() = "System.Data.DataTable" Then Continue For€&amp;#157;

&amp;nbsp;

Has anyone experienced this issue?&amp;nbsp;</description>
      <pubDate>Fri, 01 Jun 2018 17:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63767#M16650</guid>
      <dc:creator>Shenq_FengKwan</dc:creator>
      <dc:date>2018-06-01T17:47:00Z</dc:date>
    </item>
    <item>
      <title>The Queue Reporting object…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63768#M16651</link>
      <description>The Queue Reporting object does not support nested collections I'm afraid. The reason is that there is no universal way to represent a multi-dimensional collection structure on 1 line of a report. To do so you'll need to create some bespoke code specific to the shape of the data in your work queue.</description>
      <pubDate>Fri, 01 Jun 2018 21:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63768#M16651</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-06-01T21:37:00Z</dc:date>
    </item>
    <item>
      <title>Hi John, Yes, the VBO doesn…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63769#M16652</link>
      <description>Hi&amp;nbsp;John, Yes, the VBO doesn't support nested collections as per documentation.
In fact, the VBO has a line of&amp;nbsp;code to ignore the nested collection&amp;nbsp; while retrieving data from queue item, however, the particular line of code doesn't work as it intended to be (on my machine).</description>
      <pubDate>Thu, 07 Jun 2018 12:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63769#M16652</guid>
      <dc:creator>Shenq_FengKwan</dc:creator>
      <dc:date>2018-06-07T12:33:00Z</dc:date>
    </item>
    <item>
      <title>Ah OK , I see your point and…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63770#M16653</link>
      <description>Ah OK , I see your point and thanks for pointing out the error. I'll see that it gets changed.</description>
      <pubDate>Thu, 07 Jun 2018 15:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63770#M16653</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-06-07T15:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: Ah OK , I see your point and…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63771#M16654</link>
      <description>Hi, this wasnt changed (our version 6.5).&lt;BR /&gt;&lt;BR /&gt;I updated the code object that is throwing the exception in Object Queue Reports, page Get Data From Items to this:&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN style="background-color: #ffffff;"&gt;For Each c As DataColumn in Item_Data.Columns&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; 'Ignore nested collections&lt;BR /&gt;&amp;nbsp;&amp;nbsp; If Microsoft.VisualBasic.TypeName(c)="DataTable" Then &lt;BR /&gt;&amp;nbsp;&amp;nbsp;DataFromItems.Columns.Add(c.ColumnName, System.Type.GetType("System.String"))&lt;BR /&gt;&amp;nbsp;End If&lt;BR /&gt;&amp;nbsp;&amp;nbsp; If Not DataFromItems.Columns.Contains(c.ColumnName) Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataFromItems.Columns.Add(c.ColumnName, c.DataType)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; End If&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Next&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;Instead of trying to change the DataType after creation, I detect the DataTable type and smash in a string type instead. Aint pretty but it works.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Rasmus Petersen&lt;BR /&gt;Manager&lt;BR /&gt;KPMG&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 06 May 2020 10:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63771#M16654</guid>
      <dc:creator>RasmusPetersen</dc:creator>
      <dc:date>2020-05-06T10:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: Ah OK , I see your point and…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63772#M16655</link>
      <description>Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/31254"&gt;@RasmusPetersen&lt;/a&gt;, i am trying this option of changing the code like you mentioned. It bypass the error message we see, but the output data comes as blank for many rows (basically with other different tags). assistance is really welcomed. Thanks in advance​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chandan Raju&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 07 May 2020 10:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63772#M16655</guid>
      <dc:creator>ChandanRaju</dc:creator>
      <dc:date>2020-05-07T10:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Ah OK , I see your point and…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63773#M16656</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/56192"&gt;@BlueprismSuppor&lt;/a&gt;-&amp;nbsp;​ This issue is not yet resolved and creates a blocker for everyone's work and wastes time and effort to fix it. Please look into this issue.&lt;BR /&gt;The Queue Report VBO throws error if the Queue Data has a Column with Collection Data Type, even though there is a piece of code in the VBO to avoid Collection type (Data Table) but doesn't work as expected.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chandan Raju&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 08 May 2020 05:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queue-Reports-Object-failed-to-generate-report-for-queue-that/m-p/63773#M16656</guid>
      <dc:creator>ChandanRaju</dc:creator>
      <dc:date>2020-05-08T05:45:00Z</dc:date>
    </item>
  </channel>
</rss>

