if zlg_LaborActivityHeader is your tablename, your code should look more like this....
FormRun fr;
Args args;
args = new Args();
args = element.args();
args.name(formStr('FORMB'));
args.record(zlg_LaborActivityHeader);
fr = ClassFactory.formRunClass(args);
fr.init();
fr.run();
fr.detach();
super();