How to get values of trigger-assigned during a taskflow

Hi, OTN,.

I have a taskflow bounded, where one of the activities is a view with the entry form to create a record in a table in db.
Some field values are assigned by database trigger. I need to use them later during the same taskflow.

So I need to run until the transaction is committed the trigger. And to get the values of trigger-assigned to createWithParams in the same taskflow.
Of course, the operation should START when taskflow is called and ENGAGED only in the end.

I'd be happy to hear some tips. Thank you.

JDeveloper 11.1.1.1.0.

The only way you can trigger database triggers is to display the data.

If you do not want to commit, you can use DBTransaction.postChanges ();
But watchout because it is not hollow validation cyrcle so you can display invalid values.

(Remember the attributes that are populated by definition of refresh database triggers after that insertion and/or refresh after update)

Tags: Java

Similar Questions

  • How to get values of a text at a reading area

    Hello

    I need to compare the value in a textbox control when playing with my database value.

    It is web.textBox () .setText to set a text, but is there a way to get the data to screen during playback.

    Please suggest

    Thanks in advance

    Hey...

    web.textBox("").getAttribute ("value");

    See you soon

    Dembélé M

  • How to get schema name and assign it to a column in the table target

    Hi team,

    I am getting the error while getting the schema name that you assign to a column target

    Implementation of the column:

    < % = odiRef.getSchemaName ("W") % >

    ERROR:

    ===========

    ODI-1217: Session TEMP (342001) fails with return code 904.

    ODI-1226: step TEMP fails after 1 attempt.

    ODI-1240: Flow TEMP fails during an operation of integration. This flow of charge target TEMP table.

    ODI-1228: failure of the TEMP (integration) task on the target of ORACLE ORACLE_MSR_SRC connection.

    Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "USERINROW": invalid identifier

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

    =============

    Implementation of the column:

    < % = odiRef.getSchemaName ("ORACLE_MSR_SRC", "DEVELOPMENT", "W") % >

    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: error in the interpretation of the task.

    Task: 4

    java.lang.Exception: the application script threw an exception: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Exception getSchemaName ("ORACLE_MSR_SRC", "DEVELOPMENT", "W"): SnpLSchema.getLSchemaByName (): SnpLschema is no information OSB: insert new lines to the line: column 0: columnNo

    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:489)

    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:737)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

    Plz help me how can I get the user name ie... diagram for this target and the insertion in the table.

    Thanks in advance... Suggestions or advice much appreciated.

    Kind regards

    Khaled

    Use the Subtstitution method getInfo() Odi

    <%=odiRef.getInfo("pPropertyName")%>

    pPropertyName can be

    SRC_SCHEMA name of the schema of the data in the source environment
    SRC_WORK_SCHEMA name of the schema in the environment of the source
    DEST_SCHEMA name of the schema of data in environment target
    DEST_WORK_SCHEMA name of the schema in the environment target

    Kind regards

    Samir Bishwamilan

  • How to get values from keyboard?

    Hi friends,

    I want to get the data of the main features of the keyboard of the device.

    I use the canvas and RIM keyListener implementation.

    the substitution of the canvas keyPressed() and RIM keyDown()

    but impossible to get the alphabetic values (I mean when we click on a, b, c, d, z I want to print on the console)

    How can I get this feature.

    Thank you

    Maury.

    The KeyListener interface should not be used in a MIDlet application.  UI classes cannot be mixed between what exists in the MIDlet/J2SE and BlackBerry CLDC Application API.

    I'm not 100% is your goal.  Can you elaborate on the problem?

  • How to get values page, component and menu of Peoplesoft from the page?

    Hi all

    We used Peopletools 8,4 x previously where it is used to make a comment on the page of peoplesoft something of this form:

    <!--IE/6.0/WINNT; ToolsRel = 8.44.17; Page = INV_ITEMS_DEFIN1; Component = ITEMS_INQUIRY; Menu = DEFINE_ITEMS; User = VP1; DB = PSFT844/ORACLE; AppServ = / / INSIGHTVMPS2:9000; ->

    We had set some debug and trace options in the configuration of the web profile, as shown in the picture as an attachment to get this comment. We have improved at 8.54, and we don't get these values in the commentary. Is there anyway that we can retrieve these values? Any help in this area would be extremely useful.

    Psoft.png

    So when you press Ctrl + J or Ctrl + J twice on the page, nothing happens?

    You use IE9?

    Try Ctrl + Shift + J

  • How to get values through JavaScript

    Hello

    I have a report from the region, in this report a single column is select list with values 1,2,3,4,5 & other columns are text fields.
    I want to if the user selects 1 of the selection list, then the next column of the report must be disabled.

    Any help would really be appritiated.

    Thank you
    onchange="javascript:setvalues(this,'here your text filed name')";
    

    Note: field name of text as f01...

    put the code above in the report attributes column-->
    Select the column in the list--> in the form of--> attributes of the element element

    Then