Friday, 3 May 2019

Screen Flow in Pega


Screen Flow in Pega


Screen Flow is used when we have to capture large amount of data. We can divide large content into smaller separate screen and we can integrate those separate screen into a Screen Flow.

Configuring Screen Flow is easy task. Lets see how to do that.

Creating Screen Flow:

There are two type of Flow
  1. Screen Flow
  2. Starter Flow


We can click in +Create select Process-> Flow to open a new instance rule.
In Apply to provide the class name in which we want to create the flow and in Label provide the Flow Name.

On Clicking the link "Remove additional configuration options" Below layout will display. There we have select "Standard template for screen flows" to create screen flow.


In Screen flow flow action will be in assignment not in connector, lets check that.

I clicked on the assignment(Perform Task) in the pop-up you can see the flow action name. So this flow is confirmed as screen flow :)


Added fresh 4 assignments . Lets add flow action in each assignment.

Added flow action in each assignment and saved the flow.

Normally after processing each assignment a commit operation will be performed . This will write multiple time to db when user switch between assignments while processing the flow.

There is a option to write to db only on completing the flow. That option will be there in start shape of the screen flow.
In the above Image you can see "Save on last Step". If you checked this the data will commit to db on last step. It is best practice to check "Allow errors" when checking "Save on last step".

Lets run the flow and view the UI of the screen flow.
Here is the screen flow that we expected.😊. 


Lets change the Harness of screen Flow from TabbedScreenFlow to TreeNavigation7 and check the UI Difference.

Lets check its UI.


I learnt Screen Flow today. Hope you also understand about this. Thank you for reading :)

4 comments:

  1. thank you for sharing good information you can thought your web site pega online traning

    ReplyDelete
  2. I like reading you blogs thank you for you hard work.
    One question if I have 5 assign. in a screen flow, a user is working on 3rd assign. suddenly some system or power failure is there.
    How to restore the session?
    Thanks in Advance.

    ReplyDelete

  3. Very good article! We will be linking to this particularly great post on our website. Keep up the good writing.
    However, stopping by with great quality writing, it's hard to see any good blog today.
    wincracker.com
    ScreenFlow Crack
    IPVanish VPN Crack
    Rhinoceros Crack
    Avocode Crack

    ReplyDelete
  4. Thank you very much Nice work, Keep up the good work

    ReplyDelete