Activities labels

Hi,

I would like to know if activities steps which have labels can only be processed following an earlier-numbered precondition or a transition.

Else, what are the others prerequesites scenarii under which labeled steps in activities can be accessed?

Thanks in advance

@RusselK1

Sorry I’m not sure to get your question here. Can you add a screen shot maybe? what platform version is it?

@MarcLasserre_GCS

Consider the following screenshots. The conditions are in the activity step 4.1

Let’s assume a scenario where the first condition return false in the 4.1 step. I guess it will cause the step 4.1 to be skipped. What is then the next step to be processed (Step 4.2 -labelled as TBN4- or step 4.3) and why?

As far as I am concerned, I think the next step to be processed after 4.1 if the preconditions fail is 4.3 because the step 4.2 is labelled and can only be processed following an early numbered precondition or transistion (the one in 4.1 in our situation which fail according to our scenario)

I would be even more clear for me if someone can explain me in detail what means that logic at run-time

Russel | Junior Pega Engineer

@RusselK1

Activity steps are executed from top to bottom and before each step is executed the pre conditions(i.e when conditions) are checked. If those evaluate to true, then the step will be executed else the current step will be skipped. So In your scenario 4.1 will be skipped and the next step 4.2 will be executed.