activiti 的 runtimeService.addParticipantUser 如何使用,使用场景?

Galway? 2018-11-01 10:28:55
论坛帮助

activiti 的 runtimeService.addParticipantUser 如何使用,使用场景?
...全文
386 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
Galway? 2018-11-22
  • 打赏
  • 举报
回复
引用 3 楼 LCL_data 的回复:
void addParticipantUser(String processInstanceId, String userId) Convenience shorthand for addUserIdentityLink(String, String, String); with type IdentityLinkType.CANDIDATE Parameters: processInstanceId - id of the process instance, cannot be null. userId - id of the user to use as candidate, cannot be null. Throws: ActivitiObjectNotFoundException - when the task or user doesn't exist. https://www.activiti.org/javadocs/org/activiti/engine/runtimeservice
不明白调用这个方法能起到什么作用.实现什么业务场景
十八道胡同 2018-11-01
  • 打赏
  • 举报
回复
void addParticipantUser(String processInstanceId,
String userId)
Convenience shorthand for addUserIdentityLink(String, String, String); with type IdentityLinkType.CANDIDATE
Parameters:
processInstanceId - id of the process instance, cannot be null.
userId - id of the user to use as candidate, cannot be null.
Throws:
ActivitiObjectNotFoundException - when the task or user doesn't exist.

https://www.activiti.org/javadocs/org/activiti/engine/runtimeservice
Galway? 2018-11-01
  • 打赏
  • 举报
回复
引用 1 楼 LCL_data 的回复:
https://blog.csdn.net/luckyzhoustar/article/details/48650563
大佬. 好像没看到addParticipantUser 这个方法的用处哦

50,549

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧