Hi
@Swati AgrawalIf you need to add a column to your collection while the process is running you will need to create a new action with a new code stage to do this. I've added the code below for this, as for searching through one collection and comparing with another you could try doing a nested loop and compare each row and if they match then mark it as a match. See the example below, hope this helps
🙂Insert column in collection code: inputs - Input Collection, Column Name, Column Index (Where the column should be added e.g. 2)
Outputs - Output Collection
----------------------------------------------------
Output_Collection = Input_Collection.Copy
Dim Newcol As DataColumn = New DataColumn(Column_Name, GetType(String))
Output_Collection.Columns.Add(Newcol)
Output_Collection.Columns(Newcol.ColumnName.ToString).SetOrdinal(Column_Index)
--------------------------------------------------------------------------------------------
------------------------------
Michael ONeil
Technical Lead developer
NTTData
Europe/London
------------------------------