在process文件的流转后事件对应的java中如下获取执行者的名字sName的值
public static void flowTestProcessAfterAdvance() { ProcessControl flowControl = (ProcessControl) ContextHelper.getActionContext().getParameter("control"); for (ProcessControlItem to : flowControl.getFlowTos()) { for (OrgUnit ect : to.getExecutors()) { String fid = ect.getFID(); String fname = ect.getFName(); System.out.println("==========人员名称sName=========" + OrgUtils.getPersonNameByFName(fid, fname)); } } }
评一波