I am getting an error message that your CSV file exceeds the maximum row count (20 rows) when importing via an inline action form in Workshop. Is there a setting that we can configure to increase the maximum number of rows that can be imported?
Hi @kimhkh , is your action backed by a function by any chance?
Our team is working on increasing these hard-coded limits, but at the moment the action type that is the most limited is the function-backed action.
One option (if your workflow allows it) is to add the new objects with a regular foundry-backed action (less limited), and then run an automate to do the further processing that you were doing in the function in the first place.
Another alternative (but a more involved one) is to create an object that stores the csv/xlsx as an attachment property, and then process that in typescript directly to create the objects–per-row (this involves adding external libraries like ‘exceljs’ for the csv/xlsx parsing)
Hopefully this helps!
Hi,
I encountered the same situation and my action is indeed backed by a function.
Has the introduction of Typescript V2 functions affected this at all, or has progress been made to increase the limit here?
Thanks!
Hi,
There is a new batch feature that you can enable in the Action rule configuration window for function-backed actions.
How it works: The function receives a single parameter batch, which is an array of objects, each containing the parameters you would have used in the single-row version. You can then loop through the batch and apply your logic to each item.
Enabling this feature can help overcome the 20-row limitation for function-backed actions.
Hope this helps!
