Getting the sub Process instance id through PAPI

Hi Can anyone suggest me how to get the sub process instance id using PAPI?

I was only able to figure this out as follows... If you have an InstanceInfo variable (called "instance"), then:
InstanceEvent[] events = new fuego.papi.InstanceEvent[0];
events = session.getInstanceEvents(instance.getId());
for (InstanceEvent event : events) {
if (event.type == 14) {
System.out.println("child instance ID is: " + event.eventData);
I ended up creating a recursive function that would drill down to get sub-sub-...-sub-instance IDs as necessary.
Todd

Similar Messages

  • How do you get the per process I/O through Sigar

    I want to know whether there is any way that one can gather the per process I/O i.e. disk read/write performed solely by a particular process through SIGAR. As far as I know only system parameters relating to specific processes(like system CPU, Mem) can be gathered. I would be grateful if anyone could give me any idea about the same. I wanted to do this in a system independent way so SIGAR seems to e the best choice.Thanks!

    Although iTunes has this field available, it has no method to automatically populate it.  There are some third-party utilities available that will scan media files and calculate a BPM value (a quick Google search should locate candidates), and some of these may offer integration with iTunes.  BeaTunes (https://www.beatunes.com/en/index.html) seems to suitable - there's a trial version available for both Windows and Mac.
    Its possible that some specialist retailers may include BPM data in their media downloads, though I've not actually seen examples of this.

  • I sort my booksmarks (A-Z) but that sort doesn't last very long. It seems like the sorting process I go through doesn't get "saved." Thoughts? Thanks, Scott

    I sort my booksmarks (A-Z) but that sort doesn't last very long. It seems like the sorting process I go through doesn't get "saved." Thoughts? Thanks, Scott

    How are you sorting the bookmarks?
    The Views menu in the Bookmarks Manager (Bookmarks > Show All Bookmarks) is for displaying the bookmarks in different sorting orders (hence the name Views) and doesn't sort bookmarks permanently.<br />
    In Firefox the option to sort bookmarks is only available for folders and not for individual bookmarks.<br />
    Right-click a folder to open the context menu and choose "Sort By Name" in the left pane of the Bookmarks Manager or in the side bar to sort the bookmarks alphabetically or drag bookmarks to the wanted position.<br />
    If dragging doesn't work then use Cut and Paste instead.
    See:
    * http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    * SortPlaces: https://addons.mozilla.org/firefox/addon/sortplaces/

  • Is there any way to get the server app other that through the app store. We do not have our system conneted to a network. I typical downloaded items on a non-apple system.

    is there any way to get the server app other than through the app store. The system that I need it on are not connected to the internet.
    We run a closed-loop network of apple systems and I tipically downloaded updates on a non-apple system that was on the internet.
    Any ideas?

    I did buy the server app, went to the app store to download it. This system I'm using for downloads is Snow Leopard 10.6.8, it shows that I can download it but only as an Install which says I need 10.8. I can't seem to find a way for it to just download as a package or .dmg file so that I can copy it to DVD/CD or flash drive.

  • How to get the all process orders and outbound deliveries based on material

    Hi Team ,
    I need one help from you regarding the MB 56 transaction.
    My doubt is : How to get the all process orders and outbound deliveries based on material, plant and batch?
    Please help me regarding this.
    Thanks & Regards,
    Srikanth.

    Hi,
    You can use ST05,to trace the program and find out,
    hope it will help you...
    thanks and regards,
    veera.

  • HT204370 how do i get the movie sound to play through the TV speakers, It is connected to my mac bookpro but the sound only comes through my macbook pro

    how do i get the movie sound to play through the TV speakers when watching a movie from Itunes, It is connected to my macbook pro but the sound only comes through my macbook pro.
    Thanks

    Transfer the movie from your iPad to your MacBook then. =)
    iOS: How to transfer or sync content to your computer
    http://support.apple.com/kb/HT1296

  • I continue to get the /.HTML/Rce.Gen3 virus through my mailbox almost daily.  It is picked up by my anti-virus software.  How do I get rid of this permanently so I stop getting it daily?  Is it from a internet cache??

    I continue to get the /.HTML/Rce.Gen3 virus through my mailbox almost daily.  It is picked up by my anti-virus software.  How do I get rid of this permanently so I stop getting it daily?  Is it from a internet cache??

    I use MacKeeper on my MacBook Pro
    Ack! Get rid of that immediately! MacKeeper's bad news. Plus, it does a really awful job of actually detecting malware. See:
    Beware MacKeeper
    Mac anti-virus detection rates
    http://applehelpwriter.com/2011/09/21/how-to-uninstall-mackeeper-malware/
    My active accounts are clean, but the On My Mac gmail keeps and continues to repopulate all email, even after I trash them.
    If you're seeing messages remaining in GMail's All Mail folder after deleting them, that's normal. GMail keeps all messages in there, even after deletion, unless you manually delete stuff using GMail's web interface. See Hiding GMail’s “All Mail” from Apple Mail.
    If you're actually having trouble deleting e-mail from an On My Mac mailbox, there's probably something wrong with your mailboxes.

  • Tether & Develop Settings in LR3 always get the 'Update Process Version'

    I am using tether with develop settings in LR3. I keep getting the 'Update Process Version' and it won't apply the filter unless I click the (!). It does this with newly created presets. Please help.

    awimaging wrote:
     bit of a waste of £78!
    Erm, 2 words... free trial? 
    Anyway, let's get you sorted out.  Are you the same hania on the POTN forums, or do you just have the same problem?
    First things first, when you mention repairing permissions, I guess you're a Mac user.
    First, hold down Opt while starting LR and see if you can start a clean catalog ok.  That'll determine whether it's catalog specific.
    Then go to Macintosh HD / Users / [your username] / Library / Preferences /  and move or delete any com.adobe.lightroom*.plist files.
    And while you're there, I'd also go to Macintosh HD / Users / [your  username] / Library / Application Support / Adobe / Lightroom / and move  that Lightroom folder somewhere else for the moment.
    Then see if it works.  Could be a few things - most likely are a problem with the catalog, corrupted preferences file, or a preset that it doesn't like.  We can exclude those quite easily using the above.

  • Getting the error message while logging through work place after upgrade

    Hi,
    C:\Documents and setting\YP80002\Local Settings\Temporary Internet files\Content.IE5\GTKFGH6L\tx[2].sap
    Application not found
    Getting the error message while logging through work place.
    It is urgent
    Thanks,
    Sri.

    After upgrading the Batch file it worked fine.
    Thanks,
    Sri.

  • Can i get the easy process to download the data from CDHDR & CDPOS?

    Hi,
    I want to download the data from CDHDR & CDPOS..i tried with GUI_download..but i am unable to download the huge date into XLS sheet so, can any one help me in this to download the data from CDHDR & CDPOS?
    for a month in single execution(Min for Month).
    Can i get the easy process to download the data from CDHDR & CDPOS?
    Thanks,
    Kumar.

    split your internal tables in each 65K till office 2003 and 1048576 for office 2010
    and then keep downloading part by part..

  • Get the control of an iMac through internet

    Hello,
    I want to get the control of an iMac through internet.
    What is the solution ? Perhaps with Messages ? Configuration ?
    Thank you

    Hi,
    iChat and Messages 7 in Mountain Lion could do this as the remote end could be set to automatically accept a video invite.
    The basic Auto Accept (Apple)script for this does have words to exclude Screen Sharing from this (but you could edit those out and save the edit and  new Script).
    In Messages 8 in Mavericks you no longer have access to the abilities to Auto Accept the Video and Audio invites as Apple removed the Alerts preference pane in the Messages Preferences.
    This means that auto Accept can only be linked to the Messages Received option in the General Section of the app's Preferences.
    There is a App within the Mac OS that can use the Apple Remote Desktop client engine that all Macs have.
    This is the bit in the System Preferences > Sharing that can be set for Screen Sharing.
    You then use the Finder > Go Menu > Go to Server and start with VNC://xxx.xxx.x.x
    This is simple on your Mac the other computers on your LAN as they all start with IP addresses behind your router.
    If the Finder is showing Shares then the option button that says Screen Share also invokes this method.
    You can use it over the internet.
    The VNC address then has to be the contact's Public IP address and their router set up to forward the data to their computer on their LAN.
    This is where apps like TeamViewer come into their own.
    9:25 pm      Saturday; December 7, 2013
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Programatically deleting the completed process instances

    Hi,
    I have too many completed process instances in my dev system. Deleting them using "Administration -> Archiving and Deleting" is very cumbersome and also giving lots of errors. Is it possible to delete all the completed/erroneous process instances programatically using GP API? If yes, could you please tell me what the class/package/api is? I searched through the API but did not find anything useful.
    Thanks
    Ram

    Hi David,
    Thanks for the response. When I try to delete all process instances using the "Archiving and Deleting" tool, I get the below error. Looks like there is an error while loading all the process instances.
    java.lang.NullPointerException
         at com.sap.caf.eu.gp.ui.admin.arch.VProcessInstances.createAllInstanceElements(VProcessInstances.java:633)
         at com.sap.caf.eu.gp.ui.admin.arch.VProcessInstances.loadAllInstances(VProcessInstances.java:502)
         at com.sap.caf.eu.gp.ui.admin.arch.VProcessInstances.onPlugFromNavigation(VProcessInstances.java:234)
         at com.sap.caf.eu.gp.ui.admin.arch.wdp.InternalVProcessInstances.wdInvokeEventHandler(InternalVProcessInstances.java:249)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    In my worklist, there are 2 workitems in erroneous category. When I try to open them by clicking the links, I get the error "Could not retrieve process instance: contact your system administrator". May be these 2 workitems are the reason for the above error.
    I tried the "Global Settings" to delete the completed, erroneous and terminated processes after 1 day, but it doesn't seem to be working.
    Thanks
    Ram

  • Getting the value of a String through reflection

    I have a class with a member variable that is of type String. How can I retrieve this value through reflection?
    I have tried the following
    String x = (String) myclass.getClass().getField("myvar").get(new String());
    If I try this I get IllegalArguemtnException can not set java.lang.String field pkg.myclass to java.lang.String

    ajavauser wrote:
    I have a class with a member variable that is of type String. How can I retrieve this value through reflection?
    I have tried the following
    String x = (String) myclass.getClass().getField("myvar").get(new String());
    If I try this I get IllegalArguemtnException can not set java.lang.String field pkg.myclass to java.lang.StringThat error message probably comes from another piece of code?
    (Since it says "set" and you are calling "get")
    The argument to the get method is however wrong. The String class does not have an attribute named "myvar". The argument to get should be the instance that you want to read the "myvar" value from.
    kaj

  • How to get the tab process in order???

    Hi all,
               In my form i want to align my tab process correctly..
      For example...in the 1st place i have 1 edit text(txt1), next in the 2nd place i have a matrix(mtx_0) & in 3rd place i have an another edit text(txt2)...
                         so,my problem is i have set the taborder as '0' for my txt1 then i want the focus(when i press tab key) it should go into the matrix(mtx_0) 1st column,but it's going next to the 'txt2'....even iam unable to find the taborder for matrix column(in screen painter) can anybody help about this.
    regards,
    shangai.

    R u getting the "Object Reference" error, thats because u did not specift the matrix.
    If pVal.ItemUID = "txt1" And pVal.EventType = BoEventTypes.et_LOST_FOCUS And pVal.BeforeAction = False Then
    Dim oForm as SAPBOUI.Form
                       oForm = SBO_Appln.Forms.Item(FormUID)
                        Dim objMatDet As Matrix
                       objMatDet = oForm.Items.Item("").Specific 'Fill the blank with the ITEM UID of the matrix.
                                          objMatDet.Columns.Item("MatRel").Cells.Item(pval.Row).Click()
                     End If
    Hope this solves it now..
    Vasu Natari.

  • How can I get the sub folders in room structure?

    Hi guys,
    I have a quesion: in KM-Collaboration-roomstructure, if I have a folder A, how can I get its sub folders like A.1,A.1.1,A2.
    I mean of course  how code can realize: using context folder=(IPcdContext) ictx.loopup(path) ?
    Please give me some hint!
    Thanks so much!
    Regards,
    Liying

    The phone number format as well as the date language and format and the time format are controlled by the Region Format setting. Go to Settings > General >International > Region Format.  When you change a region format, you can go back one page (to International) and see an example of the date/time/phone number format that your selected region format will produce.

Maybe you are looking for

  • Manual de Integracao v300-2009-03-16 - SAP 4.7 SP30 preparado para NF-e?

    Boa tarde, Estou iniciando um projeto de implementação de MP135 + NF-e + SPED na versão 4.7 do SAP, este ambiente encontra-se atualizado com o SP30. Gostaria de saber se é possível configurar a NF-e com base no novo layout definido no "novo" manual d

  • New Release Strategy in case of PO amendment

    Dear All, We have the release strategy at PO level on 3 parameters, Purchasing Group, Value and Document type.. for each parameter we have created the characteristics EKKO- EKGRP, EKKO-BSART, EKKO-GNETW. Till date system is working ok and trigreeeing

  • "Browser Type" greyed out in OpenScript.

    Hi, The "Browser Type" dialog is greyed out in OpenScript. No browser starts when I click record button. Any ideas? Regards, Alex

  • Access the URL Parameter from a Adaptermodule

    Hi, I need to implement an adaptermodule to create a SOAP-Header element. I use the SOAP Adapter (receiver) in this case with the flag "Not use SOAP env.) One element within this header element will be the URL of the Webservice with I declare in the

  • 'authentication failed' using Microsoft ADSI version LDAP server

    Hi All, Now days i am facing some problem in authentication (i am using microsoft ADSI version LDAP Server) but am not able to authenticate the LDAP users. I have configured my LDAP server in the same manner as u mentioned in this blog. when I am try