add processinstance cases