azure-sdk-for-node
azure-sdk-for-node copied to clipboard
WorkflowRunActions only returns 30 actions max
We have a logic app that contains over 100 actions. But I run following snippet, it only returns me 30 actions.
var actions = _client.WorkflowRunActions
.List(resourceGroup, logicApp, workflowRun.Name)
.OrderBy(x => x.StartTime);
For all logic apps that contains less than 30 actions, it works fine. Are there any settings that control this limitation?
@penggaolai Hi Thanks for reporting this, Can you try if add this
var options = {
"top" = 100
}
var actions = _client.WorkflowRunActions
.List(resourceGroup, logicApp, workflowRun.Name, options)
.OrderBy(x => x.StartTime);
works or not?
@penggaolai there is a listNext
method to follow the continuation (nextLink) returned by the list
method so you can get more run actions. The listNext
can also return a continuation (nextLink) so you might need to call it more than once.
Reference Azure SDK for Node.js documentation