documentResult.replaceItemValue("numlastactivityid",
Integer.valueOf(event.getItemValueInteger("numactivityid")));
return documentResult;
}
private ItemCollection loadEvent(final ItemCollection documentContext) {
<BUG>ItemCollection event=null;
</BUG>
int aProcessID = documentContext.getItemValueInteger(PROCESSID);
int aActivityID = documentContext.getItemValueInteger(ACTIVITYID);
String version = documentContext.getItemValueString(MODELVERSION);

documentResult.replaceItemValue("numlastactivityid",
Integer.valueOf(event.getItemValueInteger("numactivityid")));
return documentResult;
}
private ItemCollection loadEvent(final ItemCollection documentContext) {
ItemCollection event = null;
int aProcessID = documentContext.getItemValueInteger(PROCESSID);
int aActivityID = documentContext.getItemValueInteger(ACTIVITYID);
String version = documentContext.getItemValueString(MODELVERSION);
