Newbie Question: Correlation when no matching elements exist

I have a request with an order number that gets sent to another BPM for a lookup. If the order number exists, the called BPM responds with returnCode=0 and the list of order contents (along with the order number).
However, if the order number does not exist, the called BPM returns just one element returnCode=1 and nothing else.
How can I create a correlation in this situation? One simple solution might be to change the response to include order number whether the order exists or not.
But, I am wondering if XI (3.0 SP13) has any other way of generating its own correlation-ids or keys (pardon my usage of terminology if it's incorrect) - instead of depending on defining the matching elements in the involved messages?
Thanks,
Badari

Hi,
there's only one way:
you need to send it and receive it
you can either you the order number
in request and response
or you send a guid (which you can generate youself
in the mapping)
but it will have to go as order number
in request and response
so it's more or less the same
but you need to create the GUID aditionally
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • Select count(*) on sql statement returning zero when a matching row exists.

    Our account has an ANSI C application that checks for the existence a row on an Oracle table(s) by using the following SQL:
    int iCount = 0;
    EXEC SQL
    SELECT count(rownum) INTO :iCount
    FROM sys.all_tab_columns
    WHERE table_name IN
    (SELECT table_name FROM
    sys.all_synonyms
    WHERE upper(synonym_name) = upper(:szDestTable))
    AND upper(column_name) = upper(:szColumnName)
    AND owner = 'DBAUSER';
    The bind variables szDestTable and szColumnName are populated with values parsed from columns on another database table. This application is executed through out the day. Occasionally, the application will report a zero in the iCount when there should be a match. I have verified the szDestTable and szColumnName are populated with the correct values which would find a match and they are correct. To make matters even stranger, the application will parse the same input values and find a match (as it should). At some point during the day, and it can be at any time, the application will NOT find a match on the same file, same values. Every subsequent execution of this application will not find a match on the same values. Once the database is brought down and started up in the evening for its normal backups, the application will find a match again on the same values. This problem does not occur every day. I could be a week or a week and a half between incidents.
    I printed the contents of the sqlca.sqqlerrm.sqlerrmc field to a log file. The sqlca.sqlerrm.sqlerrmc field reported an ORA-1405 bind variable was null when the iCount was reporting a zero. When I compiled this application, I set the Proc*C flag to UNSAFE_NULLS=yes since there are other bind variable in the application that can be NULL and that is ok.
    The above SQL is compiled into the C application using the Proc*C compiler. It is compiled using the Oracle 11.2.0.2 libraries. The application is executed against an Oracle 11.2.0.2 database. The database and application are executed on an HP/Unix 11.31 platform.
    This problem did not start occurring until our account went from Oracle 10.2 to Oracle 11.2. Recently, I have changed the SQL to perform a “SELECT COUNT(rownum)” instead of the “SELECT COUNT(*)”. I compiled the application and executed the new application with the SELECT COUNT(rownum) against the same database where the same application with the SELECT COUNT(*) was failing to find a row that actually existed. The application with the SELECT COUNT(rownum) found the matching row as it should have. The new application has been executing in production for about 10 days now without any problems against ten various Oracle 11.2 databases.
    Why would SELECT COUNT(*) and SELECT COUNT(rownum) be any different?

    This forum is about C programming in general, and about using Studio C in particular.
    Your question is about Oracle database programming. You are more likely to find a helpful answer in a forum about database programming. Start here:
    https://forums.oracle.com/forums/category.jspa?categoryID=18

  • Newbie Question - error when testing DNS

    When testing my DNS in lookup in network utility, i get the following:
    ; <<>> DiG 9.6.0-APPLE-P2 <<>> server.academyart.edu ptr +multiline +nocomments +nocmd +noquestion +nostats +search
    ;; global options: +cmd
    domainname.edu. 300 IN SOA ns1.domainname.edu. administrator.domainname.edu. (
    2190 ; serial
    300 ; refresh (5 minutes)
    1800 ; retry (30 minutes)
    864000 ; expire (1 week 3 days)
    57 ; minimum (57 seconds)
    I'm following the lynda tutorial, but they don't tell you what to do if you have an error or possible ways of fixing it.

    There's no indication of any failure in your post. Of course, we don't know what query you submitted (e.g. what IP address/hostname you looked up), nor what you expect, so there's almost no way anyone can predict what might be wrong.
    So:
    What problem are you experiencing/troubleshooting?
    What do you expect to get from this lookup?

  • Stupid newbie question here: When setting up for hot sync, both PC and smartphone will ask for "device name" but how do I know which devide I'm naming? If I'm on the phone, do I specify the phone or the computer; and vice versa.

    null
    Post relates to: Treo 680 (AT&T)

    Hello and thank you for using the Palm Help Forums!
    It's more like naming the partnership. By "naming" your device is doesn't do anything harmful. If you name it Pat's Treo, when syncing it tot he computer, hotsync will say "Syncing with Pat's Treo." You can name your device Fido for all it matters.
    Post relates to: Treo 800w (Sprint)

  • Total Newbie Question ... Sorry :-(

    I know it's a windows thing, and I am now converted to Mac but I gotta know this because it's doing my head in. It's a complete stupid green gilled newbie question.
    When installing new programs on a Mac can you create shortcuts to the programs on the Dock? I did what I THOUGHT it would be, i.e I made an Alias and stuck it in the dock, but on rebooting my Mac later on, in place of the shortcuts where 3 question marks which when clicked on did absolutely nothing???
    Help?
    A.L.I
    Windows XP Pro Desktop, Macbook Pro, 60GB iPod Video   Mac OS X (10.4.5)   OS X

    You aren't installing something from a dmg file are you? The dmg is a disk image – kind of a virtual CD. So when you double click the dmg and then get the little disk/hardrive/custom icon on your desktop that is the same as if you had mounted a CD. You then need to drag the application off of that "CD" into your application folder. Then it is truly installed.
    You can then "eject" the icon your your desktop. This is what happens when you shutdown and without remounting the image your dock shortcut can't find the original.
    Just a thought.

  • Getting error when view - Requested data type does not match with existing

    I have the siebel web service
    In the BI publisher as mentioned in the 'Siebel_BI_Publisher_Integration_Concepts.pdf', I have imported the siebel web service
    BI can recognize the 'Web service' and methods.
    I have created the paramters. The data type is 'String'
    When I try to view the report using the BI publisher, I am getting teh following error in th UI
    "Requested data type does not match with existing data type"
    This is the first time I am using BI publisher to call the Siebel web service. I don't know what this error means
    I don't know whether any log file generated wit the details of this erro message
    Any help is much appriciated
    Thanks,
    Kavitha

    Hi all,
    have you find a fix for this issue? Im facing the same situation, using Complex type, and String data type both in the service and Bi publisher. We are consuming CC&B services, and we have noticed this error appears when BIPublisher is running on WebLogic (10.3) but it does not appear when BIPublisher is running on OC4J , of course running the same report on both application servers.
    Any idea?
    Thanks a lot, regards
    Nestor

  • Photo elements wants to open last used dir location. When it doesn't exist or cannot access, it fails to open.  How do you set the default file location?

    Upset!!!
    Photo elements wants to open at the last used folder location. When it does not exist or unable to open that location. It FAILS to OPEN.
    Does not seem to be a way to set a default location or to change the location.
    VERY ANNOYING.
    How do you tell photo elements to always go to a set location rather than the last used location?
    Thank you

    Hi,
    I did a test as you suggested - open an image on a removable drive, close the editor and took the removable offline. When I next went to the editor, it opened OK.
    From the screen shot in message #5 above, I think that the fault is with SolidWorks. I am not familiar with that product but it seems to be a form of asset management and it can't open its database - is that on the removable?
    Normally, the editor does not open any files when it loads except for it program files and any addins. Could SolidWorks be an addin?
    See if this works to reset the preferences.
    Create a desktop shortcut for this file
    "C:\Program Files (x86)\Adobe\Photoshop Elements 10\PhotoshopElementsEditor.exe"
    Hold down the Ctrl, Shift & Alt keys when you double click on the shortcut. Keep the keys held down and eventually a message box will pop up asking if you want to reset the preferences - you do.
    Brian

  • I have been having a issue with getting the colors on my monitor to match the colors fro my print lab. I now have the monitor calibrated to match the prints but when I open elements it doesn't use the same colors. If i have it use the calibrated profile b

    I have been having a issue with getting the colors on my monitor to match the colors fro my print lab. I now have the monitor calibrated to match the prints but when I open elements it doesn't use the same colors. If i have it use the calibrated profile by changing the color management settings, the color picker no longer shows true white or black. How do I get elements 12 to honor the new calibrated settings?

    Ok so I've done what you said and this is what it's come back ....
    I don't know that these are the errors , but they're the things which don't look right ...
    Throughout the shut down there is a recurring line ;
    It says ;
    Com.apple.launchd 1 0x100600e70.anonymous.unmount 301 PID still valid
    Then there are 2 more which I think are related ;
    Com.apple.securityd 29 PID job has I overstayed its welcome , forcing removal.
    Then the same with fseventd 48 and diskarbitrationd 13
    Oh and on Launchd1 : System : stray anonymous job at shut down : PID 301 PPID13 PGID 13 unmount...
    Then the last process says "about to call: reboot (RB_AUTOBOOT).
    Continuing...
    And stops ...
    Hope this means something to you ... Thanks again for your help so far :-)

  • [svn:fx-trunk] 14009: DataGroup.getVirtualElementAt() needs to revalidate the element when the IR already exists but the data changes .

    Revision: 14009
    Revision: 14009
    Author:   [email protected]
    Date:     2010-02-05 12:53:05 -0800 (Fri, 05 Feb 2010)
    Log Message:
    DataGroup.getVirtualElementAt() needs to revalidate the element when the IR already exists but the data changes. 
    The element also needs to revalidate if it is resized, whether or not the IR existed before.  This wasn't part of the bug but Hans realized this when he did the code review.
    QE notes:
    Doc notes:
    Bugs: SDK-25354
    Reviewer: Hans
    Tests run: checkintests
    Is noteworthy for integration:
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25354
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as

    Please can u answer it fast

  • Device error "sequence contains no matching element"

    Hallo,
    I just received the VirtualBench and I could use it as I connect it for the first time. I then downloaded and run the program for Window7, so that I would be able to run the program from my PC.
    Since then, I cannot work anymore more with the virtualbench. It always give the same error: device error: sequence contains no matching element.....
    What it wronf what shall I do?
    Note: I read a similar question, but it seemed that the error disppeared somehow for unexplained reason. So, there were actually no solution mentionned for this problem.
    Thanks in advance for any support.
    Solved!
    Go to Solution.

    For anybody that has this problem in the future, we'd really like to get to the root of the problem.  To help with that I have created a small utility that will pull the configurations from your device and save them to files.  These configurations appear to be corrupted in these situations.
    The easiest way to use the utility is to run it from the command line.  It will find the first USB VirtualBench on your system and save any configuration files it has to your temporary directory.  For example:
    C:\Users\User\Desktop>nivb_cfgutil.exe
    Saving files to C:\Users\User\AppData\Local\Temp\
    Connecting to device 'vbzach'
    Found config: ni-virtualbench-preferences.vbconfig
    Wrote config to file C:\Users\User\AppData\Local\Temp\ni-virtualbench-p​reference
    s.vbconfig
    Found config: test_cfg.vbconfig
    Wrote config to file C:\Users\User\AppData\Local\Temp\test_cfg.vbconfig
    Found config: test_cfg2.vbconfig
    Wrote config to file C:\Users\User\AppData\Local\Temp\test_cfg2.vbconfi​g
    It also has some options that allow  you to specify the device to connect to (either by name, IP address, or hostname), where to put the files, and whether or not to overwrite existing files on your PC.  For example:
    C:\Users\User\Desktop>nivb_cfgutil.exe --help
    Usage: nivb_cfgutil.exe [options]
    Main options:
      -h, --help
          Shows help.
      -d, --dev=device
          Device name to target.
      -o, --out=directory
          Output directory to save config files.  If not specified, the temporary di
    rectory is used.
      -w, --overwrite
          Overwrite existing files.
    What we would like is that when people run into this issue they perform the following steps:
    Attach the application preferences files:
    Open a file explorer
    In the address bar, enter this path (copy/paste can help):
    XP: %USERPROFILE%\Local Settings\Application Data\National Instruments\NI-VirtualBench
    Vista, 7, 8: %USERPROFILE%\AppData\Local\National Instruments\NI-VirtualBench
    Attach the file ni-virtualbench-preferences.vbconfig to a post here so we can inspect it.
    Run the nivb_cfgutil.exe utility attached to this post, and post any *.vbconfig files it creates to a post here so that we can inspect it.
    Once you have done that, you should be able to fix the issue by doing the following:
    Use the reset button on the back. The application also uses information stored on the PC when it starts. If the problem is there, then resetting the device alone won't help.
    NI VirtualBench Help :: Reset Button http://zone.ni.com/reference/en-XX/help/371526A-01/vbhelp/wirelessbutton/
    Launch the app.  If it works, you're done.
    If the issue was not resolved, you may also need to delete the file mentioned above.
    Open a file explorer
    In the address bar, enter this path (copy/paste can help):
    XP: %USERPROFILE%\Local Settings\Application Data\National Instruments\NI-VirtualBench
    Vista, 7, 8: %USERPROFILE%\AppData\Local\National Instruments\NI-VirtualBench
    Delete the file ni-virtualbench-preferences.vbconfig
    Zach Hindes
    NI R&D
    Attachments:
    nivb_cfgutil.zip ‏991 KB

  • InDesign or Acrobat (newbie question)

    Hi,
    I tried posting this in the LiveCycle Designer forum, but I think it's a bit too much of a newbie question:
    Once in a blue moon when I'm at work, someone will ask me if I can add text fields to a PDF form so that they can easily type onto it and print it out. I've always done that directly in Acrobat (on the few occasions that it's been requested from me). But I was curious about Adobe LiveCycle since it came with CS3, so I played around with it a couple of days ago. I added the text fields in LiveCycle this time, and it seems to have worked fine. Which is the better program for this kind of task? I'm not 100% clear on the *main* purposes of either program or how they compare. If anyone wanted to give me a clue about it, I'd appreciate it!
    Thanks,
    Phyllis

    > I thought perhaps you could add that capability
    You can (I said I was oversimplifying). However there are contractual
    limits - to oversimplify (!) 500 users per form.
    >Which would be preferable -- receiving form data from LiveCycle or Acrobat?
    It depends what you want to do.
    >
    >I wish I knew what the difference was between these two programs. Is it purely a matter of emphasis on one task or another?
    They come to the same problem in different ways. For a simple task
    they may seem pretty much the same. Some differences:
    * A form made in Acrobat is a PDF with form fields stuck on top; it
    remains a normal PDF in every other way. Forms are almost always made
    by preparing an existing PDF, then adding form fields.
    * A form made in Designer is barely a PDF. It's a wrapper round an XML
    file. You can no longer edit it in Acrobat, ever, even for the most
    simple things. PDF files are imported and converted (sometimes with
    loss of quality or features), or forms are made from scratch.
    * Acrobat form fields are fixed size.
    * Designer form layout can be dynamic.
    Aandi Inston

  • MailServer Newbie Question..

    So my first time i setup a Mail Server with Mac OS X Server.
    Everything works like a charme. I can send and receive emails internally. That means
    i can send and receive emails from mac to pc and vice versa. Now my question.
    How do I setup the Server to catch my external eMail adresses and send it to my internal account.
    And how do I setup to send throw my server to the rest of the world without getting banned and
    blacklisted
    I how someone can write a small tutorial for me or can post a link for this newbie question.
    Thanx in advance..
    mike
    P.S.: Sorry for my bad English. But I am from Germany

    how to configure the server to accept mail for my own domain ?
    Any domain you want to receive mail for goes into the Local Host Aliases pane (in Advanced-> Hosting tab). However, you said that you can already send and receive internally so presumably you have it set up for a domain already? If this is not the same domain as you want to use, just change whatever settings you are using to your real domain. You can then test sending and receiving internally for your own domain but without changing your external (public) mail provider. When you are ready to change your outside mail server for your own one, get the public MX record changed so that all external mail starts getting directed to your own server.
    how to get the public DNS record (MX Record)
    If you have a 'real' domain then someone is hosting your DNS for that domain. THis is probably whoever you bought the domain from. You need to get them to change your MX record (or the IP address for the host name record which the MX points to - see my first post).
    Is it really impossible to catch the external email-accounts with the server via pop.
    my idea behind that is to synchronize the external email accounts with the email accounts on the server..
    I have never really looked into getting a mail server to use a pop download from another external mail server - it may be possible by manual configuration but it never made sense to me. Why have two mail servers in a 'chain'? Basically, the public will see only one server responsible for your mail (via MX record) - you have to decide whether you want to leave this with your external provider or take the responsibility yourself.
    Your configuration for the incoming mail seems to me like you would change the
    external email server completely to my internal server.. right ??
    Correct. Once the public MX record is changed then all other mail servers will send to your server and not your current provider. You can always revert back by changing the MX record back to your existing provider (as long as your account is still open).
    -david
    Message was edited by: David_x

  • The column in the table do not match an existing primary key

    I've got two tables tbl_Workshop and tbl_Material
    tbl_Workshop has columns workshopID, workshopTitle, materialID
    tbl_Material has materialID, name, workshopTitle
    when I'm trying to create a relationship between the workshopTitle of tbl1 and tbl2, it gives me an error that says the column in the table do not match an existing primary key.
    What could be the reason for this error and how to overcome it.
    ps. The datatypes and names of both the table's column match.

    Have you created primary key on workshopTitle column in tbl_Workshop
    You can add foreign key relationship from tbl_Material.workshopTitle
    to tbl_Workshop.workshopTitle
     only if latter is a primary key of the table.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Sequence contains more than one matching element

    Hi
    I have checked all threads and none answers my issue.
    I am trying to drop a user and am following this blog:
    http://sanderstechnology.com/2013/login-and-user-management-in-sql-azure/12826/#.U46Hh_mSweo
    Below is a series of screen-shots of the issue. Please assist. Thanks, Mark.
    Mark

    Hello,
    Based on your descritpion, you create a SQL database with WEB edition and try to connect to the MASTER database from Windows Azure Management portal. But it is failed with "Sequence contains more than one matching element" occasionally.
    Due to the uncertainty and randomness factors, it requires higher level troubleshooting methods.I suggest you contact Windows Azure support team by creating a support ticket at 
    http://www.windowsazure.com/en-us/support/contact if you recevied this error again.
    As for drop login, it may caused by the premssion. In SQL databae, only server-level principal login (created by the provisioning process) or the credentials of an existing member of the "loginmanager" database role can manage logins. If you are not use
    a server-level principal login, please ask the adminstrator add the login to loginmanager databaserole:
    EXEC sp_addrolemember 'loginmanager', 'login-you-used';
    Reference:http://msdn.microsoft.com/en-us/library/azure/ee336235.aspx
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • Multiple version of JRE in company..How to manage? (newbie question)

    Greetings..this is a newbie question
    We have 48 versions of JRE running in on XP IE6 in our company.
    Some version beat up other JAVA applications.
    It's a mess.
    How can anyone manage this many versions?
    Can we consolidate down to a few versions?
    I saw some posts on changing the JRE dynamically or perhaps using a wrapper with a product from "sourceforge".
    Are these viable?
    Thanks in advance

    We have 48 versions of JRE running in on XP IE6 in
    our company.
    Some version beat up other JAVA applications.
    It's a mess.can you elaborate on how some versions "beat up" other apps?
    How can anyone manage this many versions?you don't, each computer should periodically upgrade (IMO) but you shouldn't care. if you do, tell your users to load the latest version
    Can we consolidate down to a few versions?sure
    I saw some posts on changing the JRE dynamically or
    perhaps using a wrapper with a product from
    "sourceforge".
    Are these viable?i have no idea what this is, but I have doubts about your problem, if it exists at all

Maybe you are looking for