How do you complete or re-attempt failed provisioning tasks

Hi All,
If a modify operation has been perfomed, and subsequent provisioning tasks failed, is there a way to get IdM to go back and attempt to complete the failed task and remaining tasks.
For example, when the MX_VALIDTO attribute changes we call an event task to determine if MX_DISABLED should be set or not. This task is a generic pass which executes some logic which evaluates other attributes. This step failed because we caused an error to be raised due to an unexpected value in one of those other attributes.
We have now modified the logic in the script and want to 're-provision' the failed task without triggering a new change on the identity.
I know about the uRetryPrivilegeAdd and uRetryPrivilegeRemove internal functions, but it seems as if these only deal with cases where privilege assignment had failed. Is there something similar that will reconcile and clean up failed task heirarchies where it is just attribute / entry modifications rather than privilege assignments.
Regards
Paul

Hi Paul,
Hope all is going well with your project, the two bits of code you need for this are:
Find all the failed privileges for an Identity
var sql = "SELECT MSKEY,aValue,provstatus FROM MXPV_Priv_AddStatus WHERE (MSKEY = " +V_MSKEY +" and (ProvStatus = 1001 or ProvStatus = 1101))";
sqlresult = uSelect(sql);
This will give you a load of pairs of failed MSKEY - identity and aValue - privilege, which you need to split into strings via an array and then into values, and you can then retry using
retry = uRetryPrivilegeAdd(provmskey,provavalue);
I've put the full code on http://sap-idm.blogspot.com/2011/01/retrying-failed-provisioning-tasks-in.html in case you need more information.
Good luck,
Ian Daniel

Similar Messages

  • Use of BAT file - How do you completely delete 150 phones and their associate DNs?

    How do you completely delete 150 phones and their associate DNs? All the phones are in the same device pool. I prefer BAT way.
    Version of the CUCM: 8.6.2
    Type of phones: 7962 phones - associated with the same device pool.
    Additinal questions: Is there a way to delete elegantly all the phones and their associated DNs when all the phones are associated to the same device pool? I rather not work with specific extensions and MAC addresses.
    Thank you,
    Calin Lupas

    Hi Calin,
    Using BAT this will require 2 - passes. 1 for the phones and 1 for "unassigned DN's". this is nicely shown in the attached doc;
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/bat/8_0_1/bat-801-cm/t03delph.html#wp1342774
    Of course for the DN's you could delete them via the Route Plan report>Unassigned DN>select all>Delete
    Cheers!
    Rob

  • How do you complete this transaction and were do you do it?

    How do you complete this transaction and were do you do it?

    It might help if you mentioned which transaction you are referring to...
    There are some very clever people here, but as far as I know, none are mind readers.

  • How do you COMPLETELY remove EVERYTHING "googled" from your system?

    Help please....
        How do you  COMPLETELY remove EVERYTHING "google" from you're system PLEASE  !
    Including in key chain ?   Thank You Greatly in advance ...
    <Re-Titled By Host>

    I think I finally got rid of it.  I searched drive C for "beats" and "beat" and erased all of them that appeared to be related to Beats Audio.  I had to do that three times, each time deleting any Beats files tht showed up in a search.  Finally, after the third boot, nothing showed up in the search.  My audio is working just fine, and no more Beats Audio.  I imagine I could still run Beats through the motherboard but, as long as i don't try to run Beats, it's no longer automatically loading at boot.
    Thanks for your time.

  • How do you completely erase Apple Server as if it never existed?

    How do you completely erase Apple Server as if it never existed? I keep having issues with my Apple server so I want  to erase it as if it never existed. I have tried doing  "sudo rm /var/db/.ServerSetupDone" but it still saves settings from before. I just want it to install as if it never has been set up before on my iMac.
    Thank You

    Move the Server application to the Trash. Delete the following items (some may not exist):
    /.ServerBackups
    /var/db/.ServerSetupDone
    /Library/Preferences/com.apple.serverd.plist
    /Library/Preferences/com.apple.servermgr_accounts.plist
    /Library/Preferences/com.apple.servermgr_certs.plist
    /Library/Preferences/com.apple.servermgr_info.plist
    /Library/Preferences/com.apple.servermgrd.plist
    /Library/PrivilegedHelperTools/com.apple.serverd
    /Library/Server

  • HT4314 How do you completely remove "Game Center" from an iPad?

    How do you completely remove “Game Center” from an iPad? Disabling Game Center is a joke because even after you disable it, it continues to reappear frequently prior to your game and “Demands” your attention before it allows you to play your game, this is very annoying. Also, if you are off the grid (e.g.: OCONUS) with no connectivity and the “Game Center” pops up you are blocked from playing your game(s) entirely with no recourse to include being blocked from doing the Game Center multiscreen dance of Canceling and finally Disabling Game Center (yup, they have a button for it on one of the last popup screens But that button to Disable it is completely ineffective because Game Center will still reappear in a day or so). Kindly note that I play single player games like solitaire that should not require the Game Center and some apple tech agree. Apple support techs also have not been helpful with my “Case” number. And no, under the General Settings even when you switch off both Game Center toggles it still overrides them et al. I bought this iPad because it looked like something fun to do and it is BUT I ignored the warnings that it would be a socially invasive toy with a forced unalterable protocol; next time should I listen more closely? Thanks for any understanding and assistance.
    Device: iPad 3G (iPad3,2)
    iOS version: 6.1.2

    Let apple know how you feel
    http://www.apple.com/feedback/
    beyond that your only recourse is to look for games that are not game center games and only use those. The ability to disable game center was removed with iOS6 I believe. All you can do is block multiplayer games and game invites. Everything else is unalterable.

  • How can you change the display size on the task bar

    how do you change the display size on the task bar

    If, however, you want to change the size of the display of the menubar, meaning make the icons and text larger, there is no way to do that directly other than to change the resolution of the screen.
    You can change the as-viewed size of that temporarily by using either -
    • Mouse zoom - if you have a Magic Mouse (Apple wireless mouse), hold down the Control key and use the scroll up and scroll down finger gestures on the mouse.
    • Zoom - go to System Preferences > Universal Access > Seeing and turn on Zoom. You can also use the noted keyboard shortcut to enable/disable this Zoom feature.

  • How do you COMPLETELY Remove Programs?

    Is there a way to completely remove a Program and all of its traces?
    I have a program (Sorenson Squeeze) and I installed the Trial Version and it immediately says that my Trial has expired. The companies support, Sorenson, told me to remove the program and all traces of it and then reinstall and all should be well.
    In Windows you can Uninstall and do a RegEdit to get rid of everything. How do you do the same in OSX?

    Hi, Lamont.
    See my "Uninstalling applications" FAQ for important advice on uninstalling software.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • HT1451 how do you completely move a account to another computer

    how do you move a account from one computer to another. 
    the one it is on know I do not use anymore and wanna put it on another

    If you are referring to your iTunes Library...
    See Here...
    iTunes: How to move your music to a new computer
    Or...
    From your OLD computer...
    Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
    Full Details Here  >  http://support.apple.com/kb/HT1751
    An Added Bonus is that you will have a Backup of iTunes.

  • Web Code Review - How do you complete it?

    We have been using VSO and VS2013 for a while now and can happily complete code reviews in visual Studio. The code review email offers a link to perform the code review online via Web Access. I can open the review and see all the changes but I cannot find
    how to complete with an outcome eg "Looks Good" - is this possible?

    Forgotten RESTRICTIONS Passcode
    - Place the iOS device in Recovery Mode and restore via iTunes. For how to restore: iTunes: Restoring iOS software
    You have to either:
    - Restore from a backup that was make before you added the Restrictions passcode. If you restore from a backup made with the Restrictions passcode the Restrictions passcode is also restored.
    - Restore to factory settings/new iPod

  • How do you completely delete a default referral?

    I have installed iPlanet Directory Server 5.0 SP1 on both Solaris 8 and NT4.
    From the Configuration tab in Console, I setup a default referral from Server A to Server B
    and vice versa.
    After performing some tests/searches with the referrals, I wanted to delete them.
    When I viewed the 'Referrals to' field in the Configuration tab it appeared empty, even though
    I had setup the referrals there.
    When I looked at the dse.ldif file in the slapd-<server>/config directory on both Server A and Server B, I noticed that it contained an nsslapd-referral entry for the referral to the other server.
    To delete the referrals, I opened the cn=config entry (through Console) in each server and deleted the
    nsslapd-referral value, even though it appeared empty. After doing this, the entry no longer appeared in
    the dse.ldif file.
    I thought that I had removed the referral, but when I attempted to create a replica between Server A (master) and Server B (consumer) later on, the referral to Server A re-appeared in the 'Referrals' tab of the replica database.
    I do not know where this information is being pulled from. Has anyone else seen this behaviour or know what step I am missing to completely remove the referral?
    Thanks in advance for any help you can give.

    I am having the same problem, but I am trying to set up two MM for read/write. If MM1 goes off line and come back on, the referral return and one server become read only because of this. Where else is the referrals set, I knowit is in cn=mapping tree, o=ser.com, the dse.ldif, the dsestart.ldif and the config\data\database\referral...but is there another place it could be pulling the referal from? Please help.

  • How do you completely deactivate private browsing so no one can use it?

    Is there a way that you can put a password on private browsing? Or is there a way to erase the private browsing completely so no one can use it? Or is there a way to view what has been searched under private browsing?

    From resident expert - the-edmeister "No it can't be removed." He specifically warns against using a method suggested in Yahoo Answers which will break Firefox security features.
    Depending on user skills e.g. if a child is over about 8 he can download and uninstall versions of any browser including another Firefox in no time flat. A password on your computer is about the only solution. There are ways around any method I've heard of.
    If we are talking about children, the usual suggestion is to have them working(with headphones) near the family.
    For more discussion try the Search Firefox Help box above.

  • How can you complete a form?

    I converted a PDF document to Word Document.  Our vendor sent a request form for Information needed from our company.  I could not complete the form to submit the information.
    I will have to print the form and fill out by hand.  Why can't I just type in the information? i could have just printed the PDF and completed the form.

    Hi lawsonbonet,
    I believe you may have some misconceptions about the capabilities of the ExportPDF service.  ExportPDF allows you to convert PDF files to Word documents that you can then edit.  This service will not convert make the PDF file into a fillable form.  You'll still be limited by the format structure of the content within Word.  To convert a PDF file into a fillable form, you'll want to look at Adobe Acrobat.
    If you ever need immediate support for your ExportPDF subscription, our support staff would be happy to assist!  Please visit: http://helpx.adobe.com/contact/
    Please let me know if you have any questions.
    -David

  • How do you completely disable the installation and use of add-ons for firefox 4? Is there a config setting/file that can be changed to completely disable add-ons?

    I want to completley disable the installation and/or use of add-ons in Firefox 4. I don't want anybody that logs onto either of my computers to be able to use add-ons and I can't find a way to disable it in the configuration files. I've found ways to lock down other options like updates etc. but I cannot find a way to completely disable add-ons.

    See:
    * http://kb.mozillazine.org/Locking_preferences
    You can use a mozilla.cfg file to lock prefs or specify default values.<br />
    You can place a file local-settings.js in the defaults\pref folder to specify using mozilla.cfg.
    You can use these functions in mozilla.cfg:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes
    lockPref(); // lock pref, disallow changes
    To prevent users from installing software use:
    <pre><nowiki> //
    lockPref("xpinstall.enabled" ,false);
    </nowiki></pre>

  • How do you COMPLETELY uninstall Itunes AND the Settings too??

    Hi,
    I am having some troubles with itunes and I was told to uninstall it and then reinstall it again. However whenever I do this the previous settings are still there. I need to COMPLETELY uninstall the program and also ALL of the settings.
    My iphone settings are messed up and it is synching with some other calendar, so I need to uninstall the program and then also erase the files where the settings for this are stored. It is not doing it becuase when I reinstalled the program my old settings were still there, I did not have to redo anything.
    Thanks so much for all of your help.
    Charles

    Hi,
    Thanks again.
    I tried that last night. I uninstalled Itunes, I removed all of the "settings" files on the application folder. Then I reset the iphone and erased all data.
    While it did erase the playlist and videos and photo information, the MAIL and CONTACT Sync info remained there. I cant get rid of that info for some reason.
    Its wierd becuase when I synch my ipod the calendar and contact sync's fine. But with the iphone only the contacts sync not the calendar. It is sync'ing to some other calendar somewhere else and I cant find it. I just need to reset the settings and it will be fine.
    Do you have any other ideas. Thanks so much.
    Charles

Maybe you are looking for