Saturday, 4 May 2019

PEGA :: Flows


Flow rule is the fundamental representation of a business process in process commander.

1.      Explain about types of Flows?
àA flow rule that contains no assignments, and so can execute from start to end without
    human input, is known as a straight-through process.
àA flow rule that consists only of assignments or decisions and meets other criteria is
    known as a screen flow.
àA flow that creates a new work object is called a starter flow.
àA flow that is called by another flow is known as a subflow, the calling flow is called
    parent flow.

2.      What is a screen flow, why it is used?
A series of forms that each require only one or few questions to be answered. After submitting a form, user receives with another simple forms with more fields that my depend on previous answers. At any point user can go to previous forms to review or change previous answers.
To make a screen flow, create a new flow rule and select screen flow in the Template field.

3.       Can we start an application with a screen flow? If yes, how? If no, why?
A screen flow rule can’t be a starter flow rule. Use the regular flow to create WorkObject.
Call the screen flow as sub flow
we can’t start an application with a screen flow because “Create New Object” option is disabled under process tab.
A screen flow can operate on a temporary work object, this is never saved to Data Base.
In screen flow Flowactions are referenced by assignment shape rather than connectors.

4.      How can we call one flow from another flow?
By using subflow shape. Just drag a subflow shape and fill in appropriate values ,depending upon what we choose among “On Current Work item”, “On Another Work Item” or “On Embedded Page”.



5.       When do we say that a work object is resolved? Can a work object be resolved manually?
When the flow reached the end shape, the work object gets resolved.
Manually it can be resolved through UpdateStatus activity and provide the values for “StatusWork” parameter as Resolved.

6.      How to restrict a flow to particular users?
      By using privileges and when conditions under process tab of the flow instance.


Related Links:







1 comment: