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.1K All Categories
- 54 General
- 7 Training
- 200 Installation / Setup
- 1.1K Flows
- 105 Rules
- 258 Administration
- 212 Portal
- 487 General Q & A
- 690 Forms
- 331 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 176 Pages
- 5 Process Mining
- New Features
- 176 Datastructures
- 68 Repository
- 214 Integrations
- 28 Multi-Tenant
- 27 SDK
- 73 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 56 Lunch And Learn Questions