Keep Getting Out "0" Instead of Null?

Greetings,
I have a datatype that I want to have the ability to pass null value into. This datatype is all strings, but I use converter flows to get some necessary fields into INTs. When I pass-in the Null values to these INT fields, they come out as "0" instead. Is this a bug?
Comments
-
Hello!
What you are seeing is intended behavior by Decisions. Decisions converter flows that convert to INTs are designed to pass-out "0" when they see a null value. There are a few way you can get your desired behavior, however:
1. Create your own converter flow. Our documentation below outlines this method.
https://documentation.decisions.com/docs/using-converter-flows
2. Add a statement rule. This can be configured to output NULL INT values if the recognized string is NULL, such as shown in the screenshot below:
3. Create a Truth Table. This maybe the least-performant method if you only need to check one value, but it may have utility if used for multiple value. The logic is similar to the statement rule above, where you can pass-out a Null INT value if the inputted string is Null. Documentation on using these can be found below:
https://documentation.decisions.com/docs/creating-a-truth-table
I hope this helps!
-Gregory
Howdy, Stranger!
Categories
- 4.4K All Categories
- 78 General
- 13 Training
- 209 Installation / Setup
- 1.1K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 709 Forms
- 345 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 186 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions