cancel
Showing results for 
Search instead for 
Did you mean: 

Starter group candidate

adic
Champ in-the-making
Champ in-the-making
Hi,
I use embedded Activiti engine in my project but I'm not using Identity Service for user management. I read it should be possible. But I'd like to use group candidate for access restriction. My idea was to filter out processes in process definition query. But I didn't find any suitable method and startableByUser() is not option since I don't use Indentity service.
Then I thought of manualy filtering process definitions with use of candidateStarterGroup from ProcessDefinitionEntity, but I can't get it loaded, it's always empty. When I'm deploying process, it's ok, but when loading from DB it's empty.

I guess one solution would be use of Identity Service after all. Or is there other way how to get candidate starter groups for process definition?

I should add, that I use Activiti 5.16.4.

I'm quite new in Activiti, but I'm trying…

Thank,
A
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
candidateStarterGroup is not available in the ProcessDefinitionEntity. it needs to parse the xml first. Use the repositoryService.getProcessDefinition(id) method to get a parsed version.