Inbox Item Bulk Operation Limit

I have a functionality like all the inbox item for a particular user with Role has to be downloaded to excel sheet and update from excel sheet. Then upload to Application. Once uploaded I want to move all inbox item to next activity.
I do something like below..
inboxItem.grab(grabActivity : "GrabMyEvents");
inboxItem.runTask(activity : "GrabMyEvents");
inboxItem.routeBack(skip : false);
It work for 400 inbox items. User may have around 2000 inbox items. Is there any limit on this or I am doing something wrong?
I get following if I try above 400.
Caused by: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_NOTA start() failed on resource 'XAENGINEDS': XAER_NOTA : The XID is not valid
javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA Error Occurred. Native Error: 24756
     at weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
     at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
     at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
     at weblogic.jdbc.jta.DataSource.start(DataSource.java:695)
I use Oracle BPM 10.3.0.1

Let me clear little more so that somebody can help me....
I have code something like below
Fuego.Papi.Instance inboxItem;
Fuego.Papi.ProcessService processService;
processService.connectTo(url : Fuego.Server.directoryURL, user : "user", password : "pwd");
Then I get each process instance using below
forEach(records in our application database){
inboxItem = processService.getInstance(instance : "instance Is's which stored in application database");
inboxItem.grab(grabActivity : "GrabMyEvents");
inboxItem.runTask(activity : "GrabMyEvents");
inboxItem.routeBack(skip : false);
processService.disconnectFrom();
The above code works fine for around 400 records.If I try for more than 400, I get following errors thrown by BPM
Caused by: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_NOTA start() failed on resource 'XAENGINEDS': XAER_NOTA : The XID is not valid
javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA Error Occurred. Native Error: 24756
at weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:695)
But I do see that all loop is executing for 2000 records also. Looks like something BPM internally throw this exception. I feel some configuration change in BPM will fix it. Is there any limit with BPM which can handle Fuego.Papi.Instance at a time in loop?

Similar Messages

  • Insert and Updateusing Bulk Operations

    Hi,
    We are on 10g (10.2.0.5.0).
    We have a batch that will insert/update ~30mm records in each load. The logic is usual if a record exists in target table update it if not insert.
    Considering the amount of data to be loaded simple For loop will be very performance intensive. I am looking for a way to do this upsert using bulk operations if possible and want to check if someone can share their experience with similar situations.
    Off course all 30mm records will not be loaded in one go, these will be divided into small chunks say 100k.
    Thanks
    AT

    MERGE should be more efficient than rolling your own merge process using loops and collections. I'm not sure what "poor performance" you're referring to.
    You could, of course, create a cursor on the source table, loop through the cursor doing a BULK COLLECT with a LIMIT into a local collection, do a FORALL with a SAVE EXCEPTIONS to try to insert the data and then go through the exceptions to issue an update. You could also iterate over the collection in a FOR loop, issue the UPDATE, check how many rows were modified, and do an INSERT if there were no rows updated. Either option should be substantially slower than a single MERGE but it would let you use bulk operations. Which of the two is more efficient will depend on your ratio of inserts to updates.
    Justin

  • Mis match in attributes of item category B-limit and PO item details

    Hi
    I could not able to create a Blanket PO with document type FO and item category B (limit).
    Normally for a blanket PO, GR is not allowed and IR is mandatory. So, I could able to see these checkboxes for GR (not set and grayed) and IR (set and grayed) in the item details of the PO in delivery and invoice tabs. But I end with an error message that 'GR is not set is used is not allowed' (exactly i don't remember but some thing like that)
    Before creating a blanket PO,  I found that in 'attributes of item categories', that for the item category B, GR is set and IR is not set (in customizing-OMH4). Of course, one cannot change the attributes of item categories.
    I suppose due to this mis-match in the attributes of item categories and that in the PO, I'm getting an error message while creating a blanket PO and could not able to save.
    Also I have checked all the system messages for the message displayed. No where(i.e. in any message class or category and for that message number) I found any such message defined with error in 'attributes of system messages' for purchasing, material master, inventory, invoice verification etc.
    I suppose this error message is coming somewhere from the application program for the PO.
    So, what can be the solution
    waiting for your reply.
    thank you
    Message was edited by:
            srinivas vandana

    Thank you for your answer. I haven't mention this point in my thread but I have already tried this.
    I have tried matching the GR and IR controls of account assignment category with PO GR, IR controls and also with item category B, GR, IR controls. Still i am getting the same error and could not able to save the PO
    Also I have checked the field settings for PO for all categories like transaction relevant, item category relevant, etc in customizing.
    Main problem is both GR and IR controls are being grayed in PO. Other wise I could able to change them as per my wish and could able to avoid the error even though the GR and IR controls in PO are correct as per the process requirement.
    If possible, please check the GR and IR controls for item category B (in my system it showing that GR is set with binding and IR is not set with binding). But it should be reverse as per the process requirements and in limit PO it is showing correctly. i.e. with GR is not set with binding and IR is set with binding.
    thank you

  • PR with combination of item category B = limit, and account assignment : F

    Hi,
    Is it possible to create a blanket purchase order/framework requisition with combination item category B = limit, and account assignment : F ?
    Thanks in advance.
    Sachin
    Edited by: Sachin on Sep 20, 2011 12:05 PM

    Hi A.Purihella / Raj,
    Thanks for your reply 
    I have maintained the B and F combination in the customization.
    But when I am creating the PR using item category B with account assignment F (order) and after pressing enter, this account assignment F vanished from the PR and that field also turns in to gray mode. So system is not allowing to use u2018Fu2019 with B item category.
    Have you used or tested this scenario of using combination item category B with account assignment F (order) in PR and PO.
    Best Regards,
    Sachin

  • Sales Order Free item and Credit Limit Checking

    Hiii Guys,
    need your help,
    How to release Sales Order free item when credit limit exceeded ?
    Here some info :
    Customer : ABC
    Credit limit : 50,000.00
    Credit Exposure : 52,000.00
    Risk Category : 003 High Risk
    My user want to create sales order for free item for customer ABC, the customer abc credit limit already exceeded .and the item in sales order not contain any value, it should past the sales order creation. how to allow Free item past the credit limit checking ?

    To reslove this issue,
    I. you can create a new sales order type. for which you make the credit control de-active.
    2. If you can't create a new order type and this cotrol should happen at item category level.
    then try config at the IMG>Sales & Distribution>Basic function>creditmanagement>credit management/riskmanagement setting>Determine Active Receivables Per Item Category.
    Regards/Rakesh Jindal

  • How to create an inbox item with attached BOR object?

    Dear Colleagues,
    Does anyone of you know a simple way to create inbox items for a user?
    I would like to use the inbox for notifying users and attach a BOR object to the message as attachment. Is there a good and plain way to do that?
    It would also be good, to be able to do the determination of the receiver by a customizable responsibility or something similar, so that it is not hard-linked to SAP user accounts.
    Does anyone of you know a solution for this, that is not too complicated?
    Also I read that in the future notifications should be usable in the UWL (Universal Work List).
    I did not find anything but marketing material on UWL and I would not be terribly happy to set up a portal just for sending simple notifications/work items to people. Does anyone have a clue on how to accomplish this?
    That would be wonderful, thank you.
    Regards
    Christian

    Dear Scott,
    Thank you for this hint, the function looks promising.
    Is there a way to specify a receiver group and a text for the text part of the message?
    There is a Parameter called RECTYPE, which is expected to contain a "task id". The text seems to be derived in some way from the object type. Do you know any documentation or sample where this is used?
    How do I specify the recipient and the message subject and text?
    Concerning a single-step workflow: I don't know what the advantages/disadvantages are. The system receives a message or discovers a problem and wants to inform the related user.
    A simple workflow should be possible, but I have no idea what that means in terms of complexity for implementation and customizing.
    Sorry for so many questions and thank you.
    Christian

  • Exchange generates failure report emails for Inbox items which haven't attempted to be synced

    Hello,Our ActiveSync client is reporting errors to the user when the user is sent certain types of recurrence invites. If an invite to a meeting is sent from the Outlook Web App to the user, and the user then syncs their Inbox (using our ActiveSync client and the Sync command), instead of receiving the correct email, they will get an email indicating an error:
    From: Microsoft Exchange on Behalf of *user’s name*
    Subject: Synchronization with your WinRT failed for 1 items.
    Body:
    Synchronization with your Winrt failed for 1 items.
    The following items couldn’t be sent to your mobile phone. They haven’t been deleted …
    Item Folder: Inbox
    Item Type: IPM.Schedule.Meeting.Request
    Item Created: *date*
    Item Subject: *subject of missing email*
    (WinRT is the name of our client currently.)
    This occurs consistently when the invite is for a recurring meeting, which occurs on the last day of a month, yearly. (Yearly on the nth day of the month)
    It also seems that after one of these error emails appears, other items start to be added in with it, although this could just be the result on my side from a lot of testing side effects.
    There’s two strange things to note about this error.
    The Exchange server never attempts to even send the items via ActiveSync to our client, so the error does not seem to be caused by our Sync request. I’ve used Fiddler to examine the calls, and we never receive the original message in any form.
    The Windows Mail client (in Windows 8.1), which uses ActiveSync, has no problem Syncing the very same items that are causing the errors to appear. This gives the impression that something can be done to remedy the problem, but I have no idea what.Thanks
    ArchieCoder

    Hello ArchieCoder,
    This is certainly not what I would expect to see. However, I can't say with certainty that it's related to the syncing issue.
    I went back and looked at the Fiddler trace you took from the Windows Mail client. It gets the same FolderSync response. The first three folders in the response look like I expect--Calendar has ServerId 1, Contacts has ServerId 2, and Deleted Items has ServerId
    3. After that, the ServerId value jumps to 11 for the Drafts folder, so it and all of the subsequent folders have a ServerId value that is 7 higher than what I would expect to see.
    What seems especially weird to me is that the Windows Mail client proceeds to issue a Sync request for the list of CollectionIds I reported earlier, despite several of them being absent from the FolderSync response. Furthermore, it looks like the Windows
    Mail client is getting Inbox items that are identified as being in CollectionId 5:
    <?xml version="1.0" encoding="utf-8"?>
    <airsync:Sync xmlns:airsync="AirSync">
       <airsync:Collections>
          <airsync:Collection>
             <airsync:SyncKey>933450273</airsync:SyncKey>
             <airsync:CollectionId>5</airsync:CollectionId>
             <airsync:Status>1</airsync:Status>
             <airsync:Commands>
                <airsync:Add>
                   <airsync:ServerId>5:391</airsync:ServerId>
                   <airsync:ApplicationData>
                      <email:Subject>Canceled: Last day of december</email:Subject>
    I'm really at a loss for what is going on with this. How difficult would it be for you to test this with your client assuming that Inbox is CollectionId 5 instead of the 12 that is returned from the FolderSync? I am afraid we might be focusing too closely
    on this particular aspect of the issue without being sure it could be causing the real problem, so I think it would be good if you can either reproduce the failure syncing CollectionId 5 instead of 12, or show that your client fails in some other way if it
    tries to sync CollectionId 5. A Fiddler trace of the outcome of that test including both the FolderSync response and Sync request/response would be the next logical step here, I think, assuming that that is doable. Please let me know what you think.
    Best regards,
    Matt Weber | Microsoft Open Specifications Team

  • Selected inbox item could not be processed

    1. I access inbox workcenter and filter my appointment. I choose specifed activity and press interact button. System show error message "Selected inbox item could not be processed". Why? How to deal with problem?
    2. I want to the interact button concept in sap standard . If I press interact button, what it follow? to transaction document or to account identfication ?thanks

    Hi Sylvain:
          I use person 92543 as my activity partner. So it would be B2C scenario. I customize the account partner function  in my BP determination. But system show same error. When I touch a row of partners list , the error disappear. it is strange.

  • Pushing BO inbox item to Lotus Notes and SAP Inbox.

    Hi ,
       Can we  Push BO inbox item to Lotus Notes and SAP Inbox. if we do it then how to do it.
      Thanks in Advance.
    Regards,
    Yagyashikha

    Hi,
    well you should ask your Lotus Notes administrator to setup an SMTP gateway on the LotusNotes side for you. I know that this is possible but I have not done it myself before. And since this is an SAP BusinessObjects forum I am not sure you will get an answer about this here.
    Regards
    Stratos
    PS: I found the following link in the internet
    [http://www-12.lotus.com/ldd/doc/domino_notes/Rnext/help6_admin.nsf/89d3962efd85426f85256b870069c0aa/f0e11c47fc62bc2e85256c1d00394ef9?OpenDocument]
    Not sure if this applies to your version though.

  • Relation Between PR item and Operations Maintenance Order

    I have a PR from Maintenance Order.
    there are 2 Operation External in Maintenance Order. usually it will create 2 item PR Service. but in my case it's create 3 PR item Service.
    I look on the IW33(Display Maintenance Order).
    Operation 10, becomes PR Service Item 10
    Operation 20, becomes PR service item 30
    and there is 1 another PR service item 20.
    I see in the Tab Account Assignment. it's refer to the same order. but i don't know where is the Operation. the question is How to delete this Item when we don't know the Operation in Maintenance Order. or maybe how to know what is the Operation.?
    Thanks.

    Hi Ajit Kumar.
    No i'm sure that PR item 20 is not with a delte flag. Actually user want to delete the PR item 20. so he try to delete the Operation 10 in Maintenance Order. but when he do this, PR item 10 was deleted and not PR item 20.
    Thanks for your Reply.
    Hi Jürgen L.
    Yes i know how to display Deletion in Maintenance Order. and i'm sure when i do that. the operation for PR item 20 are not listed.
    BTW. do you know  how to undelete the operation.
    Thanks for your Reply.

  • Item "Start/stop table":  Counts towards 100 item per page limit?

    One of my form pages has many items and aligning them all just right is quite a chore.
    I found myself using lots of those handy "start/stop table" items instead of fighting with the colspan, rowspan, New Line/New Field attributes.
    Question: Do these "start/stop table" items count toward the 100 item per page limit?
    [I hope the answer is No]
    Thanks

    Vikas - The answer is no. It's only when the counter gets incremented, e.g., between p_t01 and p_t02, ... You can see that the stop-and-start (not star/stop) items do not generate html items with such a sequence component.
    Scott

  • Import/Export Wizard is a bulk operation?

    If I use import/export wizard to load data from a file to a table will it do it as a bulk operation and will be minimally logged when using bulk logged recovery mode?
    http://technet.microsoft.com/en-us/library/ms191244(v=sql.105).aspx  

    Yes. The Import Export wizard creates a SSIS package on the backend which will have default transfer option as below
    This is same as BULK INSERT and so it would be minimally logged in case of BULK recovery mode.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SC Template error: "Enter at least one item or one limit"

    Hi,
    When creating a Purchase Order,based in a Shopping Cart Template, when we add the item to the Purchase Order, we are getting this error that does not permit to continue:"Enter at least one item or one limit". This error looks a mistake, as we are only trying to transfer an item.
    Sounds familiar?
    We are using SRM v5.0.
    Thanks,
    Maria

    Issue solved with the following Notes Implementation:
    Notes: 1054481; 1054487; 1179589 ; 1381642 and 1435295

  • Good bulk collect limit

    I wrote a plsql procedure using bulk collect / forall
    The procedure uses bulk collect to fetch from a normal cursor, Then I am using for all to insert into
    target table, The number of rows are 234965470
    Question:
    What should ideally be the limit for my bulk collect ?
    According to below, it should be in hundreds
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1583402705463
    I put a bulk collect limit of 50000 - took close to 2 hours
    then i tried 10000 - just 3 mins shorter than the above time
    But if you commit every 500 rows, Then is there not another theory that frequent commits is not good ?

    user650888 wrote:
    What should ideally be the limit for my bulk collect ?The answer to that is, What Does a Bulk Collect Do?
    And no, it is a fallacy that it makes SQL faster. It does not. Never did. Never will.
    A bulk process reduces the number of calls that need to be made to the SQL engine. In PL/SQL that is called context switching as the PL and SQL engines are tightly coupled.
    If for example, the SQL cursor outputs a 1000 rows and single row fetches are used, a 1000 calls or context switches are required, for transferring the row data from the one engine to the other. If a bulk processing of a 100 is for example used, then only 10 context switches are needed. That is a significant reduction in context switches.
    If you do a 1000 row bulk collect, only 1 context switch is needed. That is a barely noticeable difference in the time between 1 and 10 context switches. So using a bulk limit of a 1000 will not improve performance at all versus a 100 row limit.
    There is a price for this - bulk processing needs to use very expensive private process memory on the server. Oracle calls this the PGA. Consider the difference in memory between a 100 limit and a 1000 limit. 10x more PGA is needed for a 1000 limit - and no real performance gains result as there is a negligible reduction in context switches.
    A 100 limit is often bandied around as the bulk collect limit that is the best. That is not really true. If the rows are very small, impact on the PGA is less severe - a higher limit can make sense.
    Likewise, if the rows are very large (100+ large columns fetched), then a 100 limit can make an unreasonable demand on PGA... which will quickly become a bad performance situation when a bunch of clients all execute this code at the same time.
    So the sweet spot for a bulk limit typically varies between 10 and a 1000.
    I put a bulk collect limit of 50000 - took close to 2 hours
    then i tried 10000 - just 3 mins shorter than the above timeThis is just plain wrong. As you've seen, you are not improving performance at all. In fact, your code can cause severe performance problems on the server due to the high demand on private process memory being made, and the increase in work of the swap daemons that need to keep up with this demand.
    Bulk processing DOES NOT INCRESASE SQL performance. This is important to understand. The ONLY THING that it does, is to reduce the number of calls between the SQL and PL/SQL engines.
    But if you commit every 500 rows, Then is there not another theory that frequent commits is not good ?That is not just plain wrong, but an idiotic approach. A commit is work. Why do you want to add more work to the process and expect that to increase performance?

  • Quick questions (bulk operations, WAN, provisioning, split brain)

    Thank you for your assistance with the following questions..
    1. Can I use the "disk overflow" feature when using the "partitioned cache" topology? I need to just do puts and gets.
    2. Are bulk operations (i.e. bulk put, bulk get, bulk erase) available in all cache topologies? I am interested in bulk put/get when using a "partitioned cache" and when using your "WAN capability" to connect geographical dispersed clusters (Coherence*Extend). Do you guarantee data and event delivery over the WAN?
    3. Does the WAN capability (Coherence*Extend) allow multiple clusters to talk with each other (N:N) or does it only support a "star topology" (1 main cluster connected to N other "peripheral" clusters)?
    4. As a result of a load bottleneck (i.e. a cache server(s) running too hot) in a "partitioned region" topology, can I "on-the-fly" add new cache servers/boxes to load balancing my "client load"? What client load balancing policies are typically recommended (i.e. sticky, random)? How does dynamic provisioning of new servers (e.g., adding more RAM to my distributed cache) affect the hashing of my map regions and my network bandwidth? What kind of performance would I expect if I add one or more new cache members when I was close to have an OOM on one or more of my already running cache servers? Even if I was not close to an OOM, what kind of network spike would I expect and what kind of client operation latency should I expect?
    5. Could I have more information to understand your "data location transparency"?
    6. How do you solve "split brain" problems (i.e. sets of members get separated and later try to rejoin cluster)? Do you have or is it possible to implement a "quorum-based policy" to decide who should live and who should die? We have seen "split brain" problems with messaging retransmission storms in the past and are looking for options.

    Hi user614602,
    1 - 3. Yes to all.
    4 - 6. Those are quite advanced and open-ended questions (and by no means "quick"). Please contact your sales rep to schedule a conference call to discuss your requirements and how Coherence addresses the issues you rise.
    Regards,
    Gene

Maybe you are looking for

  • How do I put a image logo at the end of my video?

    I recently migrated to a Mac from 25 years on a PC, but I'm having trouble with a little problem. I can't find a way to put my logo at the end of the videos I create. I've watched the tutorials, and the logo always ends up cropped, no matter what siz

  • VPN anyconnect no Ping ip firewall

    II have a management network 192.168.5.x and VPN network 192.168.25.x. I can ping a all my network elements except to firewall (ASA5510). The ASA has the IP 192.168.5.1. I think that the firewall has some restriction but I don't know. I have 8.2 soft

  • Why these tablespaces are cofigured "management manual" by default in 10g?

    By default, the tablespaces such as system,temp,and undo are cofigured "management manual"(segment management),not "auto"? Why? Is "management manual" better than "management auto" for these tablespaces? Message was edited by: frank.qian

  • Nike+ data not sending

    I have a 6th generation ipod nano, which I've had and used happily for over a year.  On Sunday when I logged into itunes it said there was a new version of itunes available so I uploaded it.  Now when I sync my ipod I get a message saying that it can

  • HT204053 how do i send my contacts from my macbook to my iphone

    how do i send my contacts from my macbook to my iphone