When a user tries to Approve/Reject a work item from "View My Work List" receives an error message:
"Error: Cannot create a task session for the approval task."
Some information was deleted from Task Persistence database, the option is to update the WorkPoint database manually.
Identity Manager 14.x
Right-click on work-item you want to remove and select Copy Link Address, and paste it in a notepad
1. Confirm url for the request event in worklist
note down the value between 'task.wfitem=1+4+' and '%3AWPDS'.
in above case, the value is 79.
2. Connect to database and run following SQL to check the record
select * from WP_WORK_ITEM where ACTI_ID=79;
3. run following SQL to update the record ( work_state_id=5 means complete)
update WP_WORK_ITEM set work_state_id=5 where ACTI_ID=79;