开发学院WEB开发Jsp Shark api 应用:获得子流程(sub process) 阅读

Shark api 应用:获得子流程(sub process)

 2008-01-05 18:42:52 来源:WEB开发网   
核心提示:ExecutionAdministration ea = Shark.getInstance().getAdminInterface().getExecutionAdministration();ea.connect(userName, passWord, engineName, null);// parentPRoc

ExecutionAdministration ea = Shark.getInstance().getAdminInterface().getExecutionAdministration();
ea.connect(userName, passWord, engineName, null);

// parentPRocId 为父流程序号, 且parentActivityId是创建子流程的活动序号
WfActivity wfa = ea.getActivity(parentProcId, parentActivityId);

WfProcess[] performers =  wfa.get_sequence_performer(0);
   
if ( performers != null && performers.length > 0 )
{
   // subProcId为子流程序号
   subProcId = performers[0].key();
}


Tags:Shark api 应用

编辑录入:爽爽 [复制链接] [打 印]
[]
  • 好
  • 好的评价 如果觉得好,就请您
      0%(0)
  • 差
  • 差的评价 如果觉得差,就请您
      0%(0)
赞助商链接