Loading

Data 360: Issue passing data from Main Flow to Sub Flow

Publiceringsdatum: Mar 8, 2026
Beskrivning

When transferring data from the Main Flow to a Sub-Flow in DataCloud, you might encounter the following error:

Error: “The data type of the resource you entered isn’t compatible.”

This usually occurs when a Sub-Flow variable is populated with data retrieved from a Get Records element in the Main Flow. Follow the steps in the Resolution section to address this issue.

Lösning

The following steps are provided below to resolve the issue.

  1. Update Resource Type

    • In the Main Flow, set the Get Records resource type to SalesforceObject to match the Sub-Flow variable.

  2. Workaround Using RecordId

    • In the Sub-Flow, create a Text variable.

    • Pass the RecordId from the Main Flow to this variable.

    • Use a Get Records element in the Sub-Flow to retrieve the record using the RecordId.

  3. Reference

Knowledge-artikelnummer

005316510

 
Laddar
Salesforce Help | Article