Email validation for blank

I am getting blank email form UiPath orchestrator transaction, its showing me a system exception but I would like to show its Business rule exception . how can i do , what should i write in if condition.


To raise a business rule exception use Throw BusinessRuleException("Message")

Then use send email in the catch block with businessruleexception


Email id is blank in transaction queue, that how can i handle

write this in if condition

String.IsNullOrEmpty(transactionItem.SpecificContent("Email id").toString)

Not working, It showing object reference not set to an instance of an object



Use this