Issue- Remove/Delete Private Checkout Final Rule which is giving that operator contact to Admin error
Description-
Recently this issue we observed for one of our team mate. when that operator has tried to private edit one of the final rule ‘ReloadSection’ (in base class) in his private edit, when he saved this rule in private edit he was unable to do anything
we tried below 2 approaches
we tried to run the WBDelete Activitity under Rule- class by passing pzInskey of the private edited rule, but this did not work since it was saying “if its checkout by owner then only can delete”
we tried by following suggestions from below pdn posts
3. run activity Rule-.RMActionDeleteCheckedOut make sure we are selecting correct thread , pass the pzInsKey that we had retrieved from step 1. and execute this activity.
It’s not about the final rules; I am not sure exactly what the cause of the issue is.
But I can say the whole application is not working. I am able to login, but I am not able to perform anything after logging in. I have faced the same issue. In March,
The Very Simplest way is that Bulk Discard and Bulk Discard Will work perfectly. (Note: Normal Discard Will Not work)
I have tried another way, as I mentioned in the above discussion, and Bulk Discard is another option too.
@LondheGS Thank you so much for posting this - I unfortunately is experiencing the same issue.. I ran into below error while trying to execute RMActionDeleteCheckedOut
Activity Name
WBOPEN
Activity Number
36
Parameter Page Name
=unnamed=
Primary Page Class
@baseclass
Primary Page Name
TempOpenPage
Step Method
Java
Step Number
8
Step Status
FAIL
Step Status Info
trying to open with a key page that does not have .pxObjClass set: code: SQLState: Message:
Wondering if this happened to you too and how you resolved it?
@ChensuZ5 can you once check while running activity you are selecting appropriate thread name, thread name must be the rule name that was in private edit.
suppose ‘ReloadCell’ was rule in private edit , then you need to open that private edited rule(‘ReloadCell’ here in this example) in one tab of Dev studio, and run RMActionDeleteCheckedOutactivity with thread name selected as ‘ReloadCell’ and pass pzinskey of the private edited rule ‘ReloadCell’ and then run it , example shown in Step 3 (Do NOT select thread as Standard)
@LondheGS Thank you so much for the quick reply. I changed the thread to match the private edit rule, still no luck.
this is what I’ve tried:
login as a diff operator
get the pzinskey from the private edit xml file
private edit Delete rule, comment out step 3
run RMActionDeleteCheckedOut, select the private edit rule thread, run
Got a message on step 13 of WBDELETE rule says RunRecordPrimaryPage (Rule-)Info: Database-General trying to calculate the handle of a class whose instances may not be written to the database: Rule-
and the error on step 8 of WBOpen
Step Status Info
trying to open with a key page that does not have .pxObjClass set: code: SQLState: Message:
@ChensuZ5 looking at this seems like pzInskey of private edit rule is incorrect and because of that Step 3 in activity WBDelete which is Obj-Open-By-Handle is failing let me try this if i can replicate this and if i get this error or not.
@ChensuZ5 when we select the thread name as checkout rule name and Page to copy as class of that checked out rule name with activity tracer on it surely deletes that rule from check out, even though activity gives error can not lock object something , its strange but worked for me.