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
Kou XiongKou Xiong 

Lightning aura component to flow input variable error

I'm trying to input a text variable from lightning into a flow but keep getting the error:
 
We can't launch this flow because of a variable error. Send this error message to your admin. The value 282,876 is being provided for variable hrId but isn't compatible with the variable's data type (String).

I'm retreiving the input data from a visualforce page and passing it onto the lightning component and from there pass it onto the flow.  On the page everything looks good but when trying to pass it onto the flow it gives the above error. 

Input type on the lightning component,flow, and visualforce are all "string". 

Not sure why it's not working...would appreciate some help.