public async Task Run([ActivityTrigger] IDurableActivityContext context, ILogger log) { (string fileId, RebuildOutcome outcome) = context.GetInput <(string, RebuildOutcome)>(); log.LogInformation($"SignalTransactionOutcome, fileId='{fileId}', outcome='{outcome.Outcome}'"); var message = new Message { Label = "transaction-outcome" }; message.UserProperties.Add("file-id", fileId); message.UserProperties.Add("file-outcome", Enum.GetName(typeof(ProcessingOutcome), outcome.Outcome)); message.UserProperties.Add("file-rebuild-sas", outcome.RebuiltFileSas); await _queueClient.SendAsync(message); await _queueClient.CloseAsync(); }