Hi Sailors, experiencing one issue in IdentityIQ where, for certain access requests that generate approval work items, the system creates a taskResultId but the corresponding TaskResult object is not found in the IdentityIQ database - taskresults table. Only the WorkflowCase is created successfully and has the reference in workflow case the task result id.
As a result, approvers are unable to take action on some approval work items. When attempting to approve, the system displays the error:
“WorkflowCase without corresponding TaskResult.”
This issue appears intermittently and is affecting specific users and access request types. It results in:
Missing TaskResult records despite a taskResultId being generated
Workflow cases becoming incomplete or orphaned
Approvers being blocked from completing their assigned work items due to the missing TaskResult linkage. its intermittent so not a code issue. some times the access request has the task result id and also task result object also is present.
any leads on what could be root cause or reason for this.
@vinnysail Do you have any custom script to prune the task results? Normally pending workflow associated task results, can be cleaned up by deleting the workflowcases. Please check and share the details for further assistance.
Hi @vinnysail Check how many days your organization’s task result retention policy is, and you can find it under Global Settings → IdentityIQ Settings → Miscellaneous → Days before task result deletion:.