Discussion

3
Replies
719
Views
LukV9699 Member since 2015 4 posts
Proximus
Posted: 4 years ago
Last activity: 4 years 7 months ago
Closed

CheckForCustomWarnings Activity

Hi,

Regarding the LSA chapter 2 exercise:

The CheckForCustomWarnings activity is implemented using a local Parameter 'NrOfSteps' which is defined as a String Data Type.

In the activity itself a Check is done indicating: local.NumberOfSteps > 12

Where local.NumberOfSteps is defined trough a SizeOfPropertyList(.pySteps)

My assumption here is that the called method 'SizeOfPropertyList(.pySteps)' returns the number of pages from a page list, as an integer value.

Why is the local parameter  'NumberOfSteps' in the Activity defined as a String Data Type ?

Thanks in advance,

Kr,

Luk Van Loon

 

Pega Academy
Moderation Team has archived post
Share this page LinkedIn