Hi Sandipan, In addition to what Andrew has already indicated, do you know that you can also use Bulk Tasks (under System menu) in CA Identity Manager to delete users that match specific criteria? Below sample bulk task configuration:


If, for whatever reason, you still need to trigger this through policy xpress, I would perform the following steps:
1. Get the IM users that meet your conditions by using LDAP source in Policy Xpress Data Sources. See below the screenshot of my LDAP query configuration for my IM user store instance (As you can see from the test that I ran on this LDAP query I am getting back the following result "banry01^fozen01^krahe01^talel01^thaed01"

2. Iterate each entry (Policy xPress, Data tab, System, List Iterator). This will split the multiple UIDs returned by the LDAP query into individual user uid entries.
3. Execute TEWS (web services) for delete user as I have explained to you in another post: Delete User Admin Task using Policy Express . Make sure you have web services enabled for your Delete User task. your filter becomes something like this (where {'IterateUsers'} is the name of the variable where you are putting list Iterator results from step 2 above)
<ns1:Filter index="0">
<ns1:Field>%USER_ID%</ns1:Field>
<ns1:Op>EQUALS</ns1:Op>
<ns1:Value>{'IterateUsers'}</ns1:Value>
</ns1:Filter>

I hope this helps
KR
Russi