getting this error
Argument ‘Condition’: BC30574: Option Strict On disallows late binding.
Argument ‘Condition’: BC30574: Option Strict On disallows late binding.
One or more children have validation errors or warnings.
how to rectify it
getting this error
Argument ‘Condition’: BC30574: Option Strict On disallows late binding.
Argument ‘Condition’: BC30574: Option Strict On disallows late binding.
One or more children have validation errors or warnings.
how to rectify it
Hi @Pooja_Kanwar,
Please share the code that’s causing the error.
Sometimes you can correct this error as below:
Option Strict off by removing the word On after it or by explicitly specifying Off.Cheers!
not String.IsNullOrWhiteSpace(in_TransactionItem(0)(“First Name”).tostring) Andalso Not String.IsNullOrWhiteSpace(in_TransactionItem(1)(“Last Name”).ToString)
Can you explain , what condition you need?
You are missing to mention SpecificContent if your transaction item is Queue Item. Use below code snippet and you should be fine.
not String.IsNullOrWhiteSpace(in_TransactionItem(0).SpecificContent(“First Name”).tostring) Andalso Not String.IsNullOrWhiteSpace(in_TransactionItem(1).SpecificContent(“Last Name”).ToString)
Thanks,
Ashok ![]()
Hi @Pooja_Kanwar ,
Please try as below:
not String.IsNullOrWhiteSpace(in_TransactionItem.SpecificContent(“First Name”).tostring.Trim) Andalso Not String.IsNullOrWhiteSpace(in_TransactionItem.SpecificContent(“Last Name”).ToString.Trim)
NOTE: I am assuming that the in_TransactionItem type is UiPath.Core.QueueItem.
Cheers!