Remove ReadLine activity from automatic registration
The ReadLine activity was removed as it can cause hanging containers when awaiting user input. This change requires explicit opt-in for its usage, improving default workflow behavior and avoiding unintended issues.
This commit is contained in:
parent
81943317f3
commit
807722f91e
|
|
@ -40,7 +40,10 @@ public class ElsaFeature : FeatureBase
|
|||
.UseWorkflowManagement(management =>
|
||||
{
|
||||
if (!DisableAutomaticActivityRegistration)
|
||||
management.AddActivitiesFrom<WriteLine>();
|
||||
management
|
||||
.AddActivitiesFrom<WriteLine>()
|
||||
.RemoveActivity<ReadLine>() // ReadLine is not commonly used and can cause "hanging" containers when awaiting user input. Better to opt-in explicitly.
|
||||
;
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue