Dynamic parameters for Blueprint Function

I added a new class inherited from UObject which became a base class for all Data Classes I need to pass into Execute function. So execute function looks like void Execute(BaseDataClass* Data) and then I cast this Data to the class I need