Skip to content

Commit

Permalink
Merge branch 'open-bpmn-1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Nov 2, 2023
2 parents 45de0d6 + 055df6a commit 7f7af24
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ public GGraph buildGGraph(final BPMNModel model) {
if (model.isCollaborationDiagram()) {
Set<Participant> participants = model.getParticipants();
for (Participant participant : participants) {
if (participant.getProcessRef().isEmpty() && !"Public".equals(participant.getType())) {
if ((participant.getProcessRef() == null || participant.getProcessRef().isEmpty())
&& !"Public".equals(participant.getType())) {
// in case the participant does not refer to a process then we skip this element
continue;
}
Expand Down

0 comments on commit 7f7af24

Please sign in to comment.