Pega - Flows Interview Questions and Answers

AllJobsInfo

Administrator
Staff member
Pega - Flows Interview Questions and Answers

Differences between Process flow and screen flow

Process Flow
Screen Flow
  • It creates a work object
  • It cannot create work object (By Default)
  • For every assignment we see submit button, means when an assignment is completed, we cannot navigate back.
  • For every assignment we get next, back and finish buttons available accordingly. We can navigate between assignments.
  • Flow action can be called on assignment shape outward connector. Here we can call multiple flow actions per assignment.
  • Flow action can be called, on assignment shape itself. Only one flow action per assignment is possible.
  • Harness can be called, per each assignment.
  • Harness can be called on start shape of screen flow that means for all assignments in screen flow same harness.
  • Routing option is available on assignment shape.
  • Each assignment can be routed to different operator using assignment shape.
  • Routing option available on Start shape of screen flow.
  • That means all assignments in screen flow gets routing to one single work list or work basket.
  • All assignment must be worked on only by one operator.
  • By default, PRPC performs a save and commit for each flow shape.
  • By default, PRPC performs a save and commit for each flow shape.
  • Here, on start shape screen flow “Sava on Last step” option is available.
  • If we select this option, the save and commit happens only at the end of screen flow.

2. Can we use Integrator shape of Split join shapes in screen flow?
A. Screen flow we cannot use any advanced shapes except split for each.

3. We have a process flow and sub flow as described below.

Process Flow
A1 -> SubProcess ->A2(Routedto – User1)
Subflow
A2(Routed to – Manager1)
On sub process we have selected SPIN OFF OPTION.
After we executed process flow, submit assignment ONE, Sub flow assignment and A2 of process flow bother have been created and routed to Above Operators.

Both have logged in , trying to open the assignment, will they be able to parallel work on it? Or not? What is the reason?
A.Not able to work on parallel, because of default locking.

4. How to call a flow from activity?
Call NewFromFlow
FlowName
Class Group Name

5. How many different ways we can create WO?
A.1. From activity : Call New, Call NewFromFlow, Call Add or AddWork, Call svcAddWorkObject
2. Flow from portal
3.Case Type form portal.
4. From Services Call svcAddWorkObject (We use this activity when we create cases during a service reuest).

6. What is the Difference between Sub process (Spin OFF), Split Join, Split for each?

Sub Process (Spin Off)
Split Join
Split for Each
We can call one sub flowWe can call at least two sub flowsWe can one sub flow, passing a page list. Sub flow gets executed N number of time.
Where N = Number of pages in page list.
This is Synchronous with no spin off.
Asynchronous with Spin OFF
This is SynchronousThis is Synchronous
Synchronous: Parent flow will wait till sub flow gets completed.

Asynchronous: Parent flow will not wait for the sub flow to be completed. That means parent flow can be finished before sub flow.
Join (ALL)
Parent flow will wait till all sub flows completed.
Join (ANY)
Parent flow will wait till at least one sub flow to be completed.
JOIN (SOME – Condition)
Parent flow will wait for at least one sub flow to be completed given condition must be satisfied.
Join (ALL)
Parent flow will wait till all sub flows completed.
Join (ANY)
Parent flow will wait till at least one sub flow to be completed.
JOIN (SOME – Condition)
Parent flow will wait for at least one sub flow to be completed given condition must be satisfied.
Exit Iteration (Condition)
During loop, it exits the loop, when a given condition satisfied.

7. Can we call a third party service in a screen flow using integrator shape?
A. We cannot, because Advanced shapes are not available in screen flow.
 
Top