Posted: 17 Apr 2015 9:11 EDT Last activity: 4 May 2015 9:33 EDT
Advanced tab on data type page
I'm learning Pega 7.1.7 and I don't understand the parameters on the "Advanced" tab on "Data Type" pages. For data type ORG-MyApp-Data-T, what are the rules in "Context for new rules"? What does "updating rules" mean?
I read the help  but I didn't understand it either.
The data designer supports the creation, deletion, and updating of rules (e.g. properties on the definition tab). In order for the system to know where to put updated rules and new rules, it uses the settings you set on the advanced tab. Context for new rules sets the location for new rules and context for updating rules sets the location for updates.
When we import a csv file via import action on Records tab, i need to perform validation before saving the records to data base. I'm able to perform validations when i enter a record directly on Records tab. But my requirement is to do the same when i import csv file.
I have seen all the rules getting called are final... I dont want to go with customizing all the rules... Is this a product bug missing validations while importing csv file...or do we have any other alternatives?
The csv import process applies the same type validations to the data as it would if you were entering it via the Pega UI. Any validation errors are shown on the import screen. Are you noticing different behavior?
I'm calling the Validate activity in my Data-ABC class, which will validate when the instances are saved. When I enter records directly on Records tab like adding new records.... my validate activity getting called and it validates as expected.
But when i import through csv file, even if i enter wrong data my activity doesn't get called and no errors displayed and data gets saved into DB. After saving, when i edit that record by click, then i try to save it validates there.