function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Andrey BolkonskyAndrey Bolkonsky 

Flow not allowing Opportunity Amount in a Number Variable or a Currency Variable

I have a new invocable apex class I am putting in a flow and Opportunity Amount is one of the inputs for the class.

The variables are passed into the flow through a custom button but it's not allowing me to pass Opportunity Amount into the either an Integer flow variable or a currency flow variables. 

The opportunity amount field has two decimal places and I have set both types of flow variables (int and currency) to also have two decimal places but it still says that:

The value $3,000,001.00 is being provided for variable AMT but isn't compatible with the variable's data type (Currency)

How do I make a flow variable compatible with Opportunity Amount field without making additional formulas fields.