Example #1
0
        public override async Task <Empty> RewindTaskOrchestration(RewindTaskOrchestrationRequest request, ServerCallContext context)
        {
            await(_extendedOrchestrationServiceClient ?? throw NotSupported("Rewind"))
            .RewindTaskOrchestrationAsync(request.InstanceId, request.Reason);

            return(new Empty());
        }
Example #2
0
        public async Task RewindTaskOrchestrationAsync(string instanceId, string reason)
        {
            var request = new RewindTaskOrchestrationRequest
            {
                InstanceId = instanceId,
                Reason     = reason
            };

            await _client.RewindTaskOrchestrationAsync(request);
        }