'GeneralFail' execution error on page 'pyWorkPage' of class 'TGB-HRApps-Work-Onboarding'
I'm new in Pega. I'm getting the error after creating new Onboarding case
'GeneralFail' execution error on page 'pyWorkPage' of class 'TGB-HRApps-Work-Onboarding'. : Problem in JSP fragment
I had an issue before when I tried to add records to Assets data type. I recreated it. The records have been loaded using .csv file. I finished creating reference data for Facilities and IT and then the error occurs. What are the solutions?
P.S. Sorry for my English. It's not my native language
I created a post for same error: The error is because the fields are not displayed from the Employee class from the embedded section and left blank when you proceed the case. So to solve the error we must determine why the fields from the embedded section are not displayed
Not sure of solution however a workaround is to reference the properties from the Employee class directly rather than in the embedded section though this defeats reusability and does not figure out the reason for the error
The Employee page is defined at the work pool level not in Onboarding , but I think that is correct.
Are you available for a screen share session? I think they would prove to be the quickest way to resolve your issue. If so, please send an email to SelfStudySupport@pega.com and I'll be happy to set up a WebEx meeting.
Like Hedes recommend the solution is set the property .Employee.pxObjClass = "TGB-HRApps-Data-Employee",
Hedes told me where is located that option:
You can set it in the pySetFieldsDefaults data transform in the in TGB-HRApps-Work-Onboarding class. When the Onboarding case is instantiated it will reference the pyDefault data transform which in turn will reference the pySetFieldDefaults. In the pySetFieldsDefaults just add a row and set the target as .Employee.pxObjClass and the source as TGB-HRApps-Data-Employee.