How to access ProcessForm data from adapter

Hi
I am writing new CreateUser adapter, i have added "ProcessInstanceKey", and able to get the value into my adapter code. But how I can get OIM values (like firstname, lastname email address etc.. ) and ProcessForm values.
If you can provide sample code, it will help a lot.
thanks in Advance
Jaipal.

Hi,
One more.
I have added FirstName, LastName attributes in Adapter Factory Task Parameters window. As well as my Adapter Java code contains method called
createMethodPK(long processInstanceKey, String firstName, String lastName)
with above code, I am able to get processinstancekey, firstname and lastname into Java code.
My question is, my create method needs around 10+ attributes from the form. Is there any way, I can get form attributes using ProcessInstanceKey? without adding in the Task parameter window? So that I can avoid adding all attributes into my method signature?
thanks

Similar Messages

  • Adavnced Datagrid: How to access hierarical data from the renderer

    I have an advanced data grid with hierarical data and a renderer that spans all the row when the the heirrical arrow icon is clicked. I want to access the level 1 of data from within the renderer to set data in UI elements. Please let me knwo how to do this.
    My data looks like the  following :
    private var dpHierarchy:ArrayCollection= new ArrayCollection([
                    {type:"Unassigned", date:11-21-2009, payee: "CREDITCARD debit 328", payment:70, deposit:0,accout:"My Visa", envelope:"My Envelope", children:[ 
                        {checkno:"Unassigned",note:11-21-2009}]}

    You need to add an event listener to the httpservice, the calls to services are asynchronous so that's the reason you'll need to add to your HttpService something like this:
    result="myResultHandler(event)"
    and then create the result handler something like this;
    private function myResultHandler(event:ResultEvent):void{
          Alert.show(loginRequest.lastResult.user,"Testing");
    Although you could omit the event parameter. In the DataGrid your code works because the binding mechanisms detect that the data has change and update the DataGrid, but in this case once you call your function there isn't a way that Flash Player will execute it again withouth calling the function again.

  • W510: How to access my data from a functional hard drive after motherboard failure

    I made a mistake and paid the major price .
    That mistake being spilling a sugary drink on my laptop. I know, I know, my keyboard can and protect against damage from spills, but it was an entire glass. Anyway, I panicked and shut the system down and turned it upside down and removed the keyboard. And being the impatient person I am, I made what was probably the ultimate mistake. I didn't give everything adequate amount of time to dry and tried booting the system back up. There went my computer. Or at least I think.
    Symptoms: It started to bootup, kept beeping, then at a certain point just shut down and wouldn't turn back on.
    Anyway, I'm assuming my laptop went kaput. Now to the point of this thread. I had not undergone a recent backup and can't recall when the last backup was actually done. Assuming that my hard drive is ok, I would like to get all of my data so I saw several possible options:
    -send the system to a data recovery service where I'm not going to pay below $300, but probably 2 to 3 times that
    -buy an equivalent model laptop and put the HDD in there
    -by an external SATA hard drive enclosure and attach it via USB to another computer
    I bought an external enclosure and assembled it this evening. I had read about difficulty accessing data with a non-Lenovo system because of data encryption. I proved that out by attaching it to my work laptop (a Dell) and I couldn't access my data directories. If I have access to another Lenovo Thinkpad, will I be able to access the data if connected via USB? I'd read that I can access the hard drive contents if it is connected to another Thinkpad, but I wasn't sure if that means I have to have it interfaced via the SATA connection or if it will still work via USB.
    I'll appreciate any suggestions for accessing my data.
    Best Regards!
    Solved!
    Go to Solution.

    I didn't have a password on the drive itself, but I did have a Windows password.
    Connecting the drive to a Dell via SATA external usb enclosure and attempting to access the data directory gives the below prompt (See image below). I understand that I could click continue and try to gain permanent access, but I haven't attemped yet because I also don't want to permanently mess something up so that I can't access.
    So this was connected to my work computer, which is a Dell. I do have access to another Thinkpad (X200 series tablet) with the same results. I'm concerned that if I do follow the steps to gain permission to the folder that the data will also be encrypted. I read at this Lenovo link http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&LegacyDocID=MIGR-69621 about full data encryption. I don't recall ever manually setting up encryption.
    Alternatively, could I boot from the old drive using the X200?
    Any help appreciated.
    Thanks again.

  • How can I Move data from one column to another in my access table?

    I have two columns, one that stores current month’s data and one that stores last month’s data. Every month data from column 2 (this month’s data) needs to be moved to column 1 that holds last month’s data. I then null out column 2 so I can accumulates this month’s data.
    I understand how to drop a column or add a column, how do I transfer data from one column to another.
    Here is my trial code:
    <cfquery name="qQueryChangeColumnName" datasource="#dsn#">
      ALTER TABLE leaderboard
      UPDATE leaderboard SET  points2 = points3
    </cfquery>
    Unfortunately, I get the following error:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in ALTER TABLE statement.
    How can I transfer my data with the alter table method?

    I looked up the Access SQL reference (which is probably a
    good place to start when having issues with Access SQL), and
    it suggests you probably need a WHERE clause in there.
    I agree the documentation is a good place to start. But you should not need a WHERE clause here.
    Too few parameters. Expected 1.
    If you run the SQL directly in Access, what are the results? At the very least, it should provide a more informative error message..

  • How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
    That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
    This page is a good starting point for learning about Flex and PHP communication:
    http://www.adobe.com/devnet/flex/flex_php.html
    Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/

  • How can I migrate data from an old MBA to a new one without having access to the screen of the old one? The screen of the old MBA is damaged !

    How can I migrate data from an old MBA to a new one without having access to the screen of the old one? The screen of the old MBA is damaged !

    If your "older" MBA has a Thunderbolt port then it isn't that old. See Target Disk Mode about how it's used. Note that without a monitor you won't be able to tell from the screen when it has fully started, and if it succeeded in starting in TDM. If it did, then the hard drive should appear on the Desktop of your new computer. You can then access it to transfer your files. You can even use Migration Assistant or any backup utility to transfer data. Just don't try to transfer system files.

  • How do i recover data from an external hard drive that was accidentally deleted?  After I verified the drive, a message appeared that said my drive needed to be repaired.  When I tried to access the drive again, the 700 Gigs of music is gone!

    How do i recover data from an external hard drive that was accidentally deleted?  After I verified the drive, a message appeared that said my drive needed to be repaired.  When I tried to access the drive again, the 700 Gigs of music is gone!

    Stop using the drive immediately, un plug it.
    Buy a copy of ProSoft DataRescue 4 and use it to search for deleted files.

  • How to display the data from database(MS access) to a textbox

    anyone know ?

    how to display the data from database(MS access) to a
    textboxThe reply hasn't changed over these years. Read the tuutorial on how to fetch the data. You can display it anywhere you feel like. :)
    http://java.sun.com/docs/books/tutorial/jdbc/

  • How to Access Maintenance View from a program

    Hi Experts,
    I have created a maintenance view for a table. i want to insert data's into the table through the maintenance view. I don't know how to access the view, how to insert data into the Maintenance view. Please suggest me how to access the view from the program.
    with regards,
    James...
    Valuable answers will be rewarded...

    Hi,
    What is the need to search for a program.
    Use transaction SM30 or SE16 to create or maintain entries in the table.
    e.g. if the Maintenance view is created on table A, then Goto transaction SM30 or SE16 and give the table name as A and proceed. This will automatically take u to the maintenance view on tha table A.
    Regards,
    Himanshu

  • How to insert the data from XML to a table

    Hi,
    I'm using Oracle 10g Express Edition
    I need help in How to insert the data from XML file into the table.
    Below is the example i'm working on..
    I have create ridb user with below mentioned privileges:
    Account Status Locked Unlocked
    Default Tablespace: USERS
    Temporary Tablespace: TEMP
    User Privileges :
    Roles:
    CONNECT
    RESOURCE
    Direct Grant System Privileges:
    CREATE DATABASE LINK
    CREATE MATERIALIZED VIEW
    CREATE PROCEDURE
    CREATE PUBLIC SYNONYM
    CREATE ROLE
    CREATE SEQUENCE
    CREATE SYNONYM
    CREATE TABLE
    CREATE TRIGGER
    CREATE TYPE
    CREATE VIEW
    & table is created TRIALZIPCODES below mentioned is the DDL:
    CREATE TABLE TRIALZIPCODES
    STATE_ABBR VARCHAR2(20) NOT NULL
    , ZIP_CODE NUMBER(10, 0) NOT NULL
    , ZIP_CODE_EXT VARCHAR2(20)
    Below is the XML FILE: which is stored in C:\OracleProject Folder
    File name: trial.xml
    <?xml version="1.0" ?>
    <metadata>
    - <Zipcodes>
    - <mappings Record="4">
    <STATE_ABBREVIATION>CA</STATE_ABBREVIATION>
    <ZIPCODE>94301</ZIPCODE>
    </mappings>
    - <mappings Record="5">
    <STATE_ABBREVIATION>CO</STATE_ABBREVIATION>
    <ZIPCODE>80323</ZIPCODE>
    <ZIP_CODE_EXTN>9277</ZIP_CODE_EXTN>
    </mappings>
    </Zipcodes>
    </metadata>
    PL/SQL Procedure:which i'm trying to execute from SQLDeveloper
    create or replace
    PROCEDURE TRIAL AS
    BEGIN
    DECLARE
    -- declare attributes
    charString varchar2(80);
    finalStr varchar2(4000) := null;
    rowsp integer;
    v_FileHandle UTL_FILE.FILE_TYPE;
    l_context_handle dbms_xmlgen.ctxHandle;
    insCtx DBMS_XMLStore.ctxType;
    begin
    -- DBMS_XMLGEN.setRowTag ( ctx IN ctxHandle, rowTag IN VARCHAR2);
    -- DBMS_XMLGEN.setRowSetTag ( ctx IN ctxHandle, rowSetTag IN VARCHAR2);
    -- the name of the table as specified in our DTD
    DBMS_XMLGEN.SETROWSETTAG(l_context_handle,'zipcodes');
    -- the name of the data set as specified in our DTD
    DBMS_xmlgen.setRowTag(l_context_handle,'mappings');
    -- for getting the output on the screen
    dbms_output.enable(1000000);
    -- open the XML document in read only mode
    v_FileHandle := utl_file.fopen('c:/OracleProject','trial.xml', 'r');
    loop
    BEGIN
    utl_file.get_line(v_FileHandle, charString);
    exception
    when no_data_found then
    utl_file.fclose(v_FileHandle);
    exit;
    END;
    dbms_output.put_line(charString);
    if finalStr is not null then
    finalStr := finalStr || charString;
    else
    finalStr := charString;
    end if;
    end loop;
    -- for inserting the XML data into the table
    insCtx := DBMS_XMLSTORE.NEWCONTEXT('RIDB.TRIALZIPCODES');
    insCtx := DBMS_XMLSTORE.INSERTXML(insCtx, finalStr);
    dbms_output.put_line('INSERT DONE '||TO_CHAR(rowsp));
    DBMS_XMLStore.closeContext(insCtx);
    END;
    END TRIAL;
    For the first time when i complied i got the errors as :
    Procedure RIDB.PROCEDURE1@RIDB
    Error(16,14): PLS-00201: identifier 'UTL_FILE' must be declared
    Error(16,14): PL/SQL: Item ignored
    Error(29,1): PLS-00320: the declaration of the type of this expression is incomplete or malformed
    Error(29,1): PL/SQL: Statement ignored
    Error(33,1): PL/SQL: Statement ignored
    Error(33,19): PLS-00320: the declaration of the type of this expression is incomplete or malformed
    Error(36,1): PL/SQL: Statement ignored
    Error(36,17): PLS-00320: the declaration of the type of this expression is incomplete or malformed
    So i logged in as sys & grant the permission to execute on UTL_FILE to ridb (user):
    SQL Statement:
    grant execute on utl_file to ridb
    So, it got compiled successfully but when i execute it gives me error as:
    Source does not have a runnable target.
    What does this mean?
    So I browse through forum & i got to know that i need to initial the UTL_FILE_DIR ="C:/OracleProject" in init.ora
    So can i edit the init.ora with notepad.When i tried to do that it says permission denied
    In my system it shows the init.ora file in path C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts
    but there is also other file initXETemp in the same path do i need to do the changes in it.
    I have tried even editing the SPFILE as mentioned below:
    C:\oraclexe\app\oracle\product\10.2.0\server\dbs\SPFILEEXE - I had edit this file using notepad & set the value of UTL_FILE_DIR ="C:/OracleProject". So next time when i restarted i'm unable to log on to the database.
    So i had reinstall the software again.
    Could you please let me know how to proceed..

    hi,
    I have created the directory from sys database
    CREATE or replace DIRECTORY XML_DIR2 AS 'C:\OracleProject';
    & grant read,write access to the user
    grant read,write on directory XML_DIR2 to RIDB;
    & i had change the tag name in the xml file as shown below:
    <?xml version = '1.0'?>
    <metadata>
    <Zipcodes>
    <mappings Record="4">
    <STABBRE>CA</STABBRE>
    <ZIPCODE>94301</ZIPCODE>
    </mappings>
    <mappings Record="5">
    <STABBRE>CO</STABBRE>
    <ZIPCODE>80323</ZIPCODE>
    <ZIPCODEEXT>9277</ZIPCODEEXT>
    </mappings>
    </Zipcodes>
    </metadata>
    TRIALZIPCODE table as shown below:
    CREATE TABLE "RIDB"."TRIALZIPCODE"
    (     "STABBRE" VARCHAR2(20 BYTE),
         "ZIPCODE" NUMBER(*,6) NOT NULL ENABLE,
         "ZIPCODEEXT" NUMBER
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    I have tried two methods as shown below:
    Procedure 1:
    create or replace
    PROCEDURE TRIAL_V2 AS
    BEGIN
    DECLARE
    -- declare attributes
    charString varchar2(80);
    finalStr varchar2(4000) := null;
    rowsp integer;
    v_FileHandle UTL_FILE.FILE_TYPE;
    l_context_handle dbms_xmlgen.ctxHandle;
    insCtx DBMS_XMLStore.ctxType;
    cnt NUMBER;
    xmldoc xmltype := xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') );
    --XML_DIR VARCHAR2(40) := 'C:\\OracleProject';
    BEGIN
    insCtx := DBMS_XMLStore.newContext('DEV.TRIALZIPCODES');
    DBMS_XMLStore.setUpdateColumn(insCtx, 'STABBRE');
    DBMS_XMLStore.setUpdateColumn(insCtx, 'ZIPCODE');
    DBMS_XMLStore.setUpdatecolumn(insCtx, 'ZIPCODEEXT');
    DBMS_XMLStore.setRowTag(insCtx, 'mappings');
    cnt := DBMS_XMLStore.insertXML(insCtx, xmldoc);
    DBMS_XMLStore.closeContext(insCtx);
    END;
    Procedure 1 was compiled with out errors but when i execute i got the error as :
    Source does not have a runnable target.
    Procedure 2_
    CREATE OR REPLACE PROCEDURE TRIAL_V3 AS
    BEGIN
    DECLARE
    -- declare attributes
    charString varchar2(80);
    finalStr varchar2(4000) := null;
    rowsp integer;
    v_FileHandle UTL_FILE.FILE_TYPE;
    l_context_handle dbms_xmlgen.ctxHandle;
    insCtx DBMS_XMLStore.ctxType;
    cnt NUMBER;
    xmldoc xmltype := xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') );
    --XML_DIR VARCHAR2(40) := 'C:\\OracleProject';
    BEGIN
    INSERT INTO trialzipcode (STABBRE, ZIPCODE, ZIPCODEEXT)
    SELECT extractvalue(x.column_value, 'mappings/STABBRE'),
    extractvalue(x.column_value, 'mappings/ZIPCODE'),
    extractvalue(x.column_value, 'mappings/ZIPCODEEXT')
    FROM TABLE(
    XMLSequence(
    EXTRACT(
    xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') ),
    'metadata/Zipcodes/mappings'
    ) x
    END;
    END TRIAL_V3;
    Procedure 2 was complied without errors but when i execute i got the error as:
    Connecting to the database RIDB.
    ORA-22288: file or LOB operation FILEOPEN failed
    The system cannot find the file specified.
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at "RIDB.TRIAL_V3", line 12
    ORA-06512: at line 2
    Process exited.
    Disconnecting from the database RIDB.
    Could you please let me know how to proceed...

  • How do I display data from Multiple Queries in a spreadsheet?

    I am running Oracle forms 10g as a kicker to export a report (rdf 10.1.2.0.2) to PDF or Excel Spreadsheet - User's choice.
    Doesn't matter if I have desformat = SPREADSHEET, DELIMITEDDATA, or DELIMITED; I still get only the first query displayed when I run in spreadsheet format.
    How do I display data from Multiple Queries in a spreadsheet? Is this possible?
    Thanks in advance!

    Hi adam,
    did you search the forum? You will find a lot of threads handling the problem of Excel file access.
    In short: you need to use ActiveX (the RGT also uses ActiveX under the hood)!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do i retrieve data from my external hard drive?

    how do i retrieve data from my external hard drive?

    If your hard drive can be detected and shows up as a drive letter in my computer but you can't access your files,then you can recover your data off it with data recovery software easily.This way is the easiest and the most inexpensive way to recover your data.If you bring it to a computer repair shop that is available for data recovery servise,they will cost you $500-1000 or more.Hmm, a lot of money.
    I managed to recover data from crashed hard drive with Tenorshare Data Recovery.If needed,you can download it and scan your hard drive for free to preview whether your data can be recovered.It will show you thumbnails for recoverable pictures.

  • I am going to purchase the latest Mac Book Pro. How do I transfer data from my very old Macbook running OS 10.4?

    I am going to purchase the latest Mac Book Pro. How do I transfer data from my very old Macbook running OS 10.4?

    You may want to use the Migration Assistant, which appears the first time you start up the new machine during setup, and also is available later (it is found in /Applications/Utilities.) Note that if you are running 10.4.x on the old MacBook both machines need to use FireWire to do this, but the late 2006 MacBook has that. You will need a special 4 pin to 6 pin FireWire adapter cable, as the FireWire ports on the newest MacBook Pros are different.

  • How do i retrieve data from a powerbook whose screen lights up but displays nothing? I have a firewire and a second powerbook...

    how can I retrieve data from my old powerbook? It's screen lights up, but displays only pixelated blankness. I have a second powerbook and a firewire cable....

    It would probably be correct to assume that both PowerBook computers are equipped with FireWire. The article below could possibly be of interest to you. With a bit of luck, the old computer will be recognised.
    http://support.apple.com/kb/HT1661
    Otherwise, it may become necessary to open the old PowerBook and remove the hard drive. The drive can then be connected to an appropriate external USB adapter, and read via another Mac.
    Jan

  • How do I transfer data from my passport to my macbook?

    How do I transfer data from my passport to my macbook?  It recognizes the passport as I can see all of the information, but I can't get away from the "checking for sources" spinning wheel.

    There's several options available, they're not perfectly but from my experience they work just fine. Here's an example of just two -
    Move2Mac - http://www.detto.com/move-2-mac-overview.php
    Belkin Transfer System - http://www.amazon.com/Belkin-Mac-Transfer-Kit-White/dp/B001GTM4HQ
    You can also wire the two machines together via Ethernet and network them together but you'll require the USB-to-Ethernet adapter for the MacBook Air.
    Also as Kenneth suggested, there's the option of using an external HD and migrating.

Maybe you are looking for

  • AirPort Extreme with 3T time capsule file security question

    Right now I am using a MacMini with an external HD as a file server.  I'm thinking g of using the new AirPort Extreme with 3T time capsule to do the same tho g (while also extended my wifi reach). With the Mac mini I have fine control over who gets t

  • InDesign CS6 text frames acting wonky

    I started a brand new document. Some text has been copy/pasted from CS4 documents or Word but all of it is acting weird. If the text frame is less than 7.4375 in wide, then it breaks and reflows at odd points and I can't seem to get the frame to end

  • Call EJB from Start Up class

    I'm using OC4J 10.1.3 Standalone. I have a requirement to initialize web services and configuration parameters during app server start up. Accordingly,I planned to call a EJB 2.0 stateless session bean from a StartUp class. The ejb is responsible for

  • Inadequate video playback from camera video

    I have a Panasonic Lumix DMC FX07 camera. I took some awesome soccer video and was puzzled that I needed Quicktime to view it on my computer. I was sad to see that the video playback was horrible - all audio and jerky video. The video plays fine on m

  • Can't select & copy data from inspect element's tab - network

    So, I'm trying to get a direct link to an image on website that deliberately tried to make it hard to get them. For example, http://www.heavy.com/games/2013/10/nycc-2013-best-video-game-cosplay-gallery/2/ So, I see the direct link to an image in this