the way you do it is the right way only thing that comes to my mind seeing this is that Person class is either not available on class path or it is not declared as type (using FQN). Check here as it can be done.
HTH
Reply to this message by going to Community
Start a new discussion in jBPM at Community