How to automatically generate/build a uniqueID in Sun IM

Hello,
I'm unfortunately not able to automatically generate/build a unique identifier in IM according to my different data sources (resources) => the goal of this process is to manage the unique identifiers (accountID) through the Identity Manager, and then send back the corresponding accountIDs to the data sources (to keep the mapping between IM and the sources).
=> Each data source (DB, files, etc.) stores their own unique identifier (e.g. primary key, id, etc.).
=> I'm able to reconcile (or "Load from Resource") the data from the sources
=> Unfortunately the accountIDs from my "authoritative data source" (main data source) are used as "unique identifiers" (accountID) through IM :o( !!!!! and I would like to build a unique id (e.g. <firstnameFirstLetter>.<lastnameFirstLetter><6digits) for all the users (according to all the accounts from the different sources).
Do you have any idea ?
Thanks a lot in advance.

Hi,
Thanks a lot for this example.
I didn't test it for the moment, because I still have a problem with the workflow....., which will call this rule at the end.
Here is my problem about this workflow :
My idea is to use this workflow (as a pre-account wrokflow through the reconciliation process) to automatically write the SIM accountIds into the Resource accounts (i.e. into my authoritative database => IAM_EXT_UID is used to store the corresponding SIM accountIds).
When we use a "Pre-account workflow" through the reconciliation process, some variables are already available : accountId, resourceId, userName, initialSituation, finalSituation, etc.
During my initial load process (e.g. using the reconciliation process), all the resource accounts use the following states :
+ initialSituation : AR_SITUATION_NAME_UNMATCHED
+ finalSituation : AR_SITUATION_NAME_CONFIRMED
+ accountId : name of the resource account that was reconciled => i.e. specific to the resource
+ userName (name of the Identity Manager User) : userName is NULL
I'm just interested in this case (initial=UNMATCHED and final=CONFIRMED) in order to send back the SIM accountId into my database.
My workflow uses the checkoutView Session Workflow Service to get some information about the newly created SIM users (e.g. his newly created accountId => created on the fly by using a rule).
Unfortunately, the userName is NULL ! I think that this input is NULL because I use a rule to automatically generate the SIM accountIds !!!! Am I right ?
Is there a way to get this userName ? Maybe the checkoutView Session Workflow Service is not the best solution !!!
Here is my code snippet :
<Extension>
<WFProcess name='XYZ' maxSteps='0'>
<Variable name='accountId' input='true' />
<Variable name='resourceId' input='true' />
<Variable name='resourceName' input='true' />
<Variable name='userId' input='true' />
<Variable name='userName' />
<Variable name='initialSituation' input='true' />
<Variable name='responseSuccess' />
<Variable name='finalSituation' />
<Activity id='0' name='start'>
<Transition to='deleted from HR equals disable'>
<eq>
<ref>initialSituation</ref>
<s>AR_SITUATION_NAME_DELETED</s>
</eq>
</Transition>
<Transition to='ProcessUser'>
<block>
<and>
<eq>
<ref>initialSituation</ref>
<s>AR_SITUATION_NAME_UNMATCHED</s>
</eq>
<eq>
<ref>finalSituation</ref>
<s>AR_SITUATION_NAME_CONFIRMED</s>
</eq>
</and>
</block>
</Transition>
<Transition to='end'/>
</Activity>
<Activity id='1' name='end' />
<Activity id='2' name='deleted from HR equals disable' audit='true'>
<Variable name='WF_ACTION_ERROR'/>
<Variable name='user'/>
<Action id='0' application='com.waveset.session.WorkflowServices'>
<Argument name='op' value='disableUser'/>
<Argument name='accountId' value='$(userName)'/>
<Argument name='doWaveset' value='true'/>
</Action>
<Transition to='end'/>
</Activity>
<Activity id='3' name='ProcessUser'>
<Variable name='user'/>
<Action id='0' name='CheckOutUserView' application='com.waveset.session.WorkflowServices'>
<Argument name='op' value='checkoutView'/>
<Argument name='type' value='User'/>
<Argument name='id' value='$(userName)'/>
<Variable name='view'/>
<Return from='view' to='user'/>
</Action>
<Transition to='end'/>
</Activity>
</WFProcess>
</Extension>
</TaskDefinition>
I hope that someone will be able to help me.
Thanks a lot.

Similar Messages

  • How to automatically generate build.xml file in eclipse?

    Hello every body,
    I am learning about ANT. e.g I have writen a very simple programme which displays output "no worries". But how can I compile it with ANT and how can I generate build.xml file using eclipse.

    This is not really a Java issue but rather is an Eclipse issue. You may wish to look for their support sites or forums.

  • How to Automatically generate .XSL file of XML file ???

    Hello Everyone,
    I have UI which provide the facility to create own format by using drag and drop utility. I have also xml file which contains the data. Now task is how to automatically generate the .xsl file of the dynamically designed format for the data stored in xml form.
    If you have any idea about the solution of the above problem.
    I will thankful for any help regarding this…
    Thanks
    B. Kumar

    XSL stands for EXtensible Stylesheet Language, and is a style sheet language for XML documents. .xsl is the extension of the XSL file.Thank you, I am aware of all that.
    When we design any format by using drag & drop utility, System has to generate the .xsl file (extensible stylesheet for the xml document).Why? To accomplish what?
    And then .xsl file is used to display the data which is stored in xml document on the webpage with designed format.So you need to define the mapping between XML and HTML? and you're hoping to do that automatically?
    That's a job for a user interface designer. Not a tool.
    In brief we need to write a parson
    Parser
    which will take any designed format and generate the .xsl file for that design, to display the data which is stored in XML document.Doesn't make sense. It would make more sense if you started from a schema. Starting from an actual XML document, i.e. an instance of the schema, no, not even slightly.

  • How to automatically generate a build file of the application from command-line

    Hi All
    How can we automatically generate a build file of the application from command-line (as opposed to using Jdev IDE to click to generate a build.xml) ?
    Thanks

    User, which jdev version do you use?
    I don't think you can do this. You can only create an ant build.xml from the project inside jdev.
    You can use ojdeploy to build the project.  This is the only method which will also make the necessary changes to the descriptors.
    Timo

  • How to automate the build and deploy?

    Is there any way to build and deploy component to UCM using command line? such as ant script? or is there anyway to run "component wizard" in a command line without GUI? I'm looking for a way to automate the build and deploy process.
    Thanks

    Here is link for build script using ant
    http://wiki.oracle.com/page/UCM+Ant+Buid+Script
    there are some videos in you tube also
    http://www.youtube.com/watch?v=QIT6gkEC2Tc

  • How to automate the build of CompositeApplication for different environment

    Hi,
    I have a scenerio where i have to automate the build process of composite application.
    For Example :
    I have a Composite application currently configured for my DEV Environment. I have two more environments UAT, and IST on which the same Composite Application should be deployed. The environment details such as 1) Host Name , 2) Port Number , for UAT and IST are different.
    I need to create an automation script which takes in the different environment details and builds the CompositeApplication Project.
    Please help, if you have any solution or Please provide pointers.
    Thanks
    yuvaraj

    Hi yuvarag,
    I take it that you're working in a 5.1.3 environment. I was in a similar situation, and although I wasn't able to automate the process as I would have liked, I was able to make some modifications to the build process that made it acceptable.
    For one thing, our QA dept would not allow us to build separate ear files, using different environments, for QA and production. They were willing to sign off on the QA file that they had tested, but as far as they were concerned (and I fully agreed) they had not tested a new aer file build for the production environment. I was able to convince them (and myself) that using the iConfigure tool to modify the settings of the ear file was a safe way to create the production file from the QA file. This also removed any possibility of including new code into a build with the production environment.
    Although it didn't get automated, I did set up a "build" user on the box that housed our repository. All builds for deployment to QA were performed by logging in as the build user to perform the build. I also made a few modifications to the build scripts that come with the commandlinecodegen tool to simplify the process. I could probably have automated the build by adding a cron entry to kick off the build script. Automating the iConfigure step would be much more difficult. But if you are free to build fresh ears for production, then you should be able to automate the process with cron, and a few tweaks to the commandlindgodegen tool.

  • How to automate page building in InDesign document?

    is there a way to automate page building in InDesign template by way of import xml, csv file, or any plug-in 3rd party software?

    Hi,
    all "page building" properties are scriptable;
    all these values can be read, let say, from  .txt file or .xls file;
    so ==> there is a way.
    rgds

  • How to automatically generate ASN according to outbound DN for STO in R3?

    Hi gurus,
    In our scenario, we need to automatically generate ASN according to outbound DN for STO. You know we can configure this functionality in ECC system, but it seems impossible in R3 4.7 system. Can we sove this problem by SPRO or user exit/BADI?If not, we have to use PI middleware to make it work.
    Any help will be appreciated.

    You can send IDoc from output determination to any system (using ALE) or EDI (through file).
    If you are wanting to distribute IDoc to another system within your organization, then use medium 'A' (for distribution through ALE).
    In transaction NACE, you can see LAVA output type come with both EDI and ALE mediums enabled (look at Process routines in NACE for output type LAVA). Ensure that in the output condition records are set with medium 'A'. You would of course need partner profile in WE20 with outbound parameters set to match your output.

  • How to automatically generate messages

    hello.
    as part of the ongoing development of my video library system (done using Java, Swing + JDBC) - i must be able to generate an Overdue Reminder message and a Fine message in the form of JOptionPane messages. in order to do this i must be able read the loan information from my video library database so that i can generate such messages. i have pseudocode already made out for this.
    IF ReturnDate is greater than 7th day
    Display OverdueReminder
    IF Product is not returned after OverdueReminder is issued
    Display Fine
    IF Fine is not paid
    Display AccountDisabledNotice
    how can i turn this pseudocode into code?

    yes. what i have to do now is learn how to generate messages.
    thanks for the reply.

  • How doI automatically generate cover flow pic for my radio feed?

    I work for a radio station with live Itunes feed and was asked to embed a pic that appears in cover flow. For now, that thing's blank. How do I do this?

    same problem for me - i have all my library of music and film into an external HD and many of my film cover disappear - i have to manually look into INFO and they come back --- it's really strange!
    Anyone have some solution? is it a bug of itunes with external/ethernet HD?

  • Why not all jars picked up by ojdeloy and how to generate build.xml from command line and not JDEV GUI - quick question

    Hi All
    We have 11.1.1.7 ojdeploy to compile our app.
    We notice in the log that not all jars are used in classpath arguments when we explicitly set them up for compilation.
    eg:
      <path id="classpath">
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/a.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/b.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/c.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/d.jar"/>
    </path>
    Log Output -
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/bin/javac
    [ora:ojdeploy] -g
      [ora:ojdeploy] -Xlint:all
      [ora:ojdeploy] -Xlint:-cast
    [ora:ojdeploy] -Xlint:-empty
      [ora:ojdeploy] -Xlint:-fallthrough
      [ora:ojdeploy] -Xlint:-path
      [ora:ojdeploy] -Xlint:-serial
      [ora:ojdeploy] -Xlint:-unchecked
      [ora:ojdeploy] -source 1.6
      [ora:ojdeploy] -target 1.6
      [ora:ojdeploy] -verbose
      [ora:ojdeploy] -encoding Cp1252
      [ora:ojdeploy] -classpath
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/resources.jar:
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/rt.jar:
      [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/jsse.jar:
        [ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/a.jar"/>
        [ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/c.jar"/>
    1- Is it because it depends on how jpr or jws are configured ?
    2- How can we automatically generate a build file of the application from command-line (as opposed to using Jdev IDE to click to generate a build.xml) ?

    The first  warning is happening because you're stating drivers for input devices without need. You haven't disabled hotplug so evdev gets used instead of kbd. This is normal, and you should change the driver line from kbd to evdev so that whatever options (if any) you've specified for the keyboard get parsed.
    The second warning is about you not installing acpid.
    The third I have no idea about, but look at the synaptics wiki. None of the (WW) are related to your video card.
    And every card that has 2 or more output ports show up as "two cards". You also don't need to specify the pci port in xorg.conf. edit: this is the general case with laptops, might be different for desktops.
    When I do lspci -v I get:
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
    Subsystem: Micro-Star International Co., Ltd. Device 0110
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at dfe80000 (32-bit, non-prefetchable) [size=512K]
    I/O ports at d0f0 [size=8]
    Memory at c0000000 (32-bit, prefetchable) [size=256M]
    Memory at dff00000 (32-bit, non-prefetchable) [size=256K]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    Subsystem: Micro-Star International Co., Ltd. Device 0110
    Flags: bus master, fast devsel, latency 0
    Memory at dfe00000 (32-bit, non-prefetchable) [size=512K]
    Capabilities: <access denied>
    And it doesn't matter if it errs in trying to sli up with it self. That's just not a possibility.
    Last edited by gog (2009-10-15 23:59:49)

  • How to generate .build.appxrecipe file

    Hi!
    I would like to generate using m s build utility or may be something else .build.appxrecipe file. Does anybody know how i can do this?
    VS generates it automatically, but i want to generate .build.appxrecipe file by me.

    Here's the documentation:
    https://msdn.microsoft.com/library/windows/apps/hh924768.aspx?f=255&MSPPError=-2147217396
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How to change the automatically generated email address?

    Hello,
    The description of the problem is as follows:
    When our system sends to the customer the report with account statements (as an attachment) the automatically generated text that he receives in the email is:
    "Please respond to "K047472" "
    but the text should be:
    "Please respond to "(..here must be a certain email address we want the customer to respond)"
    Do you have any idea how to change this?
    regards,
    Slawek

    Hi Slawomir
    Please go to SE91 and change the message text.
    thanks
    Ashok
    assign points for useful answer

  • Urgent: how to avoid automatically generate dynamic ACLs?

    PIX501 v6.3(3)is configured as Easy VPN client and authentication is done on
    ACS server.
    Downloadable ACL is applied to this vpn h/w client after the VPN connection
    is established (shown in blue colour in the sh access-list output).
    However, the are 2 dynamic ACL applied to the same connection which
    override the downloadable ACL as defined in the ACS server for this VPN
    group.
    Question: How to get rid of the 2 dynamic ACLs as shown below?
    access-list dynacl128; 1 elements
    access-list dynacl128 line 1 permit ip any host 218.189.206.74 (hitcnt=0)
    access-list dynacl129; 1 elements
    access-list dynacl129 line 1 permit ip any FBP_Staging 255.255.255.0 (hitcnt=1)

    I think it is not possible to avoid automatically generated dynamic ACLs, you may have to use some other interface for this or configure PIX with proper VPN configuration for client.

  • How I can automatically generate purchase orders in SRM?

    Hi Gurus,
    When I create a Shopping Cart (SC), in "Source of Supply" tab I can select a contract as source of supply.
    How I can automatically generate a purchase order (PO) with contract data (vendor, price, etc.)?  So that the operational purchaser does not have to enter the system to generate the PO.
    In ERP (ECC 6.0) exists ME59N transaction, is there something similar in SRM?
    The system is:
    Component software: SRM_SERVER
    Release: 700
    Level: 0008
    Support package: SAPKIBKV08
    Thanks in advance and best regards,
    Alonso Valenzuela

    Hi,
    Like ME59, there is no option available to create a PO automatically in SRM. If you want you can achieve this in 3 ways.
    1. Creating SC Via CATALOGS ( In this case after approval PO will be created directly and most of the cases PO will be transferred to ECC i.e in SRM that will be in ordered status.
    2. You can select the sourcing relevant indication as 'Never Carried out' (Here if you created a SC without source of supply then all such SC's will be converted into Save status PO's.
    3. Do the modification in DOC_CHECK_BADI to force all SC converting to PO.
    However in Case 2 & 3, still buyer's team manual intervention will be more, then need to update the PO with source of supply.
    Regards,
    Govardhan.

Maybe you are looking for

  • App Not In Applications folder, but App Store says it's installed.

    Anybody have any ideas on this? One of my apps is missing from my Applications folder, so I went into the app store to try to re-download it, however the application store says the App in question is installed... There is a 'free' version of the same

  • 10.6.4:  how to unlock all files in a folder

    hi, how do you unlock all files inside a folder? thank you..

  • 46G310U - Can't select Cinema Mode: Grayed out

    Hi everyone,  I have a 46g310u and was trying to change the Cinema Mode from Video to Film but the option appears in the menu grayed out (unselectable).  The LCD is connected to my laptop via HDMI.  Thanks Please help!

  • Unable to use System Update

    I have tried using System Update several times, from the date the system was new and was unable to successfully update my system. The program connects and states that several updates are available and then I allow it ot download all the packages. How

  • Downloading non-jar resources

    Hi, I would like to download a configuration file for the downloaded application. For example a config file named LookAndFeel.cfg which is not packaged into the jar file. This could enable changing the LookAndFeel of the app through changing only the