Fix WorkflowDefinitionActivityProvider
In addition to yielding defined outcomes as ports, the Root activity needs to be included as well in order for child activities to be visible to the activity walker.
This commit is contained in:
parent
69f7e80415
commit
1c013efa38
|
|
@ -57,6 +57,16 @@ public class WorkflowDefinitionActivityProvider : IActivityProvider
|
|||
IsBrowsable = true,
|
||||
Mode = PortMode.Port
|
||||
}).ToList();
|
||||
|
||||
var rootPort = new Port
|
||||
{
|
||||
Name = nameof(WorkflowDefinitionActivity.Root),
|
||||
DisplayName = "Root",
|
||||
IsBrowsable = false,
|
||||
Mode = PortMode.Embedded
|
||||
};
|
||||
|
||||
ports.Insert(0, rootPort);
|
||||
|
||||
return new()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue