public async Task <string> GetOrchestrationHistoryAsync(string instanceId, string executionId) { var request = new GetOrchestrationHistoryRequest { InstanceId = instanceId, ExecutionId = executionId }; var response = await _client.GetOrchestrationHistoryAsync(request); return(response.History); }
public override async Task <GetOrchestrationHistoryResponse> GetOrchestrationHistory(GetOrchestrationHistoryRequest request, ServerCallContext context) { var history = await _orchestrationServiceClient.GetOrchestrationHistoryAsync( request.InstanceId, request.ExecutionId); var response = new GetOrchestrationHistoryResponse { History = history }; return(response); }