cancel
Showing results for 
Search instead for 
Did you mean: 

Exclusive choice conditions

Former Member
0 Kudos

Hi All,

I have a scenario where

Message steucture

Cust Name

CibilScore

User1 enters the details and approves to next level(user2) using Human Activity.

User 2 has now two options

1) Approve

2) Reject

My requirement is whenever User2 Approves the request it should go to one directory and user2 rejects it should go to other directory

Approves/Rejects Based on Some score say CIBIL Score on the scale of 1-10

Approves if CIBIL>5 and Rejects if CIBIL<5

How to give the condition in exclusive choice in above situation??

Where If user2 approves and the message forwarded to Approved directory and for reject message forwarded to reject directory?

PFB screen shot of my Pattern

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member191643
Active Contributor
0 Kudos

In the output mapping of Human activity : user2, capture the value of the CIBIL rating in a data object. In the exclusive choice gateway, you can use built-in standard functions to check whether the CIBIL value (which should ideally be 'int' in your case) is less than or greater than 5.

You can use standard numeric functions like 'numeric-greater-than' to check the CIBIL value.

junwu
Active Contributor
0 Kudos

approval result will be passed out from the user2 task, which will be stored in the process context, in your gateway, you just check the approval result, if it is approved....if it is rejected......