on 10-21-2014 4:47 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.