@Anil_G it returns null with New With { .InputNameInAgent = BusinessNameVariable} or using static variable