protected SharkTransaction transaction;
protected ToolRunner (SharkTransaction t,WfActivityInternal wai) throws BaseException {
this.transaction=t;
this.activity=wai;
WfProcessInternal pr=wai.container(t);
WorkflowProcess wp=SharkUtilities.
getWorkflowProcess(pr.package_id(t),
pr.manager_version(t),
pr.process_definition_id(t));
this.actDef=SharkUtilities.getActivityDefinition(t,wai,wp,wai.block_activity(t));
}