cancel
Showing results for 
Search instead for 
Did you mean: 

Collection Manipulation.

JamieMcPake
Level 5

Hi All,

Wondering if anyone can help here!=

I have a collection which I need to manipulate in order to click on an item from a data table. 

My table when read, populates with the following:

36977.png

And then proceeds to the filter collection stage:

36978.png

Where it uses the following filter:

36979.png

But when this stage is ran, the output collection does not populate.

This has been working fine the last 2 weeks and has only stopped working today.

The data item [UBRN Number] is currently formatted as a text data item, so the data types all match up.

This is the most efficient way to filter this collection as it deals with 100's of rows of data.

Any advice is very much appreciated! 


Thanks,

Jamie McPake RPA Analyst & Developer Digital Technical Services Gateshead Health NHS Foundation Trust
1 BEST ANSWER

Helpful Answers

Hi Jamie,

If your query was working for last two weeks I dont ideally think somewhat might be wrong with your code but perhaps one thing, I would definitely check would be the data in this case. Since you are using an 'Equals' match here in your Filter query, have you checked the possibility of having some whitespaces character included in that UBRN number for some reason?

What I would ideally do here is edit my query in either of the following ways if possible:

"TRIM([UBRN]) = '" & Trim([UBRN Number]) & "'" 

OR

"[UBRN] LIKE '%" & [UBRN Number] & "%'" 


------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.

View answer in original post

1 REPLY 1

Hi Jamie,

If your query was working for last two weeks I dont ideally think somewhat might be wrong with your code but perhaps one thing, I would definitely check would be the data in this case. Since you are using an 'Equals' match here in your Filter query, have you checked the possibility of having some whitespaces character included in that UBRN number for some reason?

What I would ideally do here is edit my query in either of the following ways if possible:

"TRIM([UBRN]) = '" & Trim([UBRN Number]) & "'" 

OR

"[UBRN] LIKE '%" & [UBRN Number] & "%'" 


------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.