Question
1
Replies
286
Views
Posted: September 15, 2017
Last activity: September 18, 2017
Closed
Work Party Employee cannot be created in System Architect Essentials-Create Work Party Exercise
The work party is not created but the details are populated in the pyWorkPage>pyWorkParty>pyWorkParty(Employee)
The following problem flow displays:
Flow
CreateEmployeeRecord_1
Step
Collect Employee Info(Utility1)
Error
com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-ACTIVITY' with the name 'WORKPARTYRETRIEVE' that applies to 'TGB-HRApps-Data-Employee'. There were 7 rules with this name in the rulebase, but none matched this request. The 7 rules named 'WORKPARTYRETRIEVE' defined in the rulebase are:
7 unrelated to applies-to class 'TGB-HRApps-Data-Employee', for example: {Data-Party-Operator, Data-Party-Person, Data-Party}.
7 unrelated to applies-to class 'TGB-HRApps-Data-Employee', for example: {Data-Party-Operator, Data-Party-Person, Data-Party}.
There is also no pyWorkParty(Owner) page that is defined.
I am a beginner, so can someone help me with this?
Hello,
The WorkPartyRetrieve activity is an out of the box activity that is called as part of the addWorkObjectParty activity processing steps. I suspect the error you are running into is due to one of two things. A) the pyCaseManagementDefault work party rule was not checked out and checked back in with the Employee Party added to it. B) the utility you configured in the employee record flow has an error in the parameters entered. Please check both locations and confirm they are correct. Regards, Tara Self Study Support Team