Find Null/Empty Columns in a Collection
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-07-22 12:03 PM
Hi All,
May I know is there any way to find Empty/Null Columns in a collection.
------------------------------
vinod chinthakindi
------------------------------
May I know is there any way to find Empty/Null Columns in a collection.
------------------------------
vinod chinthakindi
------------------------------
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-07-22 12:35 PM
Hi Vinod ,
You can use Utility -Collection Manipulation object and actions like "Remove Null rows" or "Remove Empty rows"

Hope this helps
Regards,
Satish Gunturi
Senior Consultant
Ignite IPA Pvt Ltd .
------------------------------
Satish Gunturi
------------------------------
You can use Utility -Collection Manipulation object and actions like "Remove Null rows" or "Remove Empty rows"
Hope this helps
Regards,
Satish Gunturi
Senior Consultant
Ignite IPA Pvt Ltd .
------------------------------
Satish Gunturi
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-07-22 01:30 PM
Hi Satish,
I don't understand how does it works. When I tried it simply removes empty rows, But my requirement is to find empty/null Columns
------------------------------
vinod chinthakindi
------------------------------
I don't understand how does it works. When I tried it simply removes empty rows, But my requirement is to find empty/null Columns
------------------------------
vinod chinthakindi
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-07-22 04:22 PM
Hi @vinod chinthakindi,
You can use decision stage to identify the empty column by looping through all the records. The condition would be something like this (assuming Name is the column name):
[Name] = ""
Once you identify the empty column, you can perform the relevant actions.
------------------------------
Manpreet Kaur
Manager
Deloitte
------------------------------
You can use decision stage to identify the empty column by looping through all the records. The condition would be something like this (assuming Name is the column name):
[Name] = ""
Once you identify the empty column, you can perform the relevant actions.
------------------------------
Manpreet Kaur
Manager
Deloitte
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-07-22 06:03 AM
Hi Manpreet,
We cannot compare an entire field to any specific value using decision stage. For that we can use loop, but it will loop row wise, so if there is any empty row found in any column(which has values in other rows) will be identified as Null.
So I am looking for a logic where we can find Null column looping column wise(which is against the rules) or some code stage.
------------------------------
vinod chinthakindi
------------------------------
We cannot compare an entire field to any specific value using decision stage. For that we can use loop, but it will loop row wise, so if there is any empty row found in any column(which has values in other rows) will be identified as Null.
So I am looking for a logic where we can find Null column looping column wise(which is against the rules) or some code stage.
------------------------------
vinod chinthakindi
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-07-22 04:14 PM
Hi Vinod ,
You can try the below C# code if it returns "True" you can simply delete the column

Hope this helps .
Regards,
Satish Gunturi
Senior Consultant
Ignite IPA Pvt Ltd .
------------------------------
Satish Gunturi
------------------------------
You can try the below C# code if it returns "True" you can simply delete the column
Hope this helps .
Regards,
Satish Gunturi
Senior Consultant
Ignite IPA Pvt Ltd .
------------------------------
Satish Gunturi
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-07-22 12:53 PM
Hi @Satish1414
Can you able to provide above code in VB.Net. As my existing actions are in VB.net, so its easy to add above action in same VBO,
------------------------------
vinod chinthakindi
------------------------------
Can you able to provide above code in VB.Net. As my existing actions are in VB.net, so its easy to add above action in same VBO,
------------------------------
vinod chinthakindi
------------------------------
