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.