Mapping Editor: Can't map the right input
Comments
-
Im having trouble figuring out how to carry data over from one form step to another. I used a form to input data (generic stuff like strings and integers) and I cant figure out how to send the data over to the next flow step. When I try to map a number a entered, I get an error that reads Incompatible data type [System.String->System.Decimal]"
Anyone have an idea on how to fix this? Thanks"
-
Did you use a text box on your form to get the number? That might be your problem. A text boxs data is automatically cast to a String format, so it cant be mapped to a variable that wants a decimal. Heres what you can do:
1) Use a number box/number spinner to get the numeric data on your form. Itll function the same way as a text box, only it only accepts numbers and will cast your data into a numeric form
2) Use a converter flow on the mapping editor. This way could be a bit more tricky, but its useful. In the mapping editor, you can select the variable you want to map a number to in to and set to to Run Converter Flow." This will let you choose from several types to convert from. In this case
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 492 General Q & A
- 698 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 79 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions