How to check if output data field is null in queues using uipath

Hi Team
How to check whether output data field is null in UiPath queues kindly help me get the output

hi @Buvaneshwaran_R
String.IsNullOrEmpty(yourString.ToString)

Hi @Buvaneshwaran_R
Try this

String.IsNullOrEmpty(In_TransactionItem.SpecificContent(“KeyName”).ToString)

String.IsNullOrWhiteSpace(In_TransactionItem.SpecificContent(“KeyName”).ToString)

Hi @Buvaneshwaran_R

you can get it by using the following:

String.IsNullorEmpty(TransactionItem.Output(“keyName”).ToString)

Here TransactionItem is your QueueItem

Thanks
Happy Automation! :smiley:

@Buvaneshwaran_R

You can use this

IsNothing(transactionitem.Output) OrElse IsNothing(transactionitem.Output("Key")) OrElse String.IsNullOrEmpty(transactionitem.Output("Key").ToString)

Cheers