You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case I set the --max value to some absurdly high value in order to retrieve all of the items (in this case, Run task entries).
however it gives the error;
ERROR: Workflow tasks length parameter cannot be greater than 100 (current value=1000000000)
I have seen the same behavior in other tw commands.
It seems to be related to this;
So now if we want to allow a --no-max flag we need to implement the pagination at CLI side doing the multiple requests. This will take some time, so for the next release 0.6 I'm just going to remove the --no-max option because it is not working as expected. And I'm going to leave this issue open to support pagination at CLI side in a near future.
In fact, "--no-max" is the exact functionality I want, I want all of the records returned in a single result. And I do want the pagination to be resolved completely by tw.
This is especially difficult to deal with because, as far as I can tell , you cannot even see how many pages there are for a single query, or how many total records exist, in order to even do the pagination-navigation yourself. Unless I missed something? If so, please let me know.
Regardless, ultimately the --max arg should work the way it is described (returning the given number of max total records), and you should be able to use a single tw command to return all records from the query.
The text was updated successfully, but these errors were encountered:
I want to return all the items from a query with
tw
, for example;In this case I set the
--max
value to some absurdly high value in order to retrieve all of the items (in this case, Run task entries).however it gives the error;
I have seen the same behavior in other
tw
commands.It seems to be related to this;
Originally posted by @jordeu in #220 (comment)
In fact, "
--no-max
" is the exact functionality I want, I want all of the records returned in a single result. And I do want the pagination to be resolved completely bytw
.This is especially difficult to deal with because, as far as I can tell , you cannot even see how many pages there are for a single query, or how many total records exist, in order to even do the pagination-navigation yourself. Unless I missed something? If so, please let me know.
Regardless, ultimately the
--max
arg should work the way it is described (returning the given number of max total records), and you should be able to use a singletw
command to return all records from the query.The text was updated successfully, but these errors were encountered: