Quantcast
Channel: Software Communities : Popular Discussions - Dell One Identity Manager
Viewing all articles
Browse latest Browse all 845

Event listening from a script

$
0
0

Here is what I need to do.  Currently I have a process listening to the PersonWantsOrg table.  When a role removal happens I trigger one action in my script and when the account is actually deleted I trigger another action.  In my script I am doing query on PersonHasRessourceTotal table to see if the account has been removed from that table.  However, what I am noticing is that the timing doesn't seem to be working out right.  Meaning, when I test this it looks like my script is seeing that the PersonHasRessourceTotal record still exists.

 

Since this probably is a timing thing I don't want to include a pause.  Performance might very here.  I was thinking if there is a way I can tell from my script that is running on the PWO table if/when that PersonHasRessourceTotal that would work.

 

How does the product identify internally that this is the last role a person has and we need to remove the account?  I basically need to be able to tell if this is the last role the user has for this Ressource when they are request it to be deleted.

 

David


Viewing all articles
Browse latest Browse all 845

Trending Articles