public static async Task ProcessOrder( [ServiceBusTrigger("Orders", Connection = "ServiceBusConnection")] OrderMessage order, [OrchestrationClient] DurableOrchestrationClient orchestrationClient, ILogger log) { log.LogWarning($"Processing order from userId {order.userId}"); // Here is where we instantiate a new Policy object var policy = new WhatIfDemoDbDataContext.Policy { id = Guid.NewGuid(), userId = order.userId, productId = order.productId, paymentAmount = order.price, dateCreated = DateTime.UtcNow }; // Starting the policy processing Saga await orchestrationClient.StartNewAsync(nameof(ProcessOrderOrchestrator), policy.id.ToString(), policy); }