120k views
4 votes
When is pyDefault created, and how does pyDefault create pySetFieldDefaults?

a) Created during case execution; Invoked explicitly
b) Created during rule resolution; Invoked implicitly
c) Created during case creation; Invoked explicitly
d) Created during rule execution; Invoked implicitly

1 Answer

1 vote

Final answer:

Option (C), pyDefault is created during case creation and is invoked implicitly to initialize the case with default values, where it typically triggers pySetFieldDefaults data transform.

Step-by-step explanation:

The rule pyDefault is created during case creation and is invoked implicitly to set default values for properties when a case is instantiated. It is not something that needs to be explicitly called. During the processing of pyDefault, the pySetFieldDefaults data transform is typically called implicitly as well to set default values for fields; this is part of the Pega Platform's case processing mechanism. Therefore, the correct response is c) Created during case creation; Invoked implicitly.

User Smercer
by
7.8k points