void suspendMessages() {
// notify the message service of this resuming
MessageService messageService = (MessageService) Services.getCurrentService(Services.SERVICENAME_MESSAGE, false);
if (messageService!=null) {
messageService.suspendMessages(this);
}
}
void suspendTaskInstances() {
TaskMgmtInstance taskMgmtInstance = (processInstance!=null ? processInstance.getTaskMgmtInstance() : null);