Hello Deepak,
You should start looking for the type of opened work items and then act accordingly. It could be a case that most of them be either from irrelevant certifications, or unactioned remediation, or approvals for terminated identities etc.
select type,COUNT(type) as type_count from IDENTITYIQ.spt_work_item where state is NULL group by type;
Based on the result, analyse each type -
Let’s say for Certification
select FROM_UNIXTIME(wi.created/1000,'%Y-%m-%d') as created,FROM_UNIXTIME(wi.modified/1000,'%Y-%m-%d') as modified,wi.name,wi.description,wi.type,wi.state,wc.name workflow_case_name,wi.attributes,id.name owner
from IDENTITYIQ.spt_work_item as wi,IDENTITYIQ.spt_identity as id,IDENTITYIQ.spt_workflow_case as wc
where wi.state is NULL and wi.owner=id.id and id.name='spadmin' and certification is NULL and wi.workflow_case=wc.id;
For Items not related with certs-
select FROM_UNIXTIME(wi.created/1000,'%Y-%m-%d') as created,FROM_UNIXTIME(wi.modified/1000,'%Y-%m-%d') as modified,wi.name,wi.description,wi.type,wi.state,cert.name cert_name,wi.certification,wi.attributes,id.name owner
from IDENTITYIQ.spt_work_item as wi,IDENTITYIQ.spt_identity as id,IDENTITYIQ.spt_certification as cert
where wi.state is NULL and wi.owner=id.id and id.name='spadmin' and certification is NOT NULL and wi.certification=cert.id
Now extract the required value from attributes column
Assuming MySQL as database, if any other, please review and modify the query.