Question

6
Replies
193
Views
Close popover
Chakri Payyavula (ChakriP8)
Accenture

Accenture
US
ChakriP8 Member since 2014 65 posts
Accenture
Posted: July 1, 2020
Last activity: August 1, 2020

pxTransferAssignment throws error -- Database-General error ... instances trying to calculate .... may not be written to Assign-

I am running the OOTB pxTransferAssignment as shown below to transfer an assignment to JohnGault@Gault.com.

When I run the activity I get the following message

info: Database-General trying to calculate the handle of a class whose instances may not be written to the database: Assign-

 

 

pxTransferAssignment  error

 

 

 

I do an Obj-Open-By-Handle on step 3.2 and let the OOTB pxTransferAssignment  to the Save and Commit. After the code runs, the assignment is indeed JohnGault's worklist but there is no Audit History on the WorkObject and this pop up that says info: Database-General trying to calculate the handle of a class whose instances may not be written to the database: Assign-

 

Assign Dash Error

 

From the message it seems to be that PEGA is trying to write to the Assign- DB table,  instead of the Assign-WorkList table.

I added a .pyNote property after I transfer the assignment (for unit testing) and that is empty which leads me to believe that the WO/Case is not getting saved an/or committed because of the message above, BUT somehow the assignment itself gets transferred. 

Can some one point out what the issue is ?

 

 

 

 

Pega Platform 8.3.1 Case Management Insurance System Administrator