public async Task SendAuditorApprovalEvent( [HttpTrigger(AuthorizationLevel.Function, "post", Route = null)] HttpRequestMessage req, [OrchestrationClient] DurableOrchestrationClient context, ILogger log) { var approvalRequest = JsonConvert.DeserializeObject <SendAuditorApprovalRequest>(await req.Content.ReadAsStringAsync()); var instanceId = await _approvalService.GetInstanceId(approvalRequest.WorkflowId); await context.RaiseEventAsync(instanceId, $"E_AuditorApprovalEvent_{approvalRequest.WorkflowId.ToString()}", approvalRequest.EventData); }