Hari_Kaviti | 2024-05-21 12:24:16 UTC | #1
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?
 |
 |
Jason_Mathison | 2024-05-21 20:05:13 UTC | #2
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
Hari_Kaviti | 2024-05-22 17:23:56 UTC | #3
Thanks jason,
I managed this to work with expression ToCurrency(MakeCurrency(ToDecimal(Flow.amountBilled),"USD"))
Thanks,
system | 2024-06-22 17:24:35 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 26375