You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been looking for a long time, but I can't find any explanation for example08.
I've been thinking about this for a long time and don't quite understand what this example does. What does example08 do?
builder
.StartWith(context => ExecutionResult.Next())
.UserTask("Do you approve", data => @"domain\bob")
.WithOption("yes", "I approve").Do(then => then
.StartWith(context => Console.WriteLine("You approved"))
)
.WithOption("no", "I do not approve").Do(then => then
.StartWith(context => Console.WriteLine("You did not approve"))
)
.WithEscalation(x => TimeSpan.FromSeconds(20), x => @"domain\frank", action => action
.StartWith(context => Console.WriteLine("Escalated task"))
.Then(context => Console.WriteLine("Sending notification..."))
)
.Then(context => Console.WriteLine("end"));
The text was updated successfully, but these errors were encountered:
I've been looking for a long time, but I can't find any explanation for example08.
I've been thinking about this for a long time and don't quite understand what this example does. What does example08 do?
The text was updated successfully, but these errors were encountered: