Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.25k stars 4.59k forks source link

[BUG]WorkflowRunActions only returns 30 actions max #11932

Closed penggaolai closed 3 years ago

penggaolai commented 4 years ago

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?

ghost commented 4 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @logicappspm.

lilyjma commented 4 years ago

@Azure/azure-logicapps-team please take a look

joechung-msft commented 4 years ago

@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 .NET documentation

lilyjma commented 3 years ago

Hi, this issue seems to be resolved, so I'm closing it now. If you have more questions, please reopen. Thanks!