Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

流程图高亮显示bug #15

Open
hdj0122 opened this issue Nov 1, 2022 · 3 comments
Open

流程图高亮显示bug #15

hdj0122 opened this issue Nov 1, 2022 · 3 comments

Comments

@hdj0122
Copy link

hdj0122 commented Nov 1, 2022

// 对历史流程节点进行遍历
// 获取当前历史节点
HistoricActivityInstance currentActivityInstance = historicActivityInstances.get(i);
// 得到节点定义的详细信息
ActivityImpl activityImpl = processDefinitionEntity.findActivity(currentActivityInstance.getActivityId());
// 用以保存后需开始时间相同的节点
List sameStartTimeNodes = new ArrayList<>();
ActivityImpl sameActivityImpl1 = processDefinitionEntity
.findActivity(historicActivityInstances.get(i + 1).getActivityId());
// 将后面第一个节点放在时间相同节点的集合里
sameStartTimeNodes.add(sameActivityImpl1);
/**
* 遍历outgoingFlows并找到已流转的 满足如下条件认为已流转:
* 1.当前节点是并行网关或兼容网关,则通过outgoingFlows能够在历史活动中找到的全部节点均为已流转
* 2.当前节点是以上两种类型之外的,通过outgoingFlows查找到的时间最早的流转节点视为有效流转
**

  • (第2点有问题,有过驳回的,会只绘制驳回的流程线,通过走向下一级的流程线没有高亮显示)

这个怎么解决 求教

@hbycctgu
Copy link

hbycctgu commented Nov 1, 2022 via email

@zhangmrit
Copy link
Owner

zhangmrit commented Nov 1, 2022 via email

@hdj0122
Copy link
Author

hdj0122 commented Nov 1, 2022

现在是 我驳回的线条亮但通过的线条不亮

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants