add flow run user

This commit is contained in:
yubaolee
2017-02-27 18:56:02 +08:00
parent 3657cb2add
commit 02742c5ad4
7 changed files with 137 additions and 126 deletions

View File

@@ -591,14 +591,16 @@ namespace OpenAuth.App.Extention
{
MakeTagNode(_nextNodeId, -1, userId);
}
else if (res != "1")
else if (res != "1") //则时res是会签结束节点的ID
{
MakeTagNode(_nextNodeId, 1, userId);
_runtimeModel.nextNodeId = res;
_runtimeModel.nextNodeType = GetNodeStatus(res);
}
else
{
_runtimeModel.nextNodeId = res;
_runtimeModel.nextNodeType = GetNodeStatus(res);
_runtimeModel.nextNodeId = _nextNodeId;
_runtimeModel.nextNodeType = GetNodeStatus(_nextNodeId);
}
return res;
}