public async Task <IEnumerable <(global::Elsa.Models.WorkflowInstance, global::Elsa.Models.ActivityInstance)> > ListByBlockingActivityAsync(string activityType, string correlationId = null, CancellationToken cancellationToken = default) { var documents = await _workflowInstanceRepository .GetListByBlockingActivityAsync(activityType, correlationId, WorkflowStatus.Executing, true, cancellationToken); var instances = Map(documents); return(instances.GetBlockingActivities(activityType)); }