Retrieving the Gateway Type of an Activity

Interface Activity defines an Enumeration type for provided gateway types and methods to retrieve the join and split gateway type for an activity.

Gateway Type Enumeration

The gateway type enumeration contains the following entries:

   public enum GatewayType
   {
      And,
      Or,
      Xor
   }

They have the following meaning:

Getting the Flow Join Type of the Activity

The following method gets the flow join type of the activity:

GatewayType getJoinType();

The method returns null if there is no join.

Getting the Flow Split Type of the Activity

Use the following method to get the flow split type of the activity:

GatewayType getSplitType();

The method returns null if there is no split.