Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
How to get assigned wfprocesses with the promotionNotice by java code?
Solved! Go to Solution.
WfState wfs = WfState.OPEN_RUNNING;
Enumeration<WfProcess> enm = WfEngineHelper.service.getAssociatedProcesses(pn, wfs, pn.getContainerReference());
WfState wfs = WfState.OPEN_RUNNING;
Enumeration<WfProcess> enm = WfEngineHelper.service.getAssociatedProcesses(pn, wfs, pn.getContainerReference());