Question
Evonsys
IN
Last activity: 7 Oct 2021 4:19 EDT
Work satus for pxForceCaseClose Not updated
we Browsing the pending cases from workbasket and close the cases using pxForceCaseClose . but the status not updated as what we given(Resolved) . they still remain as pending .
below steps are used to change the status .
1. obj-browse --
2. Loop over tempPage.pxResults
2.1. open-by-handle
2.2. Call pxForceCaseClose .
is there anything we need to do . ?
please suggest .

@GopalakrishnanIyyavu Resolved By Own .
if you face this kind of issue like pystatus work not updated after resolving the case using activity .
First check if you have dupliicate case for the same pzinskey . / same pyID .
if yes , then check the constraint on db table .& check if pzinskey is added as primary key in DB .
if not added pls add that .
in my scenario what happen is , the case status not updated when i use pxforcecaseclose method in activity .
it is inserting the new duplicate record instead of updating the existing record . this is due to unavailable of primarykey in the db table .
hope it helps .
Thanks