I am currently using an organisation with the Summer 19 release update and the API version 46.0 in one of my scratch organisations.
I am unable to assign a record variable for stored a Platform Event Message in the wait element of a Flow. I have tried to create a record variable of the same type of the Platform Event and it still doesn't work. When I try to store the value in the record variable I get the following error message 'The data type of the resource you entered isn't compatible.'
Does anyone knows any solution or what could be the cause of this?