OIM 11 g - adjustment process form data through query API

Hello

I would define the shape of process via the API data request. I have a user configured in AD. Now I would like to define form data to process (title) through the API request. I have imported the necessary data and that it works through UI request. But when I try to do this through query API, the value is not updated in the form of process. Can anyone help with a code example to achieve this functionality? Thank you.

You define the data of application correctly when creating on-demand via the API? There is also the correct attribute in all reference maps data? What about the attribute itself? It is in the form of parent or child?
Looking at the title of the ad must be the parent form data, so use the following code as an example to update all data correctly:


           long resKey = 0L;
           String str = null;
           String resourceKey = null;
           Map searchMap = new HashMap();
           tcResultSet resultSet = null;
           RequestData requestData = null;
           Beneficiary beneficiary = null;
           RequestBeneficiaryEntity entity = null;
           List beneficiaryList = null;
           List entityList = null;
           List entityAttrList = null; 

           searchMap.put(RESOURCE_ATTR_NAME, RESOURCE);
           resultSet = _resourceService.findObjects(searchMap);
           resKey = resultSet.getLongValue(RESOURCE_ATTR_KEY);
           resourceKey = Long.toString(resKey);           

           RequestBeneficiaryEntityAttribute parantAttr = new RequestBeneficiaryEntityAttribute();
           parantAttr.setType(TYPE.String);
           parantAttr.setName("Title");
           parantAttr.setValue("Mr.");

           entityAttrList = new ArrayList();
           entityAttrList.add(parantAttr);

           entity = new RequestBeneficiaryEntity();
           entity.setEntityKey(resourceKey);
           entity.setEntityType(RequestConstants.RESOURCE);
           entity.setEntitySubType(RESOURCE);
           entity.setEntityData(entityAttrList);

              entityList = new ArrayList();
           entityList.add(entity);

           beneficiary = new Beneficiary();
           beneficiary.setBeneficiaryType(Beneficiary.USER_BENEFICIARY);
           beneficiary.setBeneficiaryKey(USER_KEY);
           beneficiary.setTargetEntities(entityList);          

           requestData = new RequestData();
           requestData.setRequestTemplateName(TEMPLATE);
           requestData.setJustification("Test");
           requestData.setBeneficiaries(beneficiaryList);

           RequestService reqsrvc = client.getService(RequestService.class);           

           str = reqsrvc.submitRequest(requestData);

           System.out.println("Value from submitRequest : '" + (str != null ? str : null) + "'");

Just a dummy code, but it's the overall structure. Once you have submitted the request and commissioning successful, you should see the data in the form of process.

HTH,
BB

Edited to add the return code by: bbagaria on Sep 5, 2011 10:18

Tags: Fusion Middleware

Similar Questions

  • which is to process form data in controller

    Hello friends,

    which is to process form data in controller? I do not see to treat form data when I created controller, what is the importance of use to process form data in controller? exactly what scenario we can use in our application OFA?

    According to the jdevguide, I could not clarify this below.

    In most, if not all, of the pages that you generate, you will have no cause to override this method. In fact, the only use case we could think is extremely unlikely in an OA Framework application: If the source of data for a region is not a view object, instance and the view attribute properties are not defined for individual web beans, then you could processFormData() of the region code to write the child web data in the appropriate data source bean. Note: The OA framework implements processFormData() at the level of the item, but you can overwrite it only at the level of the regions, so you must treat all elements of the region if you never implement anything like this. If you choose to implement something like that, don't forget first call super.processFormData (pageContext OAPageContext, OAWebBean webBean).

    Thank you
    Krish.

    which is to process form data in controller?

    When a user submits the page, the processFormData() method is called. The responsibility of this method is to transfer the value of the fields on the screen in the cache.

    This cache is not the same as MDS cache. You can think of it as being sort of a cache of data for the user's session.

    Thank you
    -Anil
    http://oracleanil.blogspot.com

  • How to upgrade the value of attaibute IOM user profile to process form data

    Hi Experts,

    In our environment, we have deployed IOM with connector SAP ER for the reconciliation of trust. HRMS contains more than 4000 active employees of which many user attribute i.e. EmailID are not updated.

    We performed reconciliation trust and IOM to all employees of 4000 user profile was created in IOM without emailid.

    We used reconciled target against AD and exchange account and all the ID obtained related.

    given that some of the employee record is not emailID, those receive notification by email.

    Can someone help me please how can I in bulk to update all the emailID user form for the AD/exchange process data.

    Kind regards

    David

    Hello

    Its very common requirement and it happens in all production environments.

    You must write a planner personalized who to read email ID of form for the AD/exchange process data and update to IOM profile.

    Also note: during this operation, just disable/remove the entry looking like USR_EMAIL change Email trigger etc. You will avoid the trigger unwanted operations. Once your event is over, you can re - map once again.

    HTH,

    ~ J

  • Need help to process form data

    Hello
    We have a definition of IT say SSH resource type. We have number of IT resources-abc, xyz the same type SSH.
    When the user is provisioned to this resource, then in the profile of resources, we can see name of resource such as SSH. In the form of SSH process, we can see the resource name - abc, xyz
    Now the requirement is I need this resource all SSH process COMPUTER name. I wrote a java code that sends an email to the owner of the application when this SSH resource is revoked. But I need to show TI resource name - abc, xyz in e-mail to the owners of applications.

    Can someone help get the shape of process data?

    Thank you
    Kalpana.

    Enter the task of the adapter instance to process directly key instead of fix in the code. You will get this in the treatment of the data-> instance to process key

    -nayan

  • IOM - updates of IOM E-mail checks to process form data before the update

    Small Question.

    Whenever I update the email to a user of the IOM field using the form to the user, the changes will not a special form of the ad process.

    It fails because an incorrect email address already exists in the form of AD process.

    But the former email does not send it as an AD process - so it fails...

    What is a way to change the behavior in order to 'push' the email without checking what's already there?

    Concerning
    Vijay Colin

    What is the ideal behavior. It should push the email regardless of what is already there. But it would be just you, if there is a task to change email in the definition of the user of the RFAprocess. If in case it does not exist, you must create one and then copy the value of the user profile in the form of courses

    Thank you
    SRS

  • Search weekend Dates through query

    I'm setting up a report in the APEX to show all the JEs which have been posted on the weekends. I can query all GL records and adjust the date, but I have no odea how to identify the dates that fall on Saturday or Sunday and. We run EBS 11i. I can send the basic query if that helps.


    Any help would be appreciated.

    Assuming that 'weekend' always means Saturday and Sunday and that your sessions always use English NLS settings,

    SELECT *
      FROM your_gl_table
     WHERE TO_CHAR( journal_entry_date, 'fmDAY' ) IN ('SATURDAY', 'SUNDAY' );
    

    or

    SELECT *
      FROM your_gl_table
     WHERE TO_CHAR( journal_entry_date, 'D' ) IN ('1' '7' );
    

    Justin

  • Send form data to the database with scripted button

    I know not how to connect the form to an Access database. However, I do not want the form to connect to the database until the user clicks a button. When the user completes the form and clicks the button, I need the form to connect to the database and save form data in a new record. How script button to do this?

    Any help is appreciated.

    I think that you will need to use a layer between the two.  For example, LC, you can do a process that takes your data and stores it in your database.  Your form may submit to this process through SOAP and REST.

  • Submitting form data (FDF, XML, HTTP)

    Hello

    I have problems with all the options and restrictions to understand how best to present the form data so that he can talk to other applications like databases.

    I would like to a field on a form where, while filling out the form, a person can type in an ID number and a query to a database returns the name, address, telephone etc.. The user then continues to fill in other parts of the form that were not complete the request.

    I understand that this will require an event onblur with JS or maybe a button?

    I wish that the request to be sent to a listener application I can write in java and will be listening on localhost.

    Users of the form can use player or the browser Chrome.

    I can design the form in LC or Acrobat DC mode.

    I can't add folder level scripts.

    This kind of thing is possible - there seems to be a lot of conflicting information. I've read a lot about TOT, but I don't know if the FDF can be used to "Refresh" (or the word "flatten") while the form is open.

    See you soon

    -Al

    Which is more complicated it must be. It seems that there is a local program that acts as a web server, the form may be subject to. Don't communicate the "HTML" is fine, and probably the easiest to analyze, but the data for any number of fields can be returned in a TOT, so there's no need to load a new form. This was possible because the forms were introduced with Acrobat/Reader 3 and similar to what AJAX provides HTML Forms.

    I wonder how it is possible to install a web server and scripts to process the form posts but not at the level records JavaScript for Acrobat/Reader.

  • Loads of parallel data through SQL connect and replace existing data

    I'm doing a load of multiple data through SQL Connect using the following statement.  Just try to put in place a .bat file to automate the process but not sure that whenever it executes this statement adds data to existing or replaces the data? I tried to write an override for this but it works for instructions which contain the import section.

    Import of database data App.DB connect as username identified by password

    with the help of several rules_file, rul1, rul2, rul3

    load_buffer_block starting with buffer_id 10 on error write to 'C:\\dataload.err ';

    We can add spec commit buffer such as "replace all data ', 'create group', 'Add' to this import statement? The default declaration overrides the value whenever the data is loaded?

    Thanks in advance!

    you have an option in the rules file "Overwrite out of values."

    rulefile > setting dataload > loading values

  • When I complete and sign a form and then print it out, the form data does not print.

    When I complete and sign a form and then print it out, the form data does not print. The form fields are empty with the exception of any signature.

    Thank you. Depending on your answer, I have compiled a procedure:

    Fill & sign a form in Adobe CD and print the form fields:

    (1) open the document.

    (2) click on tools - prepare the form. All fields are displayed in a vertical list in the bottom right of the screen.

    3) click on the first field in the list, scroll to the bottom of the list and shift-click to select all.

    4) click on the first field in the document, make a right click, select Properties.

    (5) on the general tab, uncheck the box locked in the lower left corner. Under field properties common form, select Visible and uncheck the read-only box, close.

    (6) print out and save the file.

    Note: even if you select all the fields in the document in step 3, this procedure may work for the fields on page 1. In this case, repeat steps 3 through 5 for each subsequent page.

  • Send pdf form data to sql database

    Where can I find detailed information about the process of sending the pdf form data stored on the Web site of the sql database stored on the web server? Where I can find some samples, I could use to build my form and script related.

    Thanks for the tips.

    Tony

    If you want the form to communicate directly with the DB, you need to configure a DSN on each of the machines, which will take place in the form. Note that this wil only work on Windows machines. Also, the form must be started for the script runs (you mentioned the PDF has been stored on the web server). I have some examples that show how to deal with a DB, but attachments do not seem to work properly on the forum yet. If you cannot retrieve post them your email and I will send them to you directly.

    Paul

  • Removing form data

    Hello!

    I filled out a form on a web page and submitted it. On the next page, I received an e-mail confirmation that the information has been received. Then I removed all the browser history (historical search, form data, cookies and so on).

    Is there a risk that this suppression of the browser history is recalled or cancelled the data has already been submitted?

    Some websites may use the storage side edition document browser, followed by the scores of the game data authenticate you and other transient data. However, in your scenario, when you submit a form and get a confirmation of the server which is your data, the server is no longer on what account it is stored in your browser.

  • How can I get Firefox 9.0.1 to remember form data? (I use Windows XP. Yes, I already looked under tools/options/privacy and don't see anything useful.)

    How can I get Firefox 9.0.1 to remember form data? I use Windows XP. Yes, I already looked under tools/options/privacy and don't see anything useful. I don't see that 'monitoring' and 'bar' on the Privacy tab. The previous version I was using shape data stored without any problem. I can't get 9.0.1 to remind OF THE form data.

    'Re missing you the section history of this window. See the screenshot I posted below.

    Try Firefox SafeMode to see how it works there.

    A way of solving problems, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open the mode without failure of Firefox 4.0 + by pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    Do not choose anything at the moment, just use 'continue in safe mode.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox Safe mode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

    When find you what is causing that, please let us know. It might help others who have this problem.

  • Firefox 4 does not save form data after sending form and pressing the previous button

    Firefox 4 does not save form data after sending form and pressing the back button... It's very annoying that it erases all data. It worked fine on FF3.

    See:

    • Firefox or tools > Options > privacy > History: "don't forget to search and form history."
  • How to start collecting data through digital triggering entry user GOLD

    Hello

    I have a vi with which I would like to collect data. It is configured to start to perceive when the start trigger is detected, which works perfectly, but I would also create a user can start the process of data collection by pressing a button instead of apply the trigger. I am at a loss on how to do it. I thought that the structure of the event would work well; However, the relaxation has no Boolean value I can associate it with. If that were the case, I could then perform a logical comparison between the trigger and the button to determine if the collection of data should begin.

    So, how can I represent a trigger activated as a Boolean value? Or is there a better way to reach my goal?

    I think I can make things clearer by expressing in linear programming that it is, I'm trying to achieve:

    If (trigger == true: button == true) {}

    begin to collect data

    }

    I have attached my vi where someone feels useful.

    Hello

    You're right, 6229 USB is certainly not compatible with NO-Sync. However, you should be able to do with the DAQmx driver functions.

    If I understand correctly, you want to generate a graph of your analog input and have this file based on a triggered event entry. A line using PFI will not work for this particular function, but you can create a task digital input instead and pass the thread to a D e/s instead of a PFI line line. You can then use for/no-write the analog input file using a case structure depending on the State of the digital line.

    I hope this helps! Let me know if you have any other questions.

Maybe you are looking for

  • Satellite L670 - unrecognized USB keys

    I have a Toshiba Satellite L670 with Windows 7 64 bit Home Premium edition. Recently, I bought 3 keys usb SanDisk Cruzer, 2x8Gb, and 4 GB. Have you tried multiple USB ports on this computer, but the same result. The computer recognizes that the SanDi

  • How to lighten the screen on my laptop?

    How to lighten the screen on my laptop? It's waaay to obscurity and the only time where it is bright enough is when I plug in the power cord. I have Windows Vista.

  • henrid

    I was struck by a virus ' PUA / SearchProtect.GEN. This has changed all my settings in the USA. I changed some of them to the Canada. Not sure if I got all of that. Then I got a message on my window saying "Windows 7 Build 7601, this copy of Windows

  • The program Setup error: impossible to install a file that is necessary because the CAB file installation has a signature digital invalid

    Original title: Cabinet file configuration 11. cabin has an invalid digital signature. When you try to install a software program on my Windows 7 Netbook, a setup information panel said "a file that is required cannot be installed because the 11 cabi

  • Why my desktop background keep disappearing?

    I have a Dell XPS 12 with Windows 8. My origins keep deleting themselves and default to a black background Uni. (Several times now), I downloaded an image, I decide that I want as a background. After varying amounts of time, the background will becom