GD193项目的开发时间将会比较长,这期间获取的一些信息可能在一段时间后才用到,预防遗忘,还是写到blog上吧,零零散散的,可能只有自己能看懂:)
[list=1]
[*]获得在class中得到identity的方法。
[/list]
[list=1]
[*]获得在class中得到identity的方法。
IdentitySession identitySession = new IdentitySession(JbpmContext.getCurrentJbpmContext().getSession());//JbpmContext可换成JbpmConfiguration,JbpmContext.getCurrentJbpmContext()方法以被Deprecated
User user = identitySession.getUserByName(actorId);
[/list]