Sub-Flow test with FX Currency
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 01:06 PM
I have a sub-flow that has two FX Currency fields as inputs. When I want to test however I am not finding the right value to enter. (I am on glide-vancouver-07-06-2023__patch4-hotfix1b-01-25-2024.)
The test field has no FX Currency controls, and appears to be just a blank string input.
I have tried:
USD;230
$230
230
4cf59191834146509e2ce8c0deaad3f6 (the value in XML for a field with the same value)
Any ideas? If I don't find an answer soon I'll workaround by changing the inputs to decimal then transforming the data before and after. Seems like a waste though (also, not portable if people start using other currencies).
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 11:06 PM
l'd try to set it in the script in scripted action. If it doesn't work, create a script include for setting it and call it from the flow/scripted action.
FX currency field can be set by setDisplayValue("USD;230") or using directly the object, so:
myCurrencyField = {
currency: "USD",
amount: 230
}
Hope it can help.