Parallel Processing
Parallel Processing
Our Brain is only one, but during driving we can talk on etc.…
For example, when we apply for passport, Police Verification (Address Verification) and Document
Verification can be at a time.
We have configure Parallel Processing in Case life Cycle and for some situation we have Advanced
Shapes – Split for each, Split Join and SplitOff Flow.
In business Process, parallel Processing is not computational Parallel Processing it’s not mutli-
threading. It’s not concurrent processing.
CPU Core,
For most advanced configurations we use advanced shapes,
3 independent process, running in any order, they can be re-join to the next step. They can be join if
one done or all done or some(on when/on count)2 done based on when condition.
If we use parallel processing this is equivalent to All. But when we want one or some then we go to
advanced shapes.
Demo 1:-
Its serial processing, now make as Parallel Processing.
When you run this by default, last parallel process will be shown, but when you refresh can see
below,
So I can go here by any one suppose I am going first with mini then 2 will be left,
Now I am going with Assignment Submission, then FA Exam is left, its not going to next stage until all
process are not handled.
YES Pega provide a provision for this kind of customization using Advanced Shapes.
Now come to Case Designer and delete all steps under Pre-Qualifier left only one step,
So for this we will work on flow rule but not on the Case Designer.
All you can specify n no. of Sub-process. Means when all sub process will complete then only
continue main process. Its like Parallel Processing,
You can pass flow rule from work class and from data class also, you have option On current page
and On embedded page.
Next Level,
So we see Parallel Processing configured onto Case Designer and Advanced Shape configured onto
Flow Rule.
Spilt Join mainly for multiple independent process can run in any order and these are connected
using join condition for moving the case to the next Stage.
Buying car ask Quotation Request from so many branches, Quotation Request process is same.
Now create Flow Rule and Section Rule which will display all these 4 field into Data class.
Now, come to Case Designer tool,
Project Reviewer Name Configure View (add list property List of records)
Keep only reviewer name only delete 3 extra,
Project Review,
Add Split for each Shape and connect after Project review name,
Now here you can see ProjectReview is same process but repeating 3 times.
So our joining condition is All, so all 3 sub process will complete then you will redirect to Main
process.
Iteration -> Exit Iteration when (infinite loop but given when exit)
Even particular flow you can route, click on flow rule assignment shape, by default it is current user,
but you can do routing like here,
Pass valid operator ID. You will use data transform here.
SpinOff Flow One main process started and we added one sub process, so our main process will
be waiting till Sub process not completed this we know.
So while running you can see, first sub-process will run and then main process will be continue…