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
When a While’s Body is a flowchart , and there is a Break as a Then activity in a If, I found that I cannot break the While.
While w = new() {
Body = new Flowchart() {
Activities = {
new WriteLine(“Do1”),
new If(e => true) {
Then = new Break(),
},
new WriteLine(“Do2”),
}
// Connected like Sequence
}
};
Also, without the while , I cannot terminate the flowchart when the Then activity is End.
Flowchart chart = new() {
Activities = {
new WriteLine(“Do1”),
new If(e => true) {
Then = new End(),
},
new WriteLine(“Do2”)
}
// Connected like Sequence
}
Expected Behavior
For first example, it should output “Do1” as expected.
For second example, it should output “Do1” as expected.
Actual Behavior
For first example, it outputted ”Do1” “Do2” in actual.
For second example, it outputted “Do1” “Do2” in actual.
Environment
Elsa Package Version: 3.1.3.
Operating System: Windows 10
Browser and Version: No browser.
Troubleshooting Attempts
It seems Flowchart doesn’t receive BreakSignal and judge whether IsBreak in OnChildCompletedAsync method of Flowchart.
I have tried to substitute Flowchart with Sequence and it goes well.
The text was updated successfully, but these errors were encountered:
Description
When a While’s Body is a flowchart , and there is a Break as a Then activity in a If, I found that I cannot break the While.
Also, without the while , I cannot terminate the flowchart when the Then activity is End.
Expected Behavior
Actual Behavior
Environment
Troubleshooting Attempts
It seems
Flowchart
doesn’t receiveBreakSignal
and judge whetherIsBreak
inOnChildCompletedAsync
method ofFlowchart
.I have tried to substitute
Flowchart
withSequence
and it goes well.The text was updated successfully, but these errors were encountered: