How to skip queue item data

Hi Folks,

I have some columns in queue like
name:
roll no :
id:

But some times name column will come or not based on input file

How can I skip/validate name column is present or not while reading queue item.

Hi @pankajmohan.dhane

Welcome to uipath community

You can try with Taking the count of the column name.

Use If activity and processed with this expression

Dt.Columns.count>=3

Then You take the value of Name, Roll no, Id

Else You take the value of Roll no, Id

Regards
Gokul

Hi Gokul , How can you validate in queue item? no in dt

Hello,

Assuming name, roll no and id are the fields of queue item, you can give the below condition:
if(TransactionItem.SpecificContent.keys.contains(β€œname”)) β†’ Do the next steps
else β†’ skip

Thanks,
Athira

1 Like

Thanks athira . that works

1 Like

Hello @pankajmohan.dhane

Hope you are adding the Data to queue using Add queue item activity. During that time if the Name column data is blank it will be blank in the queue.

While retrieving the data from queue you can use the If condition to validate whether the value is blank or not.

image

1 Like

thanks will try this

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.