Print this page

Can't change the data type because it's referenced in the following Flows

Knowledge Article Number 000220411
Description When a field is being referenced in a Flow you will not be able to change the Data Type and will receive error as "Can't change the data type because it's referenced in the following Flows".

Steps to Reproduce:
  1. Create a simple flow referencing a Custom Field in it. For example: Reference any custom field within 'Record Lookup' element. Refer to "Create a Flow" for details.
  2. Now try to change the Data Type of the Field which is referenced in the Flow. For Example: From Data Type "Text" to "Number"
  3. This will throw an error: "Can’t change the data type because it's referenced in the following Flows"
Note: Deactivating the Flow will not resolve the issue.
Resolution This issue can be resolved only when the affected field is removed from the Flow.

NOTE: Deleting the entire Flow would also resolve the issue. However, to avoid re-creation of the complete Flow, you can follow the below mentioned steps: 
  1. Go to the flow being referred in the error message.
  2. Search all elements to locate the affected field.
  3. Remove the same from the Flow
  4. Save the Flow as a new Version
  5. Delete the Older Version where the field was referenced.
Now you will be able to change the Data Type of the affected field without any error.
 




promote demote