How to commit data at the end of a bounded task flow

Hi all,
I am using JDev 11.1.1.0.2.
I have this situation
1) A page with a button that goes to a task-flow to insert data (property data-control-scope set to shared and property transaction set to requires-transaction as suggested in http://www.oracle.com/technology/products/jdev/tips/fnimphius/cancelForm/cancelForm_wsp.html?_template=/ocom/print )
2) At the end of this task-flow a I have a TaskFlowReturn (property End Transaction set to commit)
When I click the button associated to this TaskFlowReturn, I return to the first page (described in 1) ), but the data I have just inserted are only submitted, but not committed.
What's the problem?
Any suggestions?
Thanks
Andrea

Hi,
if you set the return activity to commit the transaction then this is done. I don't see why rollback should work but commit doesn't
Frank

Similar Messages

  • How to write data at the end of doc in reverse order?[CS6-jsx]

    I need to move all my spec texts entries at et end of doc. To keep correct reference in all found entries i have to process in reverse order
    for (i = mFound.length-1; i>=0; i--){
    ...etc
    but can't to think up, how to place entries in write order at the end.
    String:
    mStory.insertionPoints.item(-1).select();
    app.paste();
    does not work properly (of course). It makes this:
    10.
    9.
    8.
    7.
    6.
    ...etc
    How to get
    1.
    2.
    3.
    4.
    ...etc

    Hi,
    I think what you are doing is the code below.
    you should fix using
    findGrep(true) => true is 'reverse order' option
    and move()
    var dummy = "Um veles 1.eatiorum et alic tem 2.quibusda nit volest, to corion conserum rem ipsanitate verores sequiduciat la demquis 3.inctorem ellestem reptis a et offic tem quidel earcide bissere mpellorerit ipsaecearios 4.volorrovid earchit omnitat atquatus aut quam nimet idelluptatum quis aut lam quo 5.ipsapiciis se simus autem fugias esto et et volupti to eum rem reius nobitatur aut evelis rae arumque lanihilicia sapitiam volorep ellupta volupta aut qui rendia doluptusam am necatur? Em aut abo. "
    var doc = app.documents.add();
    var tf = doc.textFrames.add({geometricBounds: ["10mm","10mm","100mm", "80mm"], contents:dummy});
    var st = tf.parentStory;
    var find_grep_obj = {
      findWhat : "\\d+\\.[^\\s]+"
    with(app.findChangeGrepOptions){
      includeFootnotes            = false;
      includeHiddenLayers         = false;
      includeLockedLayersForFind  = false;
      includeLockedStoriesForFind = false;
      includeMasterPages          = false;
      kanaSensitive               = true;
      widthSensitive              = true;
    var match = grep_find(doc, find_grep_obj);
    function grep_find(target_obj, find_grep_obj){
      app.findGrepPreferences = NothingEnum.nothing;
      app.findGrepPreferences.properties = find_grep_obj;
      var result = target_obj.findGrep(true); //=> reverse order [..., "3.inctorem","2.quibusda", "1.eatiorum"]
      app.findGrepPreferences = NothingEnum.nothing;
      return result;
    var i = match.length;
    while (i--) {
      st.insertionPoints[-1].contents = "\r";
      match[i].move(LocationOptions.AT_END, st);
    thank you.
    mg

  • How to access and set the object attributes in a task flow?

    I have created a web service data control which has an operation having input as payload object. This payload object has two attributes min and max. I am calling a task flow in a dynamic region in which I want to display result of this operation for which i have to set the values for min and max. I want to set these values when I click the taskflow link. How to achieve this? I am new to adf.

    Hi Arun,
    Thanks for your reply.
    I have tried passing parameter to a task flow, but i cannot set the action to a task flow call because it already has action for a method in a dynamic region which renders the task flow at runtime. How do i set action to task flow call link? Also once i get the parameters into the page flow scope variables, i want to pass those to one of my data control operation which displays the result in that taskflow.(i dont want to create parameter form for this operation).

  • UI Shell - how to allow ADF Library Bounded Task Flow to close itself

    Hi Richard
    Further to my other post, we're having lots of fun with the UI Shell, it's making mockups very easy.
    Question for you though based around the functionality defined in the UI Shell whitepaper. Say we've created our UI Shell application, and rather than wanting to create the bounded task flows in the app (ie.first, second, third), we create them as standalone bounded task flows deployed to ADF Libraries, and imported into our app separately.
    In the UI Shell examples bounded task flows are opened & closed via the UI Shell's own components (say the navigation page items or toolbar buttons), that call the methods in the Launcher bean (_launchActivity & closeCurrentActivity). It's fairly simple to rewrite the launcher helper methods in the launcher bean to call an imported ADF Library bounded task flow to open it as an activity, just referencing the correct task-flow.xml file.
    However as you know a bounded task flow has a "Default Activity" entry point and one or more "Task Flow Return" exit points. What I haven't been able to work out is how when the bounded task flow exits via a task flow return, can we call the closeCurrentActivity method in the Launcher bean? The UI Shell code examples demonstrate closing a bounded task flow by menu options/or similar outside the bounded task flow in the UI Shell, but it would seem reasonable if the bounded task flow exited via a "Task Flow Return" we should be also able to close the activity tab too.
    (....and as extension, before we even do that potentially call the checkState/isDirty() method to stop the user closing the activity too, but again driven by the bounded task flow attempting to exit).
    I could imagine inserting code into the bounded task flow finalizer to close the activity tab, but this pushes the UI Shell tab activity management logic into our standalone ADF Library bounded task flows which isn't ideal, especially if we want to later reuse them in another app which doesn't use the UI Shell.
    Any suggestions welcome.
    Thanks & regards,
    CM.

    And we're back again.... what's a couple months between friends?
    So it turns out after testing our app (d@mn, so close) that we've hit a bug with this approach.
    Our current app allows one BTF to be open in the UI Shell at any one time. Our menu options automatically open one BTF at a time by the user (max one open), and close the previous BTF. However we have some "special" BTFs that require the user to explicitly close the BTF, which in turn makes use of the regionNavigationListener solution I described earlier in this post.
    However we discovered a bug when we do a complete cycle of the 15 embedded regions within the UI Shell.
    Say we:
    1) Open a normal BTF in region 0
    2) Open another normal BTF in region 1 (our solution automatically closes the previous BTF)
    3) We then open another BTF (again the previous BTF is closed) in region 2, yet this a "special" BTF requiring the user explicitly to close it. Upon the user closing the BTF - this results in the regionNavigationListener being called and the removeTab() method called to close down the BTF in the UI Shell
    4) The user then open/closes multiple normal BTFs, one by one, rotating through regions 3, 4, 5 .... eventually back to 1 again
    5) Then the bug occurs - on opening any BTF back in region 2 (as part of the complete cycle of all regions), the tab for the region 2 opens, correct title, and via debugging the Tab.class has all the right settings including taskFlowId, but the tab is incorrectly empty
    doh!
    I've managed to track a symptom of the problem down that may explain what's happening.
    Each time a tab is rendered with a BTF, the Tab classes getBinding() method returns a reference to the binding required for the current BTF. However for some reason on the complete cycle, for "r2" it returns the binding for the previously user-closed BTF from step 3 above, even though we called the TabContext.removeTab() method.
    What I haven't been able to work out is how the bindings get turned on/off dynamically for each BTF being invoked. Presumably for some reason on step 3, the BTF's bindings aren't being correctly removed from r2 even though we called TabContext.removeTab().
    If anybody has any brain waves about what's going on and how to fix this problem, your help appreciated.
    Regards,
    CM.

  • Automatically add a current date at the end of the comments

    Hi,
    I have a form on a table with 5 fields... on one the field I am asking my users to enter comments...
    I am looking for a functionality to automatically add a current date at the end of the comments, only when they are updated or newly filled in...
    Please advice how can I do it... I am anticipating some sort of a trigger on column (when the data is modified)...
    Thanks

    automatically add a current date at the end of the comments, only when they are updated or newly filled inDo you want to add the date to the page item itself and hence show it to the end user as and when its changed, thn
    Assuming comments item is named '*P1_COMMENTS* , add the following to the "execute on load"
    $('P1_COMMENTS').change( function(){
      var d = new Date();
      $s('P1_COMMENTS', $v('P1_COMMENTS')+ d.toUTCString() );
    });If its to be done only when updating ie in the PLSQL block
    UPDATE <table name>
    SET <comments _column> = (  SELECT DECODE(  NVL(<comments _column>,'')
                                                                          ,NVL(:P1_COMMENTS,'')
                                                                          ,<comments _column>
                                                                          ,:P1_COMMENTS||TOCHAR(SYSDATE,'DD-MON-YYY')
                                                  FROM DUAL
    WHERE <condition>

  • EWA for java only systems - how to get ewa at the end

    Hi gurus,
    I have a solma system in which  all smd agent setup for portal was done and also all tasks (to collect data for EWA) are running well for ep systems aswel.
    We are at sps 17 in solman.
    I need to generated EWA for this portal system.I have no idea of how to generate it at the end.and i need that report routed to my mail.Some one please let me know how to generate EWA(after setup of every thing) and how to route it to mail address.
    Thank you.

    Hi ,
    Thanks for few inputs
    I have my EP system in system components in java (sub). and also in systems->netweaver->I have cinfigured my EP.But after this also I am unable to schedule it in DSWP.Can any one of you give some thoughts.(Seems I am missing some thing here - can any one let me know the procedure here to cross verify)
    Rohit,I followed that user guide with out missing a single point!.But still I am unable to pull my report..
    Tried manually with xml file(generated for EP from SM) and given it in DSM but it is saying no data available.
    Seems nothing is coming from my EP.
    Below are few exceptions in xml file.
    1) introscope data is missing
    Cannot find agent name Business-Sandbox_SEP_server0 for
    instance[IInstance: key=1178028371063144, type=[Server],
    nodeId=13865850, creation=Tue May 01 09:05:01 CDT 2007]
    for thie exception - not sure why my SM is not resolving EP's sid.
    Please not - SMD is  running fine in EP
    Any thoughts?
    2) PAR data is missing
    ORA-12505, TNS:listener does not currently know of SID given in connec descriptor
    The Connection descriptor used by the client was:
    Thank you.

  • To display "modified" by and "modifed date" and the end of every sharepoint page

    Hi there,
    I want to display
    "modified" by and "modifed date" and the end of every sharepoint page and I have as many as 2000 pages
    I have the code for it as below which I have placed in my master page
    <SharePointWebControls:DateTimeField FieldName="Modified" EnableViewState="true" Visible="true" runat="server" ControlMode="Display"/>by
    <SharePointWebControls:UserField FieldName="Modified By" Visible="true" runat="server" ControlMode="Display"/>
    The problem is I am not understanding under which div should I place it to be able to see it at the end of the page.
    Please suggest.

    Hi,
    According to your description, my understanding is that you want to insert the two fields at the end of the page by inserting the corresponding controls into the master
    page.
    The figure below will show how to insert code into master page:
    At the end of the page, it will be:
    Thanks,
    Dean Wang

  • How to insert data into the mysql table by giving as a text file

    Hi,
    Any one know's how to insert data into the mysql table by giving as a text file as the input in JSP.Please respond ASAP.
    Thanks:)

    At least you can try StringTokenizer to parse your text files. Or download a text JDBC driver to parse your files, for instance, HXTT Text(www.hxtt.net) or StelsCSV(www.csv-jdbc.com).

  • I use since 1 year iTunes match. Do I get a mail from apple to renew my subscription or do I have to renew my subscription for my own? I don't know the exactly date from the end of lifetime?

    I use since 1 year iTunes match. Do I get a mail from apple to renew my subscription or do I have to renew my subscription for my own? I don't know the exactly date from the end of lifetime?
    Kind best regards - sunshine34778

    The subscription will renew automatically (unless you have disabled that) and you will get an email approximately one month before renewal.

  • How to add spaces at the end of record

    Hi Friends,
    i am creating a file which contains more than 100 records.
    In ABAP i have internal table with on field(135) type c.
    some time record have length 120, somtime 130 its vary on each record.
    but i would like to add space at the end of each record till 135 length.
    Can you please help me how to add speace at the end of record.
    regards
    Malik

    So why did you said that in your first posting? My glass sphere is out for cleaning...
    Instead of type c use strings and add spaces until they have the appropriate length.
    loop at outtab assigning <pout>.
      while strlen( <pout>-val ) < 135.
        concatenate <pout>-val `` into <pout>-val.
      endwhile.
    endloop.

  • In Photoshop Elements 7, how do I free up the ends of a crop box independently?

    In Photoshop Elements 7, how do I free up the ends of a crop box independently?
    I require the end points to move independently to fit am image crop

    Thanks.
    You have helped tremendously!

  • How to process data in the past based from data in the present

    hello guys,
    i have a problem in my labview programs. how to process data in the past based from data in the present ?
    i have a formula self-organizing maps
    this formula is looking for D1, D1 is neuron index that will be searched for the smallest value.and the result are D1=2 ,D2=5, D3=17 from calculating with formula  .it means the smallest value is 2, "2" from weight [2 2] in file attached.
    and then it will be in other formula
    it mean [2 2] + 0.5 ( [1 1]-[2 2] ) = [1.5 1.5]
    and the weight will be  [1.5 2 2 ] in matrix
                                              1.5 3 5
    I would appreciate any input/help on solving this
    thanks
    Attachments:
    dika.vi ‏16 KB
    weight.txt ‏1 KB
    data .txt ‏1 KB

    Hi Ronny Hanks,
    Moving your records from internal table into the database table depends upon various scenarios :-
    1. If you use INSERT statement.
    INSERT <database_table> FROM TABLE <internal_table>.
    But in this case, you need to make sure that you don't have any duplicate entries in your internal table that violates data entry into database table, else you will get a dump.
    INSERT <database_table> FROM TABLE <internal_table> ACCEPTING DUPLICATE KEYS.
    In this case, you are forcefully inserting duplicate records into your database table which may lead to data redundancy in your database table.
    2. If you use UPDATE statement.
    UPDATE <database_table> FROM TABLE <internal_table>.
    This will update the existing records in your database table from the internal table.
    3. If you use MODIFY statement.
    MODIFY <database_table> FROM TABLE <internal_table>.
    This statement works both in combination of INSERT & UPDATE statements.
    Existing records (in database table) will be eventually updated/modified and new records (not in database table currently) will be successfully inserted into the database table.
    Hope this solves your problem.
    Thanks & Regards.
    Tarun Gambhir.

  • How to download data from the icloud?

    How to download data from the icloud?

    Settings>General>Reset>reset all content and settings. When iPhone restarts you will guide to restore from iCloud backup

  • A SWF Tag of type 75 contains 10 bytes of unread data at the end of the tag at byte offset 1762

    When building with Flash builder 4.7 I get two warnings I can't seem to track down.
    Those are
    "A SWF Tag of type 75 contains 10 bytes of unread data at the end of the tag at byte offset 1762" The other
    "A SWF Tag of type 75 contains 5464 bytes of unread data at the end of the tag at byte offset 797163"
    No file is pointed out or anything else to help.
    Any ideas what to look for, why this is a warning, possible implications & what to do?

    This is one output after running a variation of the script, but I get this   <!-- unknown tag=63 length=16 --> on all of the libraries
    Here is a link to the swc for further inspection https://dl.dropbox.com/u/154782/GoCoUtil.swc
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Parsing swf file:/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.345990/AIRSDK/bin/GoCoUtil.swc.swf -->
    <swf xmlns="http://macromedia/2003/swfx" version="14" framerate="24.0" size="10000x7500" compressed="true" >
      <!-- framecount=1 length=12927 -->
      <FileAttributes useDirectBlit="false" useGPU="false" hasMetadata="true" actionScript3="true" suppressCrossDomainCaching="false" swfRelativeUrls="false" useNetwork="true"/>
      <Metadata>
            <![CDATA[<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns:dc='http://purl.org/dc/elements/1.1'><dc:format>application/x-shockwave-flash</dc:format><dc:title>Adobe Flex 4 Application</dc:title><dc:description>http://www.adobe.com/products/flex</dc:description><dc:publisher>unknown</dc:publisher><dc:creator>unknown</dc:creator><dc:l anguage>EN</dc:language><dc:date>Sep 20, 2012</dc:date></rdf:Description></rdf:RDF>
    ]]>
      </Metadata>
      <EnableDebugger2 password="NO-PASSWORD" reserved="0x1975"/>
      <!-- unknown tag=63 length=16 -->
      <ScriptLimits scriptRecursionLimit="1000" scriptTimeLimit="60"/>
      <SetBackgroundColor color="#FFFFFF"/>
      <ProductInfo product="FLEX" edition="NONE" version="4.6" build="23201" compileDate="9/20/12 12:41 PM"/>
      <DoABC name="com/gogogic/common/util/interfaces/IParsableList"/>
      <DoABC name="_5655ee2c6f5749799717c751ad05c55879a42026a02d38e5e206aab452dbcc6f_flash_display_Spr ite"/>
      <DoABC name="com/gogogic/common/util/ShallowCloner"/>
      <DoABC name="com/gogogic/common/util/GoCoDataUtil"/>
      <DoABC name="com/gogogic/common/util/PropertyParseError"/>
      <DoABC name="com/gogogic/common/util/interfaces/IDataChange"/>
      <DoABC name="com/gogogic/common/util/vo/DataChangeVO"/>
      <DoABC name="com/gogogic/common/util/GoCoUtilVersion"/>
      <DoABC name="com/gogogic/common/util/event/DataChangeEvent"/>
      <DoABC name="com/gogogic/common/util/PropertyParser"/>
      <SymbolClass>
        <Symbol idref="0" className="_5655ee2c6f5749799717c751ad05c55879a42026a02d38e5e206aab452dbcc6f_flash_displa y_Sprite" />
      </SymbolClass>
      <ShowFrame/>
    </swf>

  • How to get data on the next page in case of templates if data is more ?

    please tell me how to get data on the next page while i m using template in my first page , if data is more howw it can be displayed on the next page ?

    HI Asim,
    template is fixed we  it can't be expand . u can better to use table line it can automaticlly expending if data is more ... u can create one more page like page 2 and create a window for entire second page ..then assign it in first page (next page page2).
    regards
    kiran kumar.

Maybe you are looking for

  • Download of SO10 - texts from r3 to crm possible ?

    Hello experts, we want to use texts from R3 TX SO10 in CRM. Can we download this texts ? Thanks Gerd

  • Receiving Script Error only on Reader extended PDF

    I'm working with a user who created a Livecycle PDF.  They have formulas to sum rows and columns.  Everything works fine in preview mode. However the PDF starts throwing an error when I reader extend it.  I'm not sure why or what I need to do to fix

  • Vista Install or Image CD/DVD

    How can I Re-install the Vista OS ?  There weren't any Vista or Image CDs included in the box, just a Vista drivers CD.  Can I purchase the Image CDs? Thanks. Message Edited by ryanhi on 09-10-2008 05:49 AM

  • Can I use an alternate Display

    I was wondering if I could use a hdmi cable to route my display on to my television?

  • Knowing when popup opened

    In win32 programming when you open a modal dialog/popup the underlying application does not recieve any ui-related messages, but not so in flex.. I have a problem with a custom uiComponent that hides/changes the mouse cursor when the cursor goes over