diff --git a/OpenAuth.App/Flow/FlowRuntime.cs b/OpenAuth.App/Flow/FlowRuntime.cs index ea0b1121..62032d26 100644 --- a/OpenAuth.App/Flow/FlowRuntime.cs +++ b/OpenAuth.App/Flow/FlowRuntime.cs @@ -414,6 +414,7 @@ namespace OpenAuth.App.Flow flowInstance.ActivityId = startNodeId; flowInstance.ActivityName = Nodes[startNodeId].name; flowInstance.MakerList = GetNodeMarkers(Nodes[startNodeId], flowInstance.CreateUserId); + flowInstance.SchemeContent = JsonHelper.Instance.Serialize(ToSchemeObj()); var sugarClient = AutofacContainerModule.GetService(); sugarClient.Updateable(flowInstance).ExecuteCommand(); @@ -448,6 +449,9 @@ namespace OpenAuth.App.Flow } } + /// + /// 转换为流程方案对象 + /// public object ToSchemeObj() { return new