What's diff btw running steps in one and more flows inside a stage

Hi, assume below scenario:

in a case type, in stage A, below 2 configurations may be used:

(1) Only one process(flow) in it, P1, which include 3 steps, S1, S2 and S3, running in sequence.

(2) Two processes (flows) in it, named P1 and P2, and P2 is set to start after P1. Two steps in P1: S1, S2. One step in P2: S3.

My question is, what’s diff btw (1) & (2) in view of their effect? In both, the running sequence are same: S1->S2->S3, thanks.

Hi @MaxonL16591286: In your case, the outcome will be same. But it is recommended to create process which gives a business outcome or a defined part of it.

For example, if your business case is to review a job application, you can create a sequential process that includes the following tasks:

  • Prepare interview questions
  • Conduct the interview
  • Prepare the candidate’s assessment

Ref: Pegasystems Documentation

With a defined objective process, you will be able to reuse it in multiple touch points. Also you can make use of parallel processing (Parallel processing | Pega Academy) and conditional processing.

Overall, follow best practices when creating a flow/process to get better outcome.

Thanks

@MaxonL16591286

Yes but there may be some scenarios where the steps may not be sequential and some Flows can be reusable .

Lets consider you have Process Flow with Step.1.Utility to Update Step 2. Assignment to show the data.

This Flow can be called in the different stages without adding the same steps again and again.

Stage 1.

Capture Information- Steps-Collect Info and Update Flow to save the details into DB

Stage 2

Validate Information

Stage 3

Update The information - Update the info and then call the Same Update Flow

So, this is one of the scenario why we have to maintain the process with specific no of steps