ExecutionAdministration ea = Shark.getInstance().getAdminInterface().getExecutionAdministration();
ea.connect(userName, passWord, engineName, null);
// parentPRocId 為父流程序號(hào), 且parentActivityId是創(chuàng)建子流程的活動(dòng)序號(hào)
WfActivity wfa = ea.getActivity(parentProcId, parentActivityId);
WfProcess[] performers = wfa.get_sequence_performer(0);
if ( performers != null && performers.length > 0 )
{
// subProcId為子流程序號(hào)
subProcId = performers[0].key();
}
新聞熱點(diǎn)
疑難解答
圖片精選
網(wǎng)友關(guān)注