ERROR: Internal : The collection has no current row Blue Prism

HadaMerlina

New Member
Hey,

I'm looking for some help I'm using Blue Prism to implement a solution, there is a decision stage where I check the following

[Datos Segmento. Organizational Unit (Label)]<>""

But when I step run it sometimes gives the error The collection has no current row, during an online research it said it was caused by a loop, I already reset the pointer in the only two loops that here exists and I still have issues. When it runs without steps it always fail. Screenshots of process and decision stage are attached.


Regards,
 

Attachments

  • 1542235194591.png
    52.1 KB · Views: 300
  • 1542235526387.png
    43.3 KB · Views: 195

VJR

Well-Known Member
Staff member
Hi HadaMerlina,

You mentioned about two loops but I do not see any loop stage in the screenshot.
To get rid of the error, the Decision stage should correctly point to a row of the collection 'Datos Segmento' which happens only within a Loop stage.
If a loop stage is not used then my experience has been that it works sometimes and doesn't at other times.
Post back if you have more details to share.
 

HadaMerlina

New Member
Hi HadaMerlina,

You mentioned about two loops but I do not see any loop stage in the screenshot.
To get rid of the error, the Decision stage should correctly point to a row of the collection 'Datos Segmento' which happens only within a Loop stage.
If a loop stage is not used then my experience has been that it works sometimes and doesn't at other times.
Post back if you have more details to share.

VJR,

Thanks for the answer, what I'm trying to do is verify the column has content since the file can be empty. I understand then I have to get the collection for that specific column, then loop over it up until I found content, if I do so exit and if not follow to next stage. Trying to be more graphic I attached the workflow up until the error stage.

Regards.
 

Attachments

  • 00 Main Page.JPG
    140.4 KB · Views: 180
  • 01 Read excel for Collection.JPG
    157.5 KB · Views: 112
  • 04 Agregar Info.JPG
    58.7 KB · Views: 63
  • 03 Cargar a Cola.JPG
    50.9 KB · Views: 42
  • 02 Abrir Final Report.JPG
    116 KB · Views: 33
  • 05 Modificacion Fecha.JPG
    106.6 KB · Views: 33
  • 06 Sucursal y tipo rol.JPG
    34.6 KB · Views: 27
  • 07 Tipo Contrato.JPG
    32.4 KB · Views: 21
  • 08 Centro de Costos.JPG
    58.5 KB · Views: 26
  • 09 Codigo Segmentos.JPG
    212.9 KB · Views: 32

JaviDVP

New Member
Hi,


There is an object that counts the rows of a collection (Collection - Counts Rows), if you want to check that that collection is different from empty as you put in the post, use that object and verify that the collection comes empty with a decision and you can act in both ways. Once you know it's not empty, make a loop that reads that field and see if it's empty
 

HadaMerlina

New Member
Hi,


There is an object that counts the rows of a collection (Collection - Counts Rows), if you want to check that that collection is different from empty as you put in the post, use that object and verify that the collection comes empty with a decision and you can act in both ways. Once you know it's not empty, make a loop that reads that field and see if it's empty
Hey JaviDVP

Thanks for the advice, actually controlling what you said even before executing it was the solution.

Regards,
 

Rajni

New Member
i am getting the same error but i am not using any loop . I am working with workqueue. while doing getnextitem , i can see the rows are getting generated while stepping but still getting the same error at decision stage with stepping as well.
 
Top