Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }