Hi Vinod,Thanks for reaching out to the community. As per your requirement, I have created a separate code on VB .NET only which you can easily use while extending the Utility - Collection Manipulation VBO. Please follow the below steps:1) Create and action called 'Find And Replace Value In Collection' with the given input parameters for the action: in_DT (Collection), in_Value To Find (Text) and in_Value To Replace (Text) along with output parameters: out_DT Collection) as shown below:2) Add the code stage named 'Find And Replace Value In Collection' with the below parameters:3) In the Code tab insert the following code:
For Each Row As DataRow In in_DT.Rows
For Each Column As DataColumn In in_DT.Columns
If (Row(Column.ColumnName).Contains(in_ValueToFind)) Then
Row(Column.ColumnName) = Row(Column.ColumnName).ToString.Replace(in_ValueToFind,in_ValueToReplace)
End If
Next
Next
out_DT = in_DT
Test Results:Inputs:NOTE: If you want to execute the second condition, just pass the value for in_Value To Replace as "" (Blank)Hope it helps you out 🙂----------------------------------------------------------------Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easilyRegards,Devneet MohantyIntelligent Automation ConsultantBlueprism 6x Certified ProfessionalWebsite: https://devneet.github.io/Email: devneetmohanty07@gmail.com----------------------------------------------------------------------------------------------
----------------------------------
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.