Question

Approval in Business Processes

Hi,

 

I want to have 2 approvals with my custom application. If both are accepted then it moves to the next stage and if both are rejected then to the Denied stage but if one of them is rejected and one is approved then we have a separate stage as Re-consideration. How can I include this thrid stage in the business process?

Like 0

Like

7 comments

Hello,



Could you explain your business process in more detail, and what outcome do you see for the 3 stage option?

 

This information is necessary to understand your business process and the outcome you want to get from it. 

Malika writes:

Hello,

Could you explain your business process in more detail, and what outcome do you see for the 3 stage option?

 

This information is necessary to understand your business process and the outcome you want to get from it. 

Hi Malika, there are 2 approvals in the process and 3 outcomes. If both approvals are accepted. We want it to move to next stage "Approved", If both rejects "Rejected" and if one approves it but one rejects it then "Reconsider" stage. I have done the first two and they are simple. But I am confused with third one. How do i structure it in my business process?

Anyone?

Bump

Hi!

 

To meet this business task, it will be necessary to layer several gateways. You probably already have the "Approved" conditional flow formula as such: 

[#ApprovalUserTask1.Result parameter#]==[#Positive#]&&[#ApprovalUserTask2.Result parameter#]==[#Positive#]

 

As for "Rejected", the formula will have identical logic operator "&&" meaning 'and':

 

 [#ApprovalUserTask1.Result parameter#]==[#Negative#]&&[#ApprovalUserTask2.Result parameter#]==[#Negative#]

 

The "Reconsider" flow can have the logic so that either ApprovalUserTask1 or ApprovalUserTask1 has a Positive result parameter. It can be accomplished with a use of the "||" operator meaning "or":

 

[#ApprovalUserTask1.Result parameter#]==[#Positive#]||[#ApprovalUserTask2.Result parameter#]==[#Positive#]

 

As a result, you have 3 possible outcomes including the one for 1 approval that is positive.

 

Alla Blinova writes:

Hi Alla,

Is this [#Positive#] a parameter? And I suppose you would take it as a ID Parameter? I am not sure how this parameter would help here.

If you can show me your parameter's that would be great help! I tried this with ID Parameters but that isn't working for me.

 

This is what I have thought of. Though it's not tested yet. But I have added Read Data to read the status of both approvals and then Condition flow that checks if the both approvals equals to Positive by comparing it with Approval Status Lookup values then it changes stage to Approved and if both are negative then Denied and if anyone of them is negative then it goes into Reconsideration stage. Does this looks fine to you?

Show all comments