cancel
Showing results for 
Search instead for 
Did you mean: 

Process Initiation Authorization

AmirElsaeed
Champ in-the-making
Champ in-the-making

Hello,

i want to restrict users from starting new process instance.

i tried following example :

https://www.activiti.org/userguide/#security

but it didn't work.

i also used eclipse to set candidate groups but it didn't work too.

what i am trying to do is add identity link at ACT_RU_IDENTITYLINK table related to PROC_DEF_ID_ on deploying without using REST or API.

it should get candidate from bpmn xml itself.

sorry for bad english and i am new to activiti .

regards

3 REPLIES 3

EddieMay
World-Class Innovator
World-Class Innovator

Hi @AmirElsaeed & welcome to Alfresco!

Can you outline the exact steps that you took & also what didn't work - was there any output to screen or in the logs to say what hasn't worked, for example?

Thanks,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

AmirElsaeed
Champ in-the-making
Champ in-the-making

1- i opened actitivi-app

2- draw bpm process

3- exported bpm.xml file 

4- update it with the following 

<process id="potentialStarter"  activiti:candidateStarterGroups="myGroup">

5- import the file again.

nothing happen (still any user can start process instance although user is not in that group).

---

same with eclipse

image

although i set candidate starter and imported xml to actitivi app still any one can start process instance.

another thing is this table "ACT_RU_IDENTITYLINK" somehow related with process Initiation Authorization?

if yes how to add record with PROC_DEF_ID_ and candidate

image

pujamandlapure
Champ in-the-making
Champ in-the-making

Hi Activiti team, 

I am also getting same issue , is it a bug in v5.22. Even if we mention the starter candidates all candidates can start the process.

<extensionElements>
<activitiSmiley TongueotentialStarter>
<resourceAssignmentExpression>
<formalExpression>user(username)</formalExpression>
</resourceAssignmentExpression>
</activitiSmiley TongueotentialStarter>
</extensionElements>
 
This needs to be fixed as any user should not start any process , that will be a wrong feature.Please suggest solution.