Convert string type variable to Tocurrency variable

Hi, I need to play amount in IVR and when i trying to convert string type variable flow.amountbilled to currecny type using expresion ToCurrency(Flow.amountBilled) in update data action. but getting blank during playback.can any help?
image
image

Hi Hari,

Are you sure that the data action is returning a value? For testing you could hard-code a variable with a reasonable value and see if the audio plays as expected.

If audio works with a hard coded variable then you should ask in the Architect room about this.

--Jason

Thanks jason,

I managed this to work with expression ToCurrency(MakeCurrency(ToDecimal(Flow.amountBilled),"USD"))

Thanks,

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.