Resolve #548 - improperly connected activity

The activity I removed would never have been executed, because it is
not connected from either of the IfElse branches.
Since this is Elsa 1.x, I've fixed it using the cheapest/quickest possible
solution which is to just remove the misleading part of the sample.
This commit is contained in:
Craig Fowler 2021-03-04 19:35:10 +00:00 committed by GitHub
parent 8cbccb3dd8
commit f22fadaac1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,8 +50,7 @@ namespace Sample25
ifElse
.When(OutcomeNames.True)
.Then<WriteLine>(x => x.TextExpression = new LiteralExpression("Data exceeds threshold (TRUE)"));
})
.Then<WriteLine>(x => x.TextExpression = new JavaScriptExpression<string>("(`Finished data processing. Result: ${Absolute.Result}`)"));
});
}
}
}
}