Reading DynamicDataRows
Comments
-
Hi,
I have a flow that executes a stored procedure that returns a dynamic result, so I dont know in advance the number of columns.
The problem is how to consume efficiently the result.Ideally I would like to have the possibility to get the value of a column by index, not by name
So, instead of using FieldXX (ie. Field12). I would like to pass the index of the Field I want (ie. ReadField(fieldIndex) )
Is it possible?
Thanks -
Hi ildanny,
If you would like to get your item by index, I suggest using the Get Item by Index step. This allows you to enter the list, and the index of the item you would like to retrieve.
Regards,
Andrew Paterson
-
[quote=andrew.paterson@decisions.com]Hi ildanny,\r\n\r\nIf you would like to get your item by index, I suggest using the Get Item by Index step. This allows you to enter the list, and the index of the item you would like to retrieve.\r\n\r\nRegards,\r\n\r\nAndrew Paterson[/quote]\r\n\r\n\r\n\"Get Item by Index\" works with the rows, but Columns don't have an indexer. \r\nInstead, DynamicDataRow exposes the properties FieldXX (Field01, Field02, ... Field99) that don't support an indexer.\r\nAt the moment, I use \"Get property by Name\
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