Value List output via ASI
I have created a value list and included this as a column in a truth table.
The truth table has been exposed via an ASI using the "Publish As" functionality.
However, it seems that the JSON generated in the response includes the database values of the enumeration (e.g. 1, 2, 3...). This is not particularly interesting when sharing information with an external system.
Is there any way to either: force the ASI to send the string value
OR
Manually set the database values so that they can be meaningful idents?
ver: 8.12.1.71934
Comments
-
Good morning Haim,
Could you provide screenshots for described behavior?
Also, could you clarify what ASI is?
Thank you!
Best,
Levi | Decisions Support
-
Sorry, it's termed API Service.
The truth table looks like this:
Below I have copied an example Decisons generated API for a truthtable.
The Receivers and Channels have both been defined as Value Lists. Note that they are also defined as being a list datatype on the truth table, hence there are two values.
As can be seen, the values are represented by the database values of the Value Lists, which are integers. I would prefer to have the Display values (strings).
-
Thank you for providing additional Context Haim,
A way that you could accomplish this, is by creating a flow that would replace the enumeration with whatever you'd like AFTER the service method has already been called, and then call the flow over the API.
Best,
Levi | Decisions Support
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions