0% found this document useful (0 votes)
19 views27 pages

Parallel Processing

The document discusses parallel processing in Pega. Parallel processing means running multiple independent processes simultaneously without sequential ordering. Pega allows configuring parallel processing on case lifecycles using advanced shapes like Split Join. Split Join splits a process into multiple parallel sub-processes that can complete in any order. It then joins the sub-processes to continue the main process. Other advanced shapes like Split for Each allow the same process to repeat multiple times in parallel. Parallel processing improves efficiency but may require joining conditions to determine when the main process can continue.

Uploaded by

madhanakokilan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views27 pages

Parallel Processing

The document discusses parallel processing in Pega. Parallel processing means running multiple independent processes simultaneously without sequential ordering. Pega allows configuring parallel processing on case lifecycles using advanced shapes like Split Join. Split Join splits a process into multiple parallel sub-processes that can complete in any order. It then joins the sub-processes to continue the main process. Other advanced shapes like Split for Each allow the same process to repeat multiple times in parallel. Parallel processing improves efficiency but may require joining conditions to determine when the main process can continue.

Uploaded by

madhanakokilan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 27

Parallel Processing:-

Marriage Party , Washing Machine (Washer and Dryer) , Gas Chulha

Any real example,


Parallel Processing means simultaneously running they run in any order, they don’t follow any
sequential order,

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.

Onboarding, IT Setup Team, Facility Setup Team both at a time,

NOC college  library, sports, Hostel warden (parallel)

Serial processing  Dependency, execute in sequential order.

Parallel Processing  No dependency, can run in any order.

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.

When I go with FA exam, then it will be shown next stage,


Now my requirement is If FA is done I want go to next stage, (any one or some)

Then what should we do, ?

Can we do this in Pega?

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.

We added one Split Join Shape,

Here we have 3 options,

All, Any, Some

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.

Like 3 we will pass here all 3,


Now save and run ,

Same as Parallel Processing,


Clicked CSSA Exam, and its called Next Stage any one,

Now, Some  on when and on count


Here you can give any when condition or count i.e. no. of Path you can pass here we are passing 2:
Now, complete some count 2 only and then you are able to go to next Stage,

Next Level,

So we see Parallel Processing configured onto Case Designer and Advanced Shape configured onto
Flow Rule.

So we have 3 shapes for Parallel Processing:

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.

Split for Each  Same task will run multiple times.

Same process repeat multiple times.

It can be any order,

Train booking  insurance process.

Eating is process, starter and main course and dessert.


Online order 100 Jeans ordering -> Vendor process fulfillment request quantity.

Buying car ask Quotation Request from so many branches, Quotation Request process is same.

Demo 2 Review (internal review and external review)

Create Case  Project Review.

Now create, Data Type(Project Review)

Now create Flow Rule and Section Rule which will display all these 4 field into Data class.
Now, come to Case Designer tool,

Under Project Review Stage,

Project Reviewer Name  Configure View (add list property List of records)
Keep only reviewer name only delete 3 extra,

Finally here one Page List Property internally created,


Now open this process,

Project Review,

Add Split for each Shape and connect after Project review name,

Now click here Property of Split for Each,


Here are all we have Join condition, all - Any - Iterate – Some

We have to pass here Pega Property, class and flow rule.


Now you can see sign logo is changed here,

Run case, and see ,


When submit, last row data will be shown, but refresh

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.

All -> all must review then go to next Stage

Any -> if any one review then go to next Stage

Some -> any 2 / 3 like on when/on count

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.

For Example  Food Process is the Process etc….

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.

Like we want Student Feedback Sub Process after Review.

First we create one Flow Rule in Work class,


Now, in ProjectReview Flow rule, add Sub Process
Now run case,

So while running you can see, first sub-process will run and then main process will be continue…

Now we want without wait Main Process should be continue.

So this sub process we will make as spinoff flow. (Checkbox select)


Now run again and see difference, feedback is not mandatory, its like optional we can continue main
process.

Now see logo changed.

You can see, main flow is continuing here


If you refresh,
One parent flow calling child flow rule here.

You might also like