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?


it is a known issue salesforce work to resolve. see this link https://success.salesforce.com/issues_view?id=a1p3A000001SHZfQAO

a workaround can be to get the event using process builder and to extract the data into flow input vara

  • Sorry for the belated answer. Thank you so much. – cramirez Jul 11 at 15:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.