Discussion

3
Replies
727
Views
Close popover
Luk Van Loon (LukV9699)
Proximus

Proximus
BE
LukV9699 Member since 2015 4 posts
Proximus
Posted: January 26, 2016
Last activity: January 28, 2016
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