Not able to Approve/Reject a work item

book

Article ID: 195110

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

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."

Cause

Some information was deleted from Task Persistence database, the option is to update the WorkPoint database manually.

Environment

Identity Manager 14.x

Resolution

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
e.g.https://<IdM-Server>/iam/im/identityEnv/ui7/index.jsp?task.nest.wfitem=1+4+79%3AWPDS
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;

commit;