What are the concrete numbers behind the ActivityInstance status and type constants?
The method getStatus() returns one of the following: • STARTED = 0; • SUSPENDED = 1; • FINISHED = 2; • ABORTED = 4; • ACTIVE = 5; • WAITING = 6; • COMPENSATED = 7; The method getType() returns one of the following: • BEGIN = 1; • END = 2; • IF = 3; • ELSIF = 4; • LOOP = 5; • EXIT_WHEN = 6; • WHILE = 7; • PAR = 8; • ANDJOIN = 9; • ORJOIN = 10; • CHOICE = 11; • CHOICE_BRANCH = 12; • GOTO = 13; • TASK = 20; • SYSTEM_TASK = 21; • PROCESS = 22; • BRANCH = 23; • END_BRANCH = 24; • SYSTEM_INTERN = 25; • SYSTEM_WAIT = 26; • PARFOR = 27; • ENDFOR = 28; • BATCH = 29; See the APIdoc for further description of the states and types.