Scenario:
2021-02-03 07:55:54,466 ERROR [iamframework.webservices] (default task-82) Cannot determine approval scope: [facility=4 severity=2 reason=0 status=38 message=No items found]
at com.netegrity.llsdk6.imsimpl.provider.ApprovalPolicyProviderImpl.findByTag(ApprovalPolicyProviderImpl.java:174) [imsapi6.jar:]
at com.netegrity.llsdk6.imsimpl.provider.ApprovalPolicyProviderImpl.getApprovalPolicy(ApprovalPolicyProviderImpl.java:85) [imsapi6.jar:]
at com.netegrity.ims.util.WorkflowApprovalPolicyHelper.getApprovalPolicy(WorkflowApprovalPolicyHelper.java:228) [ims.jar:]
at com.netegrity.ims.util.WorkflowApprovalPolicyHelper.getScopedAttributesForWorkitem(WorkflowApprovalPolicyHelper.java:356) [ims.jar:]
at com.ca.iamframework.webservices.api.ApprovalResource.checkApprovalTaskScreenForRuleBasedWF(ApprovalResource.java:906) [portal-ws.jar:]
at com.ca.iamframework.webservices.api.ApprovalResource.internalGetData(ApprovalResource.java:541) [portal-ws.jar:]
at com.ca.iamframework.webservices.api.ApprovalResource.runAction(ApprovalResource.java:243) [portal-ws.jar:]
at sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source) [:1.8.0_212]
...
May also show this error message:
2021-02-03 07:55:54,469 ERROR [iamframework.webservices] (default task-82) Workitem isn't assigned for user
Release : 14.3
Component : CA IDENTITY SUITE (VIRTUAL APPLIANCE)
This is working as expected.
Before changing the workflow policy from "Policy-based" to "Non-Policy based" all the pending work items must be cleared.
If pending work items are not cleared an attempt to approve after changing from "Policy-based" to "Non-Policy based" will result in an error.
Newly generated work items will work fine.