participant = ((ProcessLocal)containerLocal())
.processDefinition().participantById(performer());
} catch (InvalidIdException e) {
String pid = (String)processContext().get (performer());
if (pid == null) {
throw new InvalidIdException
("Referenced data field \"" + performer() + "\""
+ " does not contain valid participant id.");
}
participant = ((ProcessLocal)containerLocal())
.processDefinition().participantById(pid);