cancel
Showing results for 
Search instead for 
Did you mean: 

ProcessDefinitionQuery.startableByUser()

benito
Champ in-the-making
Champ in-the-making
Hello,

i try out the method ProcessDefinitionQuery.startableByUser(). As far as i understand the code, the query searches the table ACT_RU_IDENTITYLINK for user or group entries. But how do i create this entries?
I tried the start event property "activiti:initiator", but after deployment there was no difference.

thx 4 help
BJ


btw: i could not search the forum for "startableByUser" because it was "to common", that's odd!
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
See RepositoryService, eg:


/**
   * Authorizes a candidate user for a process definition.
   * @param processDefinitionId id of the process definition, cannot be null.
   * @param userId id of the user involve, cannot be null.
   * @throws ActivitiException when the process definition or user doesn't exist.
   */
  void addCandidateStarterUser(String processDefinitionId, String userId);
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.