Your document has been received and will be reviewed shortly.
"), ContentType = new(MediaTypeNames.Text.Html), StatusCode = new(HttpStatusCode.OK), ResponseHeaders = new(new HttpHeaders { ["X-Powered-By"] = new[] { "Elsa 3.0" } }) }, new Fork { JoinMode = ForkJoinMode.WaitAll, Branches = { // Jack new Sequence { Activities = { new WriteLine(context => $"Jack approve url: \n {GenerateSignalUrl(context, "Approve:Jack")}"), new WriteLine(context => $"Jack reject url: \n {GenerateSignalUrl(context, "Reject:Jack")}"), new Fork { JoinMode = ForkJoinMode.WaitAny, Branches = { // Approve new Sequence { Activities = { new Event("Approve:Jack"), new SetVariable { Variable = approvedVariable, Value = new(true) }, new WriteHttpResponse { Content = new("Thanks for the approval, Jack!"), } } }, // Reject new Sequence { Activities = { new Event("Reject:Jack"), new SetVariable { Variable = approvedVariable, Value = new(false) }, new WriteHttpResponse { Content = new("Sorry to hear that, Jack!"), } } } } } } }, // Lucy new Sequence { Activities = { new WriteLine(context => $"Lucy approve url: \n {GenerateSignalUrl(context, "Approve:Lucy")}"), new WriteLine(context => $"Lucy reject url: \n {GenerateSignalUrl(context, "Reject:Lucy")}"), new Fork { JoinMode = ForkJoinMode.WaitAny, Branches = { // Approve new Sequence { Activities = { new Event("Approve:Lucy"), new SetVariable { Variable = approvedVariable, Value = new(true) }, new WriteHttpResponse { Content = new("Thanks for the approval, Lucy!"), } } }, // Reject new Sequence { Activities = { new Event("Reject:Lucy"), new SetVariable { Variable = approvedVariable, Value = new(false) }, new WriteHttpResponse { Content = new("Sorry to hear that, Lucy!"), } } } } } } } } }, new WriteLine(context => $"Approved: {approvedVariable.Get