Sorting multiple messages in ccBPM

All,
we have a multiline collection item in ccBPM. The structure of one message is as follows,
<source>
<index>3</index><data><name>j</name><desc>some desc</desc></data>
</source>
The multi-line item has many messages of the above type - with unique values for the <index> node. we need to sort this multi-line item using the <index> node value. (it will always be an integer).
How can we use the "sort" node functions and do this?
Thanks.

Raj,
The source and target structures are the same and both have occurences 0..unbounded.
source Collection.
<source>
<index>3</index><data><name>j</name><desc>some desc</desc></data>
</source>
<source>
<index>200</index><data><name>j200</name><desc>some desc200</desc></data>
</source>
<source>
<index>1</index><data><name>j1</name><desc>some desc1</desc></data>
</source>
<source>
<index>2</index><data><name>j2</name><desc>some desc2</desc></data>
</source>
On the To-side, we need the collection to be like,
<source>
<index>1</index><data><name>j1</name><desc>some desc1</desc></data>
</source>
<source>
<index>2</index><data><name>j2</name><desc>some desc2</desc></data>
</source>
<source>
<index>3</index><data><name>j3</name><desc>some desc3</desc></data>
</source>
<source>
<index>200</index><data><name>j200</name><desc>some desc200</desc></data>
</source>
Basically - on the to-side the nodes are sorted by index.
Thanks.

Similar Messages

  • Selecting and moving many messages not working - try sorting by message classes

    I posted this a while back, and have an update now.
    I file my sent items.  Call me crazy, but I like to at the end of every quarter, move sent items from that quarter into sub folders.  It's usually 2-4000 items, and ever since I installed OL2010, I have had weird issues when trying to clean my Sent items.
    Example:  Select 2000 items, sorted by date from Sent Items.  Drag and drop to my 2009Q4 folder.  It then prompts me "Creating a new item from the selected items could take some time. Are you sure you want to create a new item from these 2000 items?"
    So I figured possible Ctrl is stuck down or something, so I right click, Move, select the folder.  Same issue.
    I start selecting smaller data sets.  I got to about 50-60 items at a time that I was able to move and not get that message.  I got frustrated and stopped working on it.
    This morning, I decided to re-test this.  Same issue presents itself.  So instead, I sorted by message class.  I was able to select 3800 message items.  The remaining items were messages with attachments, text/mobile messages, and calendar invite responses.
    It appears that some combination of selecting multiple message classes was triggering my issue.  I suspect the newest of them, the mobile messages to be the issue, so I deleted them, and retried, nope, same error, even selecting only the show message class types.   Would like to see this fixed, of course, and will be sending a frown with the link to this thread as well.
    Chris

    I had this problem too.  For me, simply sorting by message class, then finding all the calendar items and moving them first, then going back and doing the rest, allowed me to move them as I liked.   However, its not clear to me that I have
    all message classes (not sure what they all are), so it could be there are other message classes that cause problems when you move "mixed classes".   I do think this is an MS Outlook bug, but not clear anyone has reported it to MS.  ;-<
    You can prove this by simply selecting a calendar item and a msg, and try moving the two.  You will have this issue.
    However, you'd think that MS itself would be a vast user of MS Outlook and if we're discovering this, you'd think MS internal folks are too, so I'm deferring to them to self-resolve.   Until then, I'll just use this workaround.
    Definition of "Message classes" for others reading this...  You may have already inferred, but two examples of "classes" are a normal email (.msg) and a calendar item.  You can sort these by clicking on the "icon" field at the top of your email
    folder, just to the right of the "bell" (Reminders).   Not sure how to put a .JPG in this posting, since a picture would explain this much better than I can using words.

  • I am unable to sort multiple columns in a table created in Pages.

    I had been using Appleworks up until I installed Lion and have now switched to iWork. I created a table within a Pages document and am able to sort a single column (using the Table Inspector and choosing Sort from  Edit Rows and Columns) but the Sort option is grayed out when I attempt to sort multiple columns.
    In another post, someone talked about this being a problem if you have merged fields. I do not believe I have done this (to be honest I don't know the function of merging fields).
    This is very frustrating as I was easily able to sort these tables in Appleworks.

    Sharon Anderson wrote:
    Thanks for your quick response! I have been trying that but then found that Numbers would only let me print in landscape view so I had to paste the table back into Pages. Is there a way to print in portrat view (from Numbers?)
    Not so. In the lower left corner of the window, there's an icon that looks like a piece of paper. If you see this:
    you are in Sheet View, or normal, mode. If you see this:
    You are in Print View mode. Now you see the icons for portrait and landscape modes. Click your choice. Then arrange your content to fit the pages as you wish.
    Jerry

  • How do you select multiple messages/conversations on SMS/MMS to forward or save to memory card on Samsung Stratosphere?

    How do you select multiple messages/conversations on SMS/MMS to forward or save to memory card on Samsung Stratosphere? 
    My screen is cracked and I need to replace my phone and I don't see a way of selecting multiple messages or even conversations one at a time to forward them to email or to save them to a memory card.  I can delete thread but can't forward it or move it.  Is there a setting somewhere that will move the storage location for messages to the memory card instead of internal?
    If not, any suggestions on backup apps?  I have heard of Txtract to back up SMS and MMS messages, and Titanium Backup to back up everything (SMS, MMS, apps, app data...).  Anyone have any experience with those, or other suggestions?
    Thanks!
    Rich

    <Duplicate topic.  This thread will be locked.  Please see Help transferring data (SMS, MMS, Apps, App data) to new phone? for any replies.>

  • How to sort the messages in Browser Console by time

    In the Browser Console the messages are sometimes out of order. This can be confusing when debugging an application. Is there an easy way to sort the messages by the timestamps?
    See also: https://bugzilla.mozilla.org/show_bug.cgi?id=854435.
    It seems this has been the case for some time. I am seeing it in version 26.0. I can copy the messages to a spreadsheet and sort them there, but that's a bit tedious.

    Thanks cor-el. I notice this in the interleaving of Net and Logging messages. I haven't yet noticed a case where Net or Logging messages alone are out of order. Separate threads with different latency to posting messages makes sense.
    From my perspective, hiding the timestamps isn't a solution. It obscures the problem rather than fixing it. I noticed the problem before I looked at the timestamps carefully. When I'm debugging, the order of events is sometimes essential to a correct understanding of what is happening. So, I hope that in addition to giving people the option to hide the timestamps, an option to sort the messages by timestamp will be added. If it were my choice, sorted by timestamp would be the default.

  • How to show multiple messages for a single exception

    hi
    Please consider this example application created using JDeveloper 11.1.1.3.0
    at http://www.consideringred.com/files/oracle/2010/MultipleMessagesExceptionApp-v0.01.zip
    It has a class extending DCErrorHandlerImpl configured as ErrorHandlerClass in DataBindings.cpx .
    Running the page and entering a value starting with "err" will result in an exception being thrown and multiple messages shown.
    See the screencast at http://screencast.com/t/zOmEOzP4jmQ
    To get multiple messages for a single exception the MyDCErrorHandler class is implemented like
    public class MyDCErrorHandler
      extends DCErrorHandlerImpl
      public MyDCErrorHandler()
        super(true);
      @Override
      public void reportException(DCBindingContainer pDCBindingContainer,
        Exception pException)
        if (pException instanceof JboException)
          Throwable vCause = pException.getCause();
          if (vCause instanceof MyMultiMessageException)
            reportMyMultiMessageException(pDCBindingContainer,
              (MyMultiMessageException)vCause);
            return;
        super.reportException(pDCBindingContainer, pException);
      public void reportMyMultiMessageException(DCBindingContainer pDCBindingContainer,
        MyMultiMessageException pException)
        String vMessage = pException.getMessage();
        reportException(pDCBindingContainer, new Exception(vMessage));
        List<String> vMessages = pException.getMessages();
        for (String vOneMessage : vMessages)
          reportException(pDCBindingContainer, new Exception(vOneMessage));
    }I wonder if calling reportException() multiple times is really the way to go here?
    question:
    - (q1) What would be the preferred use of the DCErrorHandlerImpl API to show multiple messages for a single exception?
    many thanks
    Jan Vervecken

    fyi
    Looks like using MultipleMessagesExceptionApp-v0.01.zip in JDeveloper 11.1.1.2.0 (11.1.1.2.36.55.36) results in a different behaviour compared to when used in JDeveloper 11.1.1.3.0 (11.1.1.3.37.56.60)
    see http://www.consideringred.com/files/oracle/img/2010/MultipleMessages-111130versus111120.png
    When using JDeveloper 11.1.1.2.0 each exception seems to result in two messages where there is only one message (as intended/expected) per exception when using JDeveloper 11.1.1.3.0 .
    (Could be somehow related to the question in forum thread "multiple callbacks to DCErrorHandlerImpl".)
    But, question (q1) remains and is still about JDeveloper 11.1.1.3.0 .
    regards
    Jan

  • Adapter file sender doesn't split file into multiple message

    Hi everybody.
    We are in PI 7.0 SP10.
    In adapter file sender, I want to split a file into multiple file.
    We use protocole "file content conversion"
    in the field "recordset per message", I put the value 10 to test.
    The file content 30 records .
    The result we have is the treatment is not split into multiple message .
    The treatment is made but with one message.
    I need  to treat big files.
    Is there some one who have an idea  why t doesn't work ?
    Thanks in advance for your help.
    Regards
    Edited by: Eric  KOralewski on Jun 25, 2009 3:14 PM

    Hi,
    have you specified recordset name......if not, then specify it.............
    in recordset structure, specify like RECORD,1 and not RECORD,*
    again test your scenario......if still your file data is not getting split, then ask your basis guys to do a full CPACache refresh using PIDIRUSER..........your basis guys will know how to do it..........then again test your scneario............
    Regards,
    Rajeev Gupta

  • Cannot select multiple messages in a sequence diagram

    In sequence diagrams, deleting multiple messages is tedious because multiple messages cannot be selected by using a selection rectangle.
    1) If the rectangle contains a single message, its object is also highlighted. So when multiple messages are selected, the corresponding objects are selected.
    2) If the selection rectangle overlaps a single line of the combined fragments box, the entire box is selected.
    I could same time if Studio used normal CTRL conventions. In other applications, holding down CTRL has two possible results.
    1) If the item to be selected is not highlighted, then that item becomes highlighted and is added to the selection group. Studio does this.
    2) If the item to be selected is already highlighted, then that item becomes non-highlighted and is removed from the selection group. Studio does not do this. So I cannot use a selection rectangle, then selectively use CTRL to remove unwanted items from the selection.
    Can anyone suggest a way of selecting multiple messages?
    As a side issue, does anyone know how to remove individual items from a selection?

    TreySpiva wrote:
    Have you tried using the Shift key when selecting?It's the same problem. Selecting one or more messages also highlights the sending and receiving objects associated with the messages. Pressing DELETE at this point would also delete the objects.

  • Multiple message threads from same person

    I have multiple message threads from the same person in messages on my iPhone and iPad. One comes from their phone number and one from their email. Here are all the details, I would love to be able to combine them into one thread.
    This other person and myself each have a new MacBook Pro, iPad Air 2, I have an iPhone 6 and they have an iPhone 5S. They are all updated with the most recent system software.
    On my MacBook Pro, the conversations that are split on my iPhone and iPad are not split. On the MacBook Pro, all of the texts from both conversations are appearing in one. In my contacts which are syncing with iCloud I have both the phone number and email address of this other person.
    I have messages set up on all of my devices to send and receive from my phone number and my email, start new conversations is from my phone number. This other person has it set up the exact same way on all of their devices.
    So why when I text this person from one conversation thread and they respond it comes through to the other conversation thread?
    Why can't I seem to join these two conversations when everything is set up the way it should be and they ARE joined on my MacBook Pro but not my iPhone and iPad?

    She kept the same number on her new phone, but now there are 2 conversation threads. A new one started with messages sent from the new phone, the old phone should be out of service now. Why didn''t  messages sent by the new phone resume in the same conversation? I assume because it's a different IMEI.  But now whenever I use her  phone number to create a new message, it goes in the old IMEI*'s conversation thread and is therefore not delivered. It's in green so it thinks it's an SMS also not a iMessage device.
    If I want to send a message correctly  to the new phone, I have to make sure I  go into the correct newer thread and enter it there,
    For your second answer, the person is receiving the message but the thread now says "email address", not the person's name in the contact list. The sender is sending to the person's phone number, not her email address.

  • In Earthlink Webmail, the "check all" and "delete" button for deleting multiple messages no longer function (although they work in I explorer).

    When using the webmail application for earthlink email, the "check all" option to select an entire page of messages at once no longer functions. Same problem with the "delete" buttons that are located at the top and bottom of the page with multiple messages. Consequently, the only way to delete a message is to open the message and delete it in that view -- extremely tedious if there are a lot of messages.
    This is a recent change, in the last few days. Everything works fine in I explorer. Earthlink support suggested I start Firefox in safe mode and restore firefox default settings. I went through the process on the help page. It didn't help.
    I'll provide the earthlink link, but it is my email page that is the problem.

    Same here.
    - select multiple mails with the SEARCH option (manually selecting seems to work fine)
    - click the move button
    - list of folders appears (witn account &amp; cancel options that both still work)
    - click on a folder
    - mail flies to this folder (animated)
    - list of folders remains visible
    - the cancel button does NOT work
    - the accounts button takes you back to the root "directory" of your accounts
    - in my case "live" and "exchange"
    - this screen is a dead end. Clicking on both the account names and the cancel button do not work
    A complete restart fixes the problem

  • Processing of multiple messages Using BPM

    Hello everybody,
    I am pretty much a newbie to this XI technology. I am currently testing a File to File scenario Concerning BPM. The source file contains multiple messages in an XML structure. How can each of these XML messages be posted as individual files? I have reffered to this <a href="/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi on BPM as a guideline; but here the number of messages are restricted and I want to dynamically determine how many messages are contained in the XML file. Anybody has any idea how to achieve this?
    Thanks and Warm Regards,

    Hello,
    The blog you mentioned is for cutting one file into 2 files.
    I think you need to use the "<b>ParForEach</b>" step in the BPM. This step is used to loop on a multiple line message and create a single message in one branch. Then you can add a send step in this branch and end only one message.
    <u>See the Flight Demo :</u>
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/cede3fc6c6ec06e10000000a1550b0/frameset.htm
    <u>Object in IR :</u>
    BASIS -> http://sap.com/xi/XI/Demo/Agency -> BPM -> MultipleFlightBookingCoordination
    Regards,
    Chris

  • Multiple message through FIle Adapter using XI 2.0

    I have scenario to create multiple message using File adapter .My file structure will be like
    EMPID     NAME     SKILLS
    001     A      ABAP
    001     A      XI
    002     B      JAVA
    Now I want to post first 2 records in one message and last record in other message.
    Can we do it in XI 2.0.Any help appreciated

    Hi Suraj.
    Thank you very mutch for your reply.
    Excuse me...my mapping is done for message type and idoc.
    My problem is that when the interface start, on the sxmb_moni I see an error like this:
    Creating Java mapping com.sap.xi.tf._MM_XmlOrderToIdocMapping_ --- Using MappingResolver with context URL //srvsapdev/sapmnt/CX1/SYS/global/xi/mapping/gestione_magazzini/7fa9c9e15a7811dab710f3e3ac10826e/ --- Load of com/sap/xi/tf/_MM_XmlOrderToIdocMapping_.class from //srvsapdev/sapmnt/CX1/SYS/global/xi/mapping/gestione_magazzini/7fa9c9e15a7811dab710f3e3ac10826e failed. --- Class not found: com.sap.xi.tf._MM_XmlOrderToIdocMapping_ --- java.lang.ClassNotFoundException at RUMappingJava.load(): Could not load class: com.sap.xi.tf._MM_XmlOrderToIdocMapping_ Class not found: com.sap.xi.tf._MM_XmlOrderToIdocMapping_ --- com.sap.aii.ibrun.server.map.MappingRuntimeException: at com.sap.aii.ibrun.server.map.MappingRuntimeException.code_STYLESHEET_OR_CLASS_NOT_FOUND
    ..where 'gestione_magazzini' is my namespace and 'MM_XmlOrderToIdocMapping' is my message mapping.
    Can you help me to undestand the problem?
    Thanks,
    Gianluca

  • ESB/File Adapter - XML files containing multiple messages

    Hi,
    In all the examples on file adapters I read, if files contain multiple messages, it always concerns non-XML files, such as CSV files.
    In our case, we have an XML file containing multiple messages, which we want to process separately (not in a batch). We selected "Files contain Multiple Messages" and set "Publish Messages in Batches of" to 1.
    However, the OC4J log files show the following error:
    ORABPEL-12505
    Payload Record Element is not DOM source.
    The Resource Adapter sent a Message to the Adapter Framework which could not be converted to a org.w3c.dom.Element.
    Anyone knows whether it's possible to do this for XML files?
    Regards, Ronald

    Maybe I need to give a little bit more background info.
    Ideally, one would only read/pick-up small XML documents in which every XML document forms a single message. In that way they can be processed individually.
    However, in our case an external party supplies multiple messages in a single batch-file, which is in XML format. I want to "work" on individual messages as soon as possible and not put a huge batch file through our ESB and BPEL processes. Unfortunately we can not influence the way the XML file is supplied, since we are not the only subscriber to it.
    So yes, we can use XPath to extract all individual messages from the XML batch-file and start a ESB process instance for each individual message. But that would require the creation of another ESB or BPEL process which only task is to "chop up" the batch file and start the original ESB process for each message.
    I was hoping that the batch option in the File adapter could also do this for XML content and not only for e.g. CSV content. That way it will not require an additional process and manual coding.
    Can anyone confirm this is not supported in ESB?
    Regards,
    Ronald
    Message was edited by:
    Ronald van Luttikhuizen

  • How to transmit multiple messages over CAN

    Hi All,
    How to transmit multiple messages over CAN ? With all three messages i want to send the system time & date also.
    How can i get the timestamp in DBL format (Since the timestamp in the input of ncWriteNetMult.vi is a DBL). If possible kindly share the code in Labview 7.1 also.
    Thanks in advance.
    J

    The NI-CAN driver brings examples for nearly every use case. Driver version 2.4 or later has the Write multiple function to write multiple frames at ones.
    There is an example available for LabVIEW, CVI and VC/VBasic called CAN Transmit multiple.
    Also check the attached VI and the Can manual: http://www.ni.com/pdf/manuals/370289m.pdf
    What do you mean by converting Timestamp to DBL? Timestamp contains all date and time information. You can convert it into string format as shown below and then use the relevant data from it by string operations.
    Hope this solves your problem.
    Shreyas Hebbare
    Shreyas Technologies
    India
    Attachments:
    Transmit Multipe Objects at Different Rates_LV80.vi ‏36 KB

  • Sender Proxy to send multiple messages

    Hello All XI experts,
    I need your help to work for my scenario which is a Proxy-File .
    I need to send data picked up from certain group of tables via sender proxy to XI.
    The problem is that , we will be having thousands of records at the same time , so what we plan we can send the records via multiple messages in bunch of n no of messages rather sending the entire data in a single message.
    Can you please help me in order to find a way by which we can achieve this in sender proxy ( to send multiple messages with each bunch having n no of messages  ) .
    Waiting for your expert thoughts and invaluable help.
    Thanks,
    Sunil

    Hi
    This scenario can be handled at abap end.
    Decide the number of records you want to send in one file. In abap when the number of records reached then call the abap proxy method. For the remaining records again call the abap proxy method so while going to XI it will pass only the number of records desired by you.

Maybe you are looking for

  • Error with Links if using x3 primary keys

    Hi Folks: Here is the error code I'm receiving: ORA-01422: exact fetch returns more than requested number of rows Unable to fetch row. Background: I am using Application Express 3.2 All of the pages I have created that rely on x2 primary keys (first_

  • Trying to sign in on itunes but keeps telling me id not used before review settings what can i do

    trying to sign in on itunes but keeps telling me id not used before review settings and accept cookies checked every thing still cant get on can anyone help thank you

  • Itunes won't read cds

    I just installed Itunes on my Dell Latitude (Xp). When I place a CD in, Itunes opens up, but it doesn't inport the songs. I read through the help section in the software and updated all of the drivers and still NOTHING. Any ideas on why this is happe

  • RSCRM_BAPI job cancel

    Hi guys!! I'm trying to execute RSCRM_BAPI (table mode) and I'm trying to execute it in background but the job cancel and no data is loaded to the specified table. When I execute the query in dialog mode, everything is ok and data is retrieved to the

  • Why I can't access my Iapp?

    I Can't use my visa in Iapp why?