Is is possible to update/change the pyID of the WorkObject after the creation of WorkObject ?
Thanks
Is is possible to update/change the pyID of the WorkObject after the creation of WorkObject ?
Thanks
Hi @AbhishekC1725,
You can’t update the pyID of the Existing WO.
pyID will be the primary key for all cases
--------------------------Scenario 1------------------------
If you have DB access, if you update the pyID of the existing WO, e.g., W-1234, then if you update W-4321, it will update the record and save it. It will not cause any errors.
Once back to case instances, you can see, Updated in the Case Instances Updated pyID: W-4321, These things come from the DB, because they must have used the RD in case instances.
Then As as you open the case then if you open the clipbaord, You can see pyID still W-1234 (Beacuse pyWorkPage All ways load the data from the BLOB), then you submit case, the Updated pyID(W-4321) will overridden and It will show the Original pyID(W-1234) in your case instances.
--------------------------Scenario 2------------------------
If you are trying to update the pyID of the existing WO through Pega by using Obj-Open, then if you update the pyID, it will never update; it will create a new WO.
I hope this help you.
Thanks,
Ashok
@Bhumireddy Thanks for response