Hi Sandipan,
Have you looked at using TEWS SOAP queries in PX Action to perform actions on the Identity Manager users?
Make sure your Delete User task is enabled for Web Services. Then just put a SOAP action in your Policy xPress Action. Make sure you use the right IP address for your IM server in the WSDL URL. Below please find a PX action screenshot and Delete User SOAP XML to put in the SOAP request message (make sure you update the credentials, IP addresses, IM environment and other information specific to your IM environment).
below is the SOAP Message (replace IM user credentials with the correct ones). The user I am deleting in the below example has the userid of test11, you can use the variables here as in the rest of the policy xpress actions. for example if your variable is getUserID, then put <ns1:Value>{'getUserID'}</ns1:Value> instead of <ns1:Value>test11</ns1:Value> in the below SOAP action:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<admin_id xmlns="http://tews6/xsd/types">imadmin</admin_id>
<admin_password xmlns="http://tews6/xsd/types">test</admin_password>
<DeleteUser xmlns="http://tews6/xsd/DeleteUser">
<ns1:DeleteUserSearch xmlns:ns1="http://tews6/xsd/DeleteUserSearch">
<ns1:Filter index="0">
<ns1:Field>%USER_ID%</ns1:Field>
<ns1:Op>EQUALS</ns1:Op>
<ns1:Value>test11</ns1:Value>
</ns1:Filter>
<ns1:Group xsi:nil="true"/>
</ns1:DeleteUserSearch>
</DeleteUser>
</soapenv:Body>
</soapenv:Envelope>
KR
Russi