mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-02 06:26:35 +08:00
流程返回值改为FlowResult,记录节点信息、上下文信息,为以后的流程调用回溯做准备
This commit is contained in:
@@ -950,6 +950,13 @@ namespace Serein.Library.Api
|
||||
#endregion
|
||||
|
||||
#region 流程运行相关
|
||||
/// <summary>
|
||||
/// 获取节点信息
|
||||
/// </summary>
|
||||
/// <param name="nodeGuid"></param>
|
||||
/// <param name="nodeModel"></param>
|
||||
/// <returns></returns>
|
||||
bool TryGetNodeModel(string nodeGuid, out NodeModelBase nodeModel);
|
||||
|
||||
/// <summary>
|
||||
/// 获取方法描述信息
|
||||
@@ -1026,7 +1033,7 @@ namespace Serein.Library.Api
|
||||
/// <param name="context">调用时的上下文</param>
|
||||
/// <param name="nodeGuid">节点Guid</param>
|
||||
/// <returns></returns>
|
||||
Task<object> InvokeNodeAsync(IDynamicContext context, string nodeGuid);
|
||||
// Task<object> InvokeNodeAsync(IDynamicContext context, string nodeGuid);
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user