cancel
Showing results for 
Search instead for 
Did you mean: 

Configerable Multi-Level Approval Process

shivtiwari
Champ in-the-making
Champ in-the-making
Hi,

I am new to activity and have got an assignment to explore some part of activiti.
My Question is can we have Multilevel- Approval process in activity, where level of approver must be configured in property file or database also the list of approver for each level.

Also what will happen if someone form approver in level 3 rejects the task, will it go to level 2 ?

Please help

Thanks in Advance
5 REPLIES 5

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Shivtiwari,

My Question is can we have Multilevel- Approval process in activity, where level of approver must be configured in property file or database also the list of approver for each level.
Yes.

Also what will happen if someone form approver in level 3 rejects the task, will it go to level 2 ?
It depends on your process definition.

Regards
Martin

Hey Thanks martin.grofcik,

Can you please elaborate how can i achieve this?
Is it with the help of multiinstance feature of activiti

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Shivtiwari,

how can i achieve this?

Multiinstance is one of the possibilities. Implementation really depends on your business requirements.

Regards
Martin

But as far as i have understood Multiinstance, There we dont have control over Rejection i.e.
1:- If the event is rejected at level 3 will it go to the approver of level 2 or submitter
2:- can we dynamically define no of levels of approver of fetch them from database and approver for each level

Also Thank you very much for your quick replies

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Shivtiwari,

1:- If the event is rejected at level 3 will it go to the approver of level 2 or submitter

Multiinstance is sequential. You can put control logic into completitionCondition (isRejected => exit the loop)


  <multiInstanceLoopCharacteristics isSequential="false"
     activiti:collection="assigneeList" activiti:elementVariable="assignee" >
    <completionCondition>${nrOfCompletedInstances/nrOfInstances >= 0.6 }</completionCondition>
  </multiInstanceLoopCharacteristics>

How will the process handle the process flow after the loop depends on process definition (it is possible to return task to the previous approver or to the submitter.

2:- can we dynamically define no of levels of approver of fetch them from database and approver for each level

Yes, e.g. you can construct list of approvers and let multiinstance be driven by this list.


Regards
Martin
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.