This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Scripted Generic UNS Connector: Call VI_UNSAccountInGroup_Generic_Del at account deletion

Hello all,

We are using the scripted UNS Generic Connector for adding/removing entitlements to accounts (version 7.1.1).
That means we are using the "VI_UNSAccountInGroup_Generic_Add" and "VI_UNSAccountInGroup_Generic_Del" processes for calling our own scripts to add/remove entitlements to the account in our target system.
We are not using the "VI_UNSAccount_Generic", because our use case is only to add/remove entitlements and not create/delete the accounts.

This is working fine for the most use cases. However if we delete an UNSAccountB which still have entitlements assigned, the VI_UNSAccountInGroup_Generic_Del process is not triggered. Reason is that the event assigned to the process is "REMOVE", but the event triggered in this case is "DELETE".

Our goal is, that if an account with assigned entitlements will be deleted, the entitlements from the account should be removed on the target system as well (the VI_UNSAccountInGroup_Generic_Del is called) .

What is the best solution for this problem?
- Is there a standard way to handle this?
- Do we have to handle this in the script, that is triggered with the " VI_UNSAccount_Generic" process?
- Do we have to add an process step to VI_UNSAccountB_Generic process to remove all the entries from "UNSAccountBInUNSGroupB" before?
- Do we have to add the delete event to the proccess. However at this time we no longer have the reference to the UNSAccountB, because it is already deleted..

Thanks and regards
Chris