Yes..But make sure that the Objects Info is present in the Object Repository and also the function is calling in the script where the Onjects info is stored