Udf mapping: any way to detect last processed record?

Hi !
I need to detect inside my java user defined function, in the graphical mapping, if I am processing the last record of my input message, for example to add a trace message about how many records were processed, etc....I know I can detect the first one by mapping a function to the root node...and how about the last one ? are there any internal mapping variables available to recall inside a udf ?
thanks,
Matias

Hi,
one way would be to use a UDF of type queue
which will store all values from your message
this way you can get a total number of records
if you have the total then you know which one is the last one...
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

  • Is there any way to detect commited deleted record in a table?

    Hi All,
    Is there any way to find out commited deleted record in a table without using triggers?
    Thanks,

    If you want to get back the deleted records and you are using 10g or above than Flashback technology can get that for you.
    If you want to find out the commands that did the work and you are not using 10g than as suggested, Auditing and LogMiner can be the option.
    Aman....

  • Any way to detect when a NotificationListeners MBean is removed?

    If I have an MBeanServerConnection through which I register a NotificationListener, is there any way to detect when either the MBean that the NL is registered for is removed or destroyed?
    Specifically, I fire up a process, register an MBean.
    A client connects to the process, and registers a NotificationListener.
    Finally, I destroy the original process. How can I be notified that this has happened in my NotificationListener Client?
    Is there something else I can use to monitor the JMX connection?

    It sounds as if you are looking for a notification when an MBean is unregistered. To get that, you need to register a listener on the MBean Server Delegate. See MBeanServerDelegate and MBeanServerNotification.
    Regards,
    Éamonn McManus -- JMX Spec Lead -- [http://weblogs.java.net/blog/emcmanus]

  • HT1541 i need to gift paid App to my subscriber base free, how can i do it? is there any way to automate the process it? i dont mind paying for it

    Hi,
    I have a plan of gifting popular gaming app to my user base based on certain criteria.
    I'm aware that you can gift the app through itunes.
    What i want to know if there is any way to automate the process, like any api calls to gift the app to my user base?
    Any sugestion will be most welcome
    Affu

    Hi affu_india,
    If you are looking to do volume gifting of an app, you may find the following page helpful:
    Apple - Business - Volume Purchase Program for Business
    http://www.apple.com/business/vpp/
    Regards,
    - Brenden

  • Is there any way to stop a process execution (all instances)

    Hello,
    I´d like to know if there is any way to stop a specific process for execution at the engine without need to undeploy it, since we don´t want to loose process instances when we need to start this process for execution latter on.
    We have a PRD environment with a lot of processes from different departments (developed by different teams and external suppliers) and a feature for stop a specific process and isolate the environment could be very good to do root cause analysis when issues occurs at the environment.
    Sometimes stop a specific process (or some of them) could help in issues investigation that causes the engine to malfunction (lot of audit enabled, some loop bad controlled, lot of concurrent access) but I could not see this option at the webconsole.
    In the version 5.7 one EAR was created separatedly for each process deployed and this could be done stopping the EAR created for that process. Anyone know how to do this at version 6?
    Thanks

    Well the bad news is you are right, there really isn't any way to do this in versions after 5.7
    Starting at 6.0 all projects are deployed under the 'engine ear'. So if you stop the engine, you stop all projects deployed.
    I'm a little concerned that you are first seeing these issues in a 'PRD' environment, is this something that you could set up in a DEV, or UAT, or SIT, or any other environment (That is built similarly) to recreate the issues? - Then undeploy any of the other projects... and isolate the problem...
    -Kevin

  • Any way to Restore Last Manual Sort Order or Prevent from being Overwritten accidentally?

         Help!
         I'm constantly accidentally overwriting painstakingly created manual sort ordering (sometimes hours but more often months of accumulated work) in folders with files numbering up to 1,000, when i, however breifly, switch to another sort ordering (size, date modified etc) to check something, immediately forget that i'm in another sort order, and, unthinkingly (actually i guess i'm thinking of a lot of other things) drag a file to another position, this immediately destroys any past manual sorting i've established, overwriting it with this new inadvertent manual ordering.
         I've tried CommandZ (edit undo) but that only undoes my last rating or labeling, i've rushed to force quit Bridge through the activity montior hoping i will catch it before its overwritten, but obviously i am not as fast as a computer, and i don't think this has ever worked.
    Is there any way or any script someone has written to formally save a manual sort order? Is there anything i've missed to attempt restoring it? Has anyone, repeatedly foiled by this, written something that would give a warning and require confirmation say for instance, if i tried to drag or move a file while in another sort ordering (this seems like something that should have existed the minute the opportunity was given to create manual organization). Would anyone be willing to?
         Seriously, me forgetting almost every time isn't going to change and, more vexingly, it's even happened when i didn't mean to move anything but fumbled momentarily while in another sort order. I think most people might forget because (in the context of computing) we are conditioned to expect a warning if something we have just created is about to be written over or discarded, and since there is no option to formally save a manual ordering we have just created.
         Also, if this was in the real world, moving a single file would not reshuffle everything on your desk. If i had the option to formally save a manual organization i would NOT forget to do this and would use it, as i've wished for one every time spent a while rearranging files. Knowing how easily all the hours (much less months and years of cumulative work) of organizational work can be accidentally lost makes working within Bridge unpleasantly anxious.
          I'm literally willing to do anything including installing some sketchy 3rd-part scripts (though honestly i have no idea what that means or how to do it). I extentively use and rely heavily upon this function so this is a fairly serious Achille's heel. It's like watching your incredibly important meticulously constructed house of cards collapse with a careless but innocent sigh, or like having the equivelent of a not even charming cat dance across your keyboard during a live concert, etc etc....
         Also it is not usually appropriate, given the context, to batch rename everything to preserve a manual ordering w sequence numbers, etc. Often the filenames are considerably (but necessarily, to connote important differences) long already, and when i have to rearrange things in the future would have to do that each time, etc, etc, making for even more unwieldly filenames that didn't have any substantive information at the beginning. I'm looking for a way to make this function (manual sort ordering), well, more functional, secure and stable, the workarounds i've considered cause too many additonal problems.
         Thank you in advance for any help you may be able to offer, and as this is my first attempt to use the forums as i live on a boat with no regular net access, would appreciate any forum etiquette corrections, and advance apologies for any misspellings, dyslexic and spellcheck does not seem to work in this interface. next time will edit in external wordprocessing program beforehand,
              li'l mc szpf
         PS i'm on a 27" mac w CS4 Design Premium, w up to the minute OS (10.6.8) and Adobe software updates installed recently (i do not often move the monster but this week was housesitting w net access, so she has had all recommended shots and vaccinations....)
         PPS I know most of y'all might be running the newest and the latest of everything, but, i'm fairly certain this is still a problem in recent versions as this has happened to me at school where all the macs are running cs5. Though if it's been addressed somehow in cs6 would update entire suite just to fix this one problem in Bridge. I've tried many searches and found nothing relevant or wouldn't bother the considerable expertise and resources of an official forum, was extremely hesitant to ask (feared getting snapped at for unwittingly broaching forum etiquette) but it is truly the bane of my considerable Bridge existence, so was willing to risk the imaginary censure and opprobrium....
    Message was edited by: PECourtejoie

    That is a good question, to do this requires two functions and a restart of Bridge all done automagically
    Copy and paste the script into ExtendScript Toolkit
    This gets installed with Photoshop and can be found:-
    PC: C:\Program Files\Adobe\Adobe Utilities
    MAC: <hard drive>/Applications/Utilities/Adobe Utilities
    Start Bridge
    PC: Edit - Preferences - Startup Scripts
    Mac: Adobe Bridge menu - Preferences - Startup Scripts
    At the bottom click the "Reveal Button" this will open the folder where the script should be saved.
    Close and restart Bridge.
    Accept the new script.
    To use:
    Tools - Backup Manual Sort
    This will backup the hidden manual sort file .BridgeSort to .BridgeSortSave
    Tools - Restore Manual Sort
    This will copy the .BridgeSortSave back to .BridgeSort and will close and restart Bridge so that the manual sort is restored.
    if( BridgeTalk.appName == "bridge" ) { 
    var backUpManSort = new MenuElement( "command","Backup Manual Sort", "at the end of Tools" , "backupms" );
    var RestoreManSort = new MenuElement( "command","Restore Manual Sort", "at the end of Tools" , "restorems" );
    backUpManSort.onSelect = function () {
    var fileSort = new File(app.document.presentationPath +"/.BridgeSort");
    var fileSave = new File(app.document.presentationPath +"/.BridgeSortSave");
    if(fileSave.exists) fileSave.remove();
    fileSort.copy(fileSave);
    fileSave.hidden=true;
    RestoreManSort.onSelect = function () {
    var fileSort = new File(app.document.presentationPath +"/.BridgeSort");
    var fileSave = new File(app.document.presentationPath +"/.BridgeSortSave");
    if(!fileSave.exists){
    alert("No backup file exists");
    return;
    app.document.sorts = [{ type:"string",name:"document-kind", reverse:false }];
    if(fileSort.exists) fileSort.remove();
    fileSave.copy(fileSort);
    fileSort.hidden=true;
    app.document.chooseMenuItem("mondo/command/new");
    app.documents[0].close();
    app.document.sorts = [{ name:"user",type:"date", reverse:false }];
    Hope this works for you.

  • WCS in monitor maps, any way to see SSID that AP is broadcasting

    Hello,
    In Cisco WCS (7.0.230.0), does anyone know if there is any way to show what SSIDs an LWAPP is broadcasting? I can see the SSIDs assigned to the group that the AP is a part of through the controller or templates, but is there an easy way to see what SSID an LWAPP is broadcasting maybe using the MONITOR > MAP or anything?
    Maybe there is an easier way than using WCS?
    Thank you for your time,
    Steve

    Steve,
    Thank you for your reply on this matter. 
    What I'm hoping to find is a way after you assign an AP group name to an access point, so it knows what SSIDs to broadcast, is there a way while looking at the map of APs in WCS for a floor to show that the AP is actually broadcasting the SSIDs specified in the group without physically being at the location or do you just trust the Controller and the group that you assign that the AP is indeed broadcasting the SSIDs? 
    Thank you again,
    Steve

  • Any way to detect RTMFPP2PDisable

    I have spent one week to find a send data problem and finally find that the user set RTMFPP2PDisable to 1.
    That user can connect to my rtmfp server but cannot send any data.
    Is there any api to detect that RTMFPP2PDisable is 1 and tell the user to enable it?

    hi,I also Encounter this problem, I manually RTMFPP2PDisable = 0, still can't solve this problem, reinstall flash also cannot solve

  • Is there any way to fix a project recorded in the wrong resolution without redoing?

    Is there any way to resize a project once it has been recorded so that it fits on the screen?  The person who recorded the project set the resolution at 1280 X 774 pixels and it's too large to see the entire project on the screen...you have to keep panning back and forth.  I am hoping we don't have to have him rerecord the entire project.

    Hi there
    Try clicking Project > Rescale and scaling the project to be a smaller size.
    Note that you probably want to leave the "Maintain aspect ratio" option selected (you are welcome Lilybiri )
    Additionally, note that rescaling will inevitably result in a loss of fidelity. Things just begin to fuzzy up when you do that. The degree to which it suffers is in direct proportion to how much scaling you wish to do.
    As a final note, you only really want to ever rescale a project once. So if you aren't sure about the final outcome, click File > Save As and rescale. Look at it. LIke it? Terrific! Keep it! Don't like it so much? Scrap it and open the original again. Then again click File > Save As...
    Rinse and repeat as necessary... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Is there any way to detect if there 's an JRE installed on customer machine

    I want to know if the customer has the JRE installed to make sure that my program can run.So the problem come,how can I know that.Someone told me to use
    a command like "java -version",which seemed reasonable.In that way,i should write a bat file do that.This file will detect if there is an JRE installed,if there is get the version of the JRE and compare with the available JRE of my program,but if not,connect to the offical site to download.It is really hard for me to do that bat file.I am just a new programer without any experience.So I really appreciate if someone give me some advice.Sorry,my english is so bad.I am waithing for the help.

    scphan wrote:
    masijade. wrote:
    P.S. @OP, java -version will only work if the path is set correctly, of course, and what it returns will not, necessarily, be the highest version installed on the system, just the particular version that the path points to first.>This works in versions 1.1 and up:
    public class FindVersion
         public static void main( String args[] )
              String prop = System.getProperty( "java.version" );
              System.out.println( prop );
    import java.io.*;
    public class ReadVersion
         public static void main( String args[] )
              try
                   Process proc = Runtime.getRuntime().exec( "java FindVersion" );
                   BufferedReader in = new BufferedReader(new InputStreamReader(proc.getInputStream()));
                   String line = in.readLine();
                   System.out.println( "java.version="+line );
              catch ( IOException e )
                   e.printStackTrace();
    Yes, of course that does, when Java is already installed, of course. The question here was how to determine if it is installed, at all. And, that will also only give you the version of the Java currently being used, of course, and not, as I pointed out in that quoted post, not necessarily the highest version installed on the system.
    Please make your posts applicable.

  • Any way to detect key loggers?

    I have reason to believe that a keylogger was installed on my computer over the network maliciously. How would i find it if it was installed on computer? The mac keyloggers that I looked at all run in "invisible" mode (and can be put in any folder on the computer and will work)

    What sort of network are you connected to: LAN, Corporate network, etc.?
    As for a keylogger, if you're not connected to a network that manages your Mac, there'd be no way for anyone to install anything without Admin access, and only you should have that. So unless you aren't the Admin or leave yourself logged in all the time, this shouldn't be any concern.
    If you want to look for a keylogger, you'd have to open Activity Monitor and look through all the running processes to see if there is one running. Then you could Force Quit it, and find it on your system and delete it.
    Mulder

  • Is there any way to reverse iDVD process?

    I make DVDs from iMovie in both PAL and NTSC frequently. As a rule the PALs are sent to Europe and I keep no copy other than the NTSC copy of the same content for my own use. Sometimes I get a request for an additional PAL copy of the same film.
    It would be great to take the finished NTSC DVD to create an image, and then use it to create a PAL copy. To do this properly one would have to convert the image back to an iDVD file and then convert that back to iMovie media files, and then start over with PAL preferences set in both iMovie and iDVD.
    *Is there any software to do this?* I have "Aimersoft DVD Ripper.app" to create a Quicktime .mov file from a DVD, but cannot make a good quality PAL copy with it. I suppose It would be necessary to create .dv files for iMovie.

    Your NTSC project probably will play on the European PAL machines, so you may not have to go through the duplicative process. At least, my European friends tell me that they can do it.
    I believe, but not entirely sure, that you will have to start all over again if you want to make a PAL project after you have created a NTSC project. At least, I am not aware of any software that lets you convert. But perhaps others more familiar with the PAL/NTSC issue will have some helpful comments.

  • Any way to determine what process/program is using a lot of bandwith?

    I have two Snow Leopard servers on Mac Pro hardware. They are running open directory (replication) over an OpenVPN site-to-site VPN.
    The west coast server is the OD master. East coast is replicating it.
    I have noticed that after the servers have been on for a while, the east coast server will send out a lot of traffic through the router and I am not exactly sure where it's going. It is maxing out my WAN upload speed and slowing down all remote connections. I reboot the server and the outbound traffic graphs on my router (pfSense) drops to almost nothing. It comes back up and the outbound traffic shoots back up again.
    There are no connections to AFP shares, no clients on FTP, no clients connected to the VPN server on the Mac, no one connected to the SMB shares either.
    Is there anything that will tell me what is using all the upload?

    Hi
    Not knowing the details about your environment plus not being their this could be a "What the . . . " moment or simply nothing at all? Furthermore I could also be completely wrong? Maybe what you're seeing is what you're supposed to see? Although Chapter 4, Page 60 of the Directory Services Admin Manual is pretty specific about the Replication Settings available in a Master/Replica relationship:
    http://manuals.info.apple.com/enUS/OpenDirAdminv10.6.pdf
    I don't have access to a 10.6 Master/Replica but a similar 10.5 environment where Master and Replica are local rather than across the Internet do have those settings present. Perhaps it's different in 10.6? Regardless, what was offered was a suggestion only and somewhere to look first. Have you explored the command line utilities yet?
    Tony

  • Is there any way to detect the iphone is rebooting currently?

    I am developing an app in which i want to call an API before device(iPhone) reboot.

    If you're a registered developer, you will find a faster and more accurate response in the NDA'd private forums at developer.apple.com. Else you might try the general developer forum here on the ASC, although the threads I've seen there are more oriented to OS X.

  • Any way to remove "reverb" in recorded audio using audio effects?

    I taped an interview using a lapel mic. On playback on camcorder as well as playing it in PE7, it sounds okay. When I take the file and played it in our church over our sound system (which is state of the art) The audio of the people speaking sounds as if they're in a barrel. I have a soundtrack playing in the background and it sounds great, it's just the audio of the speaker that sounds so awful. Our sound tech says it sounds that way because of the small area I recorded in and the echoing is in the original footage, and that it's magnified when played over a good sound system. Is there a way to fix this or at least minimize the echoing "reverb" sound using the audio effects? Thanks!

    One of the suggestions via Ozpeter's links was to model the impulse response from speaker to microphone in the reverberant environment. This is roughly what Gloftis would have to do:
    Put the speaker back in exactly the same position in the original room with the same lapel mic in exactly the same position. Add a small high quality microphone close to the lips of the speaker. It would have to be so close that the reverberation was negligible and positioned so that breath pops didn't occur. Then get the speaker to say or read a few minutes of speech, and record the output of both microphones simultaneously. From this, the room acoustic and lapel microphone response as a whole could be computed (a black box filter response). The inverse response then needs to be computed, and you hope that such a filter is stable (not guaranteed). Then pass the reverberant speech through this inverse filter and voilà!
    Another solution suggested was expanding the low levels downwards. That is essentially what I suggested in my first post. Expansion should be less obtrusive than gating (hard on/off).
    Finally, the most straight forward method, if practicable, is to re-record the voice material in a non-reverberant environment. He/she could listen to the original speech and read out the material in synchronism, with the same mannerisms, to preserve lip-synch.

Maybe you are looking for

  • Loading CD's on iTunes

    I have been patiently loading my CD library into iTunes, but after loading over 1500 songs, I am worried about filling up my computers hard-drive? How do you get around storing all of your music on your computer and still have room to run other progr

  • My Mac air will boot up

    I can not get my Mac sir to start

  • On Demand - New Extension

    Hi, Is there any documentation available detailing out the procedure that should be followed to deploy an extension on E Business On Demand. If there is any special consideration made or would be similar to what is followed in on premise environment.

  • Best Practices for Multiple Forms-Reports Instances (WebLogic) on Win2008R2

    Hello all, I've succeeded in creating two instances of Forms/Report (FR) in WebLogic and am looking at about 5 or 6 FR instances on a one Windows Server 2008R2 box. I understand each instances will have its own folder (FR_Inst1) structure under the M

  • Nested Repeat Regions

    I've got a page where I need nested repeat regions using the same data. Basically, list people who have donated money in groupings by level: $100-$199 Murray Nadia Thierry $200-$299 Dan Dan Patty I'm looking at Tom Muck's "Simulated Nested Region" ex