Hi everyone,
Whenever I create a case, I notice that the values for the priority, status, created, and updated fields are automatically populated. I did not set these values myself. Can anyone explain where these values are coming from?
Hi everyone,
Whenever I create a case, I notice that the values for the priority, status, created, and updated fields are automatically populated. I did not set these values myself. Can anyone explain where these values are coming from?
@Kumar P,
You can check the data transform “pyDefault” of your work class. The values would be set in those data transform.Additionally, you can also set defautls for fields using data transform “pySetFieldDefaults” which is internally referred in above DT.
Hi @Kumar P
When creating a case type in Pega, a pyDefault data transform is automatically generated. By default, the “Super class data transform” checkbox is enabled in this data transform. This configuration ensures that Pega checks the inherited parent classes up to the base class, applying the appropriate data transformations from those classes. Consequently, fields such as priority, status, created, and updated are automatically populated based on these inherited data transforms
for Priority field: “pyUrgencyWork”
Status field: “pyStatusWork”
Created field: “pxCreateDateTime”
Updated field: “pxUpdateDateTime”