cancel
Showing results for 
Search instead for 
Did you mean: 

Report a bug

danshijin
Champ in-the-making
Champ in-the-making

Im reading your quick start,and in 5. Run Process Instance, i found the java code  (activity.getActivityType() == "endEvent") ,String type need to be compared with equals method.

that confuse me when i found that the result i got is different with yours.

thanks

1 REPLY 1

fcorti
Elite Collaborator
Elite Collaborator

Thank you yutao zhao‌. 
Yes, the source code should be replaced as described below.

...
if (activity.getActivityType().equals("startEvent")) { # Line 102
...
if (activity.getActivityType().equals("endEvent")) { # Line 107
...

The sample will be changed according to it.