フローで参照されている項目のデータ型を変更しようとすると、「次のフローで参照されているため、データ型を変更できません(Can't change the data type because it's referenced in the following Flows)」というエラーが発生する問題について説明します。
再現手順:
注意: フローを無効にしても問題は解決しません。
この問題は、影響を受けている項目をフローから削除することでのみ解決できます。
注意:
フロー全体を削除することでも解決できますが、再作成の手間を省くため、以下の手順を実行してください。
エラーメッセージで指摘されているフローに移動する。
すべての要素を検索し、影響を受けている項目を特定する。
フローから対象の項目を削除する。
フローを新規バージョンとして [保存] する。
項目が参照されていた古いバージョンを削除する。
これで、エラーが発生することなく、影響を受けている項目のデータ型を変更できます。
Vote and comment on the Salesforce Idea - Ability to Change Field Type of Field Referenced in a Flow
Trailblazer Community - Cannot change the data type of field
Trailblazer Community - Changing the data type of a field
000387461

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.