I'm having trouble creating a record when trying to populate data into a field which is expecting a lookup data type in the Salesforce Create Record action. The error is:
"Salesforce failed to complete task: Message: Related To ID: id value of incorrect type: P109302\r\nclientRequestId: 6f38d859-19f5-46bf-bbb0-db5bd2fb6b7e"
The data I'm trying to assign is (in string) "P109302".
The whole flow is actually trying to extract a Salesforce record based on a reference number in a subject of an email. This part works fine and extracts the correct record. I then want to create a task related to that record, using the Create Record action. It's this "related to" field which is of lookup data type. In my example, there are actually two fields which are expecting a lookup data type (the other is the user to whom the record is to be assigned).
I understand that I should be populating the "related to" field with a lookup data type, but I can't see a way to do this from the connector interface.
My questions: 1) Is it possible to do what I want from the flow create record connector (if so, how?); and
2) If not, is it possible to create an internal flow in Salesforce to populate the lookup field from another field in the record, externally assigned - if so, how would this be done?