首页 > 学院 > 开发设计 > 正文

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

2019-11-18 11:24:40
字体:
来源:转载
供稿:网友

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();
}



发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表