Add a deprovisioning during an ongoing one

Hi, all!
Here's my problem. I have to deprovision one account when some other account is being deprovisioned. Using groups and roles is not an option. I am trying my luck in "Delete User" workflow. When it's called it is given the variable options which contains all the data about the accounts that need to go. I attempting to insert the values for the account that didn't come with the options variable. I have managed to create a ResourceInfo object and seem to be able to add it to options.targets, options.unlinkTargets and options.unassignTargets (trace='true' says so) but when I dump the options object using toXml nothing has changed and consequently the extra account is not deprovisioned. How should I go about this? Any clues? We are using Sun IdM 7.1.1.12.
Here are some code snippets:
Creating the ResourceInfo object:
<setvar name='RIobject'>
<new class='com.waveset.object.ResourceInfo'>
<concat>
<ref>resourceName</ref> --> theOtherResource
<s>|</s> --> |
<ref>accountId</ref> --> abc
</concat>
</new> abc@theOtherResource(accountGUID=null exists=false)
</setvar>
... appending and having the trace confirm it
<append>
<ref>options.targets</ref> --> [cn=abc,ou=MS Users,ou=User Accounts,dc=foo,dc=bar,dc=net@Windows(accountGUID=null exists=false)]
<ref>RIobject</ref> --> etc.
</append> --> [cn=abc,ou=MS Users,ou=User Accounts,dc=foo,dc=bar,dc=net@Windows(accountGUID=null exists=false), abc@theOtherResource(accountGUID=null exists=false)]
... but on the next line the toXml says it's not there:
<invoke name='toXml'>
<ref>options</ref> --> com.waveset.object.GenericObject@520c37
</invoke> --> <?xml version='1.0' encoding='UTF-8'?>
<Attribute name='targets'>
<List>
<ResourceInfo accountId='cn=abc,ou=MS Users,ou=User Accounts,dc=foo,dc=bar,dc=net' tempId='633ffabc068bfbb9:cb741e:12c78a22380:-3d6'>
<ObjectRef type='Resource' name='Windows'/>
</ResourceInfo>
</List>
</Attribute>
Tanks in advance.

I found the problem: it's just me being tired. I used the wrong form of append. It should be the one that does not create a copy of the list ie. <append name='options.targets'>. This way it all works out.
Good bye and thanks for all the fish.

Similar Messages

  • Not able to add driver update during Solaris 10 installation on IBM x3550

    I am facing a problem with installation of Solaris 10 on IBM x3550.
    My question is not specific to IBM server.
    I am trying to add SAS driver during Solaris 10 installation. I selected option "Apply device driver update" (option # 4). It is asking to insert driver disk. But only showing floppy (f) and cdrom (c).
    IBM server 3550 doesnt have floppy drive and I have the driver image only in a USB stick. Unfortunately, Solaris 10 installation is not showing usb device during driver installation.
    Is there any way we can add usb device to the driver update disk list??
    Thanks in advance.

    Does no one have an idea?

  • Is there a way to add a contact during a call?

    I can't seem to find any way to add a contact during a call except to make a call and then hang up, afterwards saving it in my missed calls. But frankly, I'd rather not waste one of my minutes.

    The only way i've found out doing is to enter the number in your notes and then entering the info on the phone at a later time. I'm not very convinced about this meathod but I guess it works. The apple people messed up on this little detail. But i'm happy with the phone despite.

  • How do I add multiple apple id's to one account

    How do I add multiple Apple id's to one account for billing and Icloud use?

    You don't. You can't combine Apple IDs.

  • Microsoft sharepoint foundation 2010 encountered an error during setup. One or more required Office components failed to complete successfully

    Dear
    I need yourhelp, I am installing Sharepoint foundation 2010 prerequisites OK,
    then to finish the installation get the following message"microsoft
    sharepoint foundation 2010 Encountered an error during setup. One or more required components failed to Office complete successfully"
    Operating System: Windows Server 2012R2
    Prerequisites: OK
    SharepointFoundation 2010sp2
    Many thanksforyour help
    part of LOG:
    01/16/2015 00:37:11  1  INF          Searching for registry key Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\CentralAdministrationURL
    01/16/2015 00:37:11  1  INF          Entering function RegistryHelper.RegistryHelper
    01/16/2015 00:37:11  1  INF            The RegistryHelper has the key name as Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS and the registry hive as LocalMachine
    01/16/2015 00:37:11  1  INF          Leaving function RegistryHelper.RegistryHelper
    01/16/2015 00:37:11  1  INF          Entering function RegistryHelper.GetStringValue
    01/16/2015 00:37:11  1  INF            Entering function RegistryHelper.GetValue
    01/16/2015 00:37:11  1  INF            Leaving function RegistryHelper.GetValue
    01/16/2015 00:37:11  1  INF          Leaving function RegistryHelper.GetStringValue
    01/16/2015 00:37:11  1  INF          The central admin registry name CentralAdministrationURL at HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS could not be found.  This means that either
    the server is not joined to a farm or a central admin site has not been created in the farm yet.
    01/16/2015 00:37:11  1  INF          Entering function StringResourceManager.GetResourceString
    01/16/2015 00:37:11  1  INF            Resource id to be retrieved is CantOpenCentralAdminSiteNotExists for language English (United States)
    01/16/2015 00:37:11  1  INF            Resource retrieved id CantOpenCentralAdminSiteNotExists is Cannot browse to the SharePoint Central Administration Web Application because a SharePoint Central Administration Web
    Application has not been created yet.  To create one, use the SharePoint Products Configuration Wizard.  Do you want to launch the configuration wizard now?
    01/16/2015 00:37:11  1  INF          Leaving function StringResourceManager.GetResourceString
    01/16/2015 00:37:11  1  INF          Entering function PsconfigMessageBox.ShowMessageBox
    01/16/2015 00:37:11  1  INF            Entering function StringResourceManager.GetResourceString
    01/16/2015 00:37:11  1  INF              Resource id to be retrieved is Branding for language English (United States)
    01/16/2015 00:37:11  1  INF              Resource retrieved id Branding is SharePoint Products Configuration Wizard
    01/16/2015 00:37:11  1  INF            Leaving function StringResourceManager.GetResourceString
    01/16/2015 00:37:23  1  INF          Leaving function UserInterface.ShowCentralAdmin
    01/16/2015 00:37:23  1  INF        Leaving function UserInterface.WarmUp
    01/16/2015 00:37:23  1  INF        Entering function TaskDriver.Stop
    01/16/2015 00:37:23  1  INF          Entering function TaskDriver.OnTaskDriverStop
    01/16/2015 00:37:23  1  INF            Sending a task driver stop event: TaskDriverEventArgs.EventCriticalityType error, TaskDriverEventArgs.EventType.stop, 
    01/16/2015 00:37:23  1  INF            Entering function TaskDriverStateChange.Enter
    01/16/2015 00:37:23  1  INF              Acquiring the writer lock to change the state
    01/16/2015 00:37:23  1  INF              Current state of the task driver is neverrun.  You want to change it to stoppedrunning
    01/16/2015 00:37:23  1  INF              Changed state of the task driver to neverrun
    01/16/2015 00:37:23  1  INF              Released the writer lock to change the state
    01/16/2015 00:37:23  1  INF            Leaving function TaskDriverStateChange.Enter
    01/16/2015 00:37:23  1  INF            Entering function TaskDriver.FireOnTaskDriverEvent
    01/16/2015 00:37:23  1  INF              Entering function UserInterface.TaskDriverEventHandler
    01/16/2015 00:37:23  1  INF                Received a TaskDriverEventHandler: TaskDriverEventArgs.EventCriticalityType error, TaskDriverEventArgs.EventType stop, message 
    01/16/2015 00:37:23  1  INF                There isn't a current visible user form or the current form is not handling events, so we will handle this task driver event
    01/16/2015 00:37:23  1  INF              Leaving function UserInterface.TaskDriverEventHandler
    01/16/2015 00:37:23  1  INF            Leaving function TaskDriver.FireOnTaskDriverEvent
    01/16/2015 00:37:23  1  INF          Leaving function TaskDriver.OnTaskDriverStop
    01/16/2015 00:37:23  1  INF        Leaving function TaskDriver.Stop
    01/16/2015 00:37:23  1  INF        UnLocking the task driver for exclusive use while warming the driver up
    01/16/2015 00:37:23  1  INF      Leaving function TaskDriver.WarmUp
    01/16/2015 00:37:23  1  INF      Entering function PsconfigApplicationContext.ClosePsconfigApplication
    01/16/2015 00:37:23  1  INF        The psconfig ui application is closing
    01/16/2015 00:37:23  1  INF        We have do not have a main form, thus the application has been told to close prior to showing the ui at all
    01/16/2015 00:37:23  1  INF      Leaving function PsconfigApplicationContext.ClosePsconfigApplication
    01/16/2015 00:37:23  1  INF      Return code indicates a success
    01/16/2015 00:37:23  1  INF    Leaving function PsconfigUserInterfaceMain.Main

    Hi Jose,
    When server 2012 will not allow pre-requisite to run, due to the ASP.NET 3.5 or 4.5, do this:
    Run, from admin command prompt:
    Dism /online /enable-feature /featurename:NetFx3 /All /Source:<drive>:\sources\sxs /LimitAccess
    you can read more here:
    http://www.sharepointpapa.com/blog/_layouts/15/start.aspx#/Lists/Posts/Post.aspx?ID=86
    Stacy www.sharepointpapa.com

  • How to add 2 Apple ID's to one libary

    HI, I'm trying to add 2 Apple ID's to one iTunes libary. My dad is currently log into my account but I want to create a new ID for him so we can FaceTime and just have separate accounts. The only thing is that he has spent hundreds on music in my libary which he would be really annoyed at loosing. Please can anyone tell me how to do this? It's driving me crazy that I can't figure it out! Thanks

    Just import the content to it. If you'd be downloading it from the iTunes Store, you may encounter a 90-day waiting period.
    (115996)

  • How do i add multiple hp 8600 printers to one account

    how do i add multiple hp 8600 printers to one account

    Hi rexdalehub,
    If you are referring to the ePrint Center, you can simply choose "Add a printer" to the right of your current printers tab.
    I was an HP employee.
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may select the "Kudos" button on any helpful post to give that person a quick thanks.

  • Add-mailboxfolderspermission to all folders, not one at a time

    I wanted to add folder permissions to a user but it seem you can only give permission to folders one a time. Bu I wanted to add permissions to all folders at one time, is there a parameter I can use ? Here is the example of adding permissions to the in Inbox
    and you have repeat this for other folders. Exchange 2010
    Add-MailboxFolderPermission -Identity
    [email protected]:\Inbox -User [email protected] -AccessRights Owner

    Hi,
    I’ve searched a lot and at this time, there is no a command that allows us to set folder permission for multiple folders at a time in Exchange server. I’d like to help you, but we just have single command lines here. Some scripts may help you to achieve
    this goal, in order to resolve your problem more efficiently, you can post to Script forum which is staffed by more experts specializing in this kind of problems to get better help.
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?category=scripting
    Thanks for your understanding.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Add Suppporting Details for more than one periods at the same time for the same Account in Planning.

    As we know, in planning form, we can add supporting details to one cell for the level 0 members intersections.
    But can we do that as below:
    add supporting details for more than one cells at the same time?
    I tried to do that in workspace and smartview, neither is working.(my workspace version 11.1.2.2.300.20)
    I wonder if i am not with the right version, because i don't know how to get the below.
    Can any one explain?
    Thank you.

    Hi,
    I have tried in Smartview for a simple form where my period dimension was in columns and accounts in rows.
    You need to select multiple period and select supporting details, it will show those selected period for which you can add the supporting details.
    You can add these details and then submit the data in the form.
    Regards,
    Sourabh

  • EXIT to change / add line items during STO PO creation in T.Code ME21N

    Hi
    Can somebody suggest me a EXIT or a BADI  to change / add line items during STO PO creation in T.Code ME21N.
    The requirement is as below.
    When the user enters a material no ( which has a BOM created in CS01), and presses enter or saves the PO, i need to get the sub components of the BOM and populate them as the next line items.
    This is because the user needs to create the delivery with reference to the PO. In the delivery, the BOM material needs to be populated with all the sub components of the BOM.
    I tried to do it using EXIT_SAPMM06E_013 in which i am able to change / add the line items in the XEKPO and YEKPO internal tables. The entries are available in the internal table when the EXIT is executed.
    But when the PO is posted internally, the item is not changed/added.
    Thanks in advance.
    Guna.

    Hi,
    Try BADI "ME_PROCESS_PO_CUST".
    cheers,

  • Microsoft SharePoint Server 2010 encountered an error during setup. One or more required office components failed to complete successfully.

    Hi,
    I got the below error while installing share point 2010 on Windows 7 OS.
    Microsoft SharePoint Server 2010 encountered an error during setup. One or more required office components failed to complete successfully.
    Trouble shooted by following link as below
    http://christopherborman.blogspot.in/2013/01/installing-sharepoint-2010-on-windows-7.html
    But still i am facing the same issue.Please share your inputs to cross this issue.
    Regards,
    Sudheer
    Thanks & Regards, Sudheer

    Hi,
    I selected Server Farm Mode,stand alone.
    Post that installation went fine.
    Regards,
    Sudheer 
    Thanks & Regards, Sudheer

  • ITunes will not allow me 2 add more than 3 songs at one time in2 my library

    iTunes won't allow me to add more than 3 songs at one time into my library. I just want to select a number of songs in 'My Music' folder on my pc and then add them in one go. I used to be able to on older versions of iTunes, but now it will only let me add 3 songs (using the 'add file to library' option), and no more then one (using the 'import' option). It's just very annoying as it takes aaages to add songs into my library, when it shouldn't. if anyone knows how to overcome this, please let me know! Thanks
    Message was edited by: 5Gmel

    how did u do it i've being trying for a long itme now and it takes forever to add music please share

  • HR CEE add-ons for different countries in one system

    Hello,
    is it possible to have HR CEE add-ons for different countries in one system?
    Will SAP system work properly? What kind of risks of these imports?
    Thank you very much.

    A couple of generic answers on add-ons
    - of course you can have several add-ons working on the same B1. To understand
    the details on how add-ons are started and maintained by B1 desktop pls refer
    to the e-learning available here on SDN
    - compatibility of add-ons. There is no generic answer to this, it depends on the
    functionality and implementation of the two add-ons. Anyway, if two add-ons are
    functionally independent and they follow the solution guidelines, then they should
    be interoperable. You can find the solution certification guidelines here on SDN
    under the ICC section: these rules cover points like namespaces, event handling,
    user table and form creation and so on that enforce interoperability.

  • Add fiscalyear./period field in one of the datasource

    I need your quick suggestion, how to create Function module and Write the code for a datasource. I want to add fiscalyear./period field in one of the datasource. please tell the logic which field and what table i will pick that. can you tell me the steps if i can create the function module and make alll enhancements in that FM for that datasource. Please write me quick step by step starting from se37 to create FM.
    also if you have any abap code to add fiscalyear./period in datasource.
    Will appreciate your help.
    thanks
    sincerely
    Soniya

    No need - just add fiscal year period to your cube and assign it cal day/posting date - whatever you want to calculate the fiscal period
    Then the automatic time conversion will take care of the rest
    You will need the fiscal year variant - if you don't have this - get it from the Company Code table in R3 (T001 or similar)

  • I have one playlist on iphone4. how can i add new playlist without deleting old one. i do not have old playlist in itunes any more.

    I have one playlist on iphone4. how can i add new playlist without deleting old one. i do not have old playlist in itunes any more.When i try to sync iphone with itunes it says that this action will remove my old playlist and all songs.

    "it says that this action will remove my old playlist and all songs."
    Are you connecting to a different iTunes library than you normally connect to?  That will erase the songs and playlists since the iPhone can't be connected to multiple libraries even if it is in manual sync mode.
    If you no longer have access to the original library that your iPhone calls 'home', then the only way to save the playlist (and the songs on your iPhone) would be to use a 3rd party application to extract your iPhone contents to this new iTunes library you're trying to connect to.

Maybe you are looking for

  • Ipad and iphone will not sync with a new Lenovo laptop

    My iphone and ipad synced contacts with a wire flawlessly until I changed to a new PC.  I work for Oracle so I cannot config to use iCloud.  I checked the Library Persistent ID on the new laptop and it is the same as the old one.  Do I need to wipe m

  • Incoming Invoice without FI posting

    Dear gurus, I had a PO document, for which I recieved the products with MIGO, and then did MIRO to enter the Invoice. The Invoice did not create any FI posting!!! but it was saved. when opening the document with MIR4, if I cklick on the "Follow-on do

  • Cell height adjusting in IE and causing problems

    Hello, Am I able to "lock" the dimensions of cells in a table? Please view the link provided below. I don't want the space between the text links on the left to stretch when content in the white box is longer. I would rather the links stay at the top

  • Layout issue with existing form

    Hi all, I have two Oracle 9i Environments. I want to take a custom form from environment A and copy it to environment B. So, I download the fmb from Env A, upload it to Env B and compile it. My problem is that although the form compiles successfully,

  • Dynamic Userid setting for RFC to SAP

    I would like to setup as Web Service through XI and then call a BAPI or RFC in my R/3.  However I need to use the userid from the person calling the Web Service in my RFC call both from a security standpoint and for an Audit trail.  Since could be di