Inter-Process Asynchronous Event

Hi All,
A question came into my mind when thinking about how to model a procure-to-pay process with BPM for NetWeaver.
Imagine there's a process allowing a purchaser to purchase products from a vendor:
[Purchase Order Processing|http://esoadocu.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DBBB6D8AA3B382F191E0000F20F64781&id=F4EF93509BE111DB2B24000F20DAC9EF]
In Galaxy I would model a couple of human-centric steps for the purchaser to collect the purchase data and then a insert a service invocation/automated step of the asynchronous outbound method PurchaseOrderRequest_Out in the purchaser's ERP backend system.
So far so good. But now I don't want this process to end already but wait for the vendor to confirm by calling the asynchronous inbound service PurchaseOrderConfirmation_In, then afterwards having follow-up human steps for the purchaser.
Question:
Is it possible to have one process model to support this scenario?
Thanks and Kind Regards,
Ingo Taraske

Hi David
Thanks for this information ...But It would be great if you could explain in detail about your suggestion to realize this using 2 different processes(I have highlighted that part)
Unfortunately, this is not possible in EhP1. Wait step or asynchronous message receiving is what we call "event correlation". This is realized in EhP2 using "intermediate message event" according to BPMN 1.1.
"To realize this scenario with EhP1, you need to to model two different processes, the second one starting from the asynchronous wait step. Then, you can use PI/XI to trigger the start of the second process as soon as the PurchaseOrderConfirmation_In is called."   --- I couldn't quite catch this...
Best regards,
Arun

Similar Messages

  • How to look at inter-process messages

    Automator has Mail actions called "Get Selected Mail Messages" and "Get Attachments From Mail Messages", etc. It's easy enough to view Mail's dictionary in Applescript Editor and guess what it is doing, but it would be more direct to watch the message flow. Is there some utility to "watch" the inter-process messages that go between applications?

    A good idea. I look at the logs for many things, but didn't think to for this.
    In system.log, all I see related to Automator or Mail are events unrelated to what I am doing and they look like:
    Automator[3268]: The action “Initiate Remote Broadcast” could not be loaded because the application “QuickTime Broadcaster” was not found.
    Mail[554]: Periodic CFURLCache Insert stats (iters: 2003) - Tx time:0.004129, # of Inserts: 1, # of bytes written: 43, Did shrink: NO, Size of cache-file: 17963008, Num of Failures: 0
    similar results looking at Console Message or All Messages. Nothing new appears in the logs if I run the Automator workflow. I do see every NSLog() message issued by the programs I am writing, so maybe Automator and Mail do not NSLog anything.
    Is there any process running that handles IPC or is it direct communication?

  • Popularity trend/usage report is not working in sp2013. Data was not being processed to EVENT STORE folder which was present under the Analytics_GUID folder.

    Hi
     I am working in a sharepoint migration project. We have migrated one SharePoint project from moss2007 to sp2013. Issue is when we are clicking on Popularity trend > usage report,  it is throwing an error.
    Issue: The data was not being processed to EVENT STORE folder which was present under the
    Analytics_GUID folder. Also data was not present in the Analytical Store database.
    In log viewer I have found the bellow error.
    HIGH -
    SearchServiceApplicationProxy::GetAnalyticsEventTypeDefinitions--Error occured: System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly
    secured fault was received from the other party.
    UNEXPECTED - System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail,
    System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
    HIGH - Getting Error Message for Exception System.Web.HttpUnhandledException
    (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party.
    CRITICAL - A failure was reported when trying to invoke a service application:
    EndpointFailure Process Name: w3wp Process ID: 13960 AppDomain Name: /LM/W3SVC/767692721/ROOT-1-130480636828071139 AppDomain ID: 2 Service Application Uri: urn:schemas-microsoft-
    UNEXPECTED - Could not retrieve analytics event definitions for
    https://XXX System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
    UNEXPECTED - System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail,
    System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
    I have verified few things in server which are mentioned below
    Two timer jobs (Microsoft SharePoint Foundation Usage Data Processing, Microsoft SharePoint Foundation Usage Data Import) are running fine.
    APPFabric Caching service has been started.
    Analytics_GUID folder has been
    shared with
    WSS_ADMIN_WPG and WSS_WPG and Read/Write access was granted
    .usage files are getting created and also the temporary(.tmp) file has been created.
    uasage  logging database for uasage data being transported. The data is available.
    Please provide pointers on what needs to be done.

    Hi Nabhendu,
    According to your description, my understanding is that you could not use popularity trend after you migrated SharePoint 2007 to SharePoint 2013.
    In SharePoint 2013, the analytics functionality is a part of the search component. There is an article for troubleshooting SharePoint 2013 Web Analytics, please take a look at:
    Troubleshooting SharePoint 2013 Web Analytics
    http://blog.fpweb.net/troubleshooting-sharepoint-2013-web-analytics/#.U8NyA_kabp4
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to make a dalog process custom events when blocked by modal dialog

    Hi,
    I would like to understand the way modal dialogs block other dialogs so that I can properly solve an issue I'm having with two modal dialogs, one blocking the other.
    I have an application, netbeans platform based, that opens a JDialog, NewDiskDlg, with it's modal property set to true. This dialog is responsible for starting a thread that will process a given number of files, from time to time, depending on some conditions, this thread will send events to the NewDiskDlg.
    When this thread is started, the NewDiskDlg creates a new JDialog, also with the modal property set to true. Both dialogs have the same parent, the main window. And this works as I expected, the second dialog, ActiveScanningDlg, opens on top of the NewDiskDlg and, until the thread stops, the dialog stays visible.
    When the thread stops an event is sent to this two dialogs signaling that the job has been completed, and here is my problem. The second dialog, the one that is visible when the event arrives, receives the event and executes the dispose() method, releasing control to the NewDiskDlg in the back, but the NewDiskDlg does not receive the event and does not process it correctly.
    I understand the no input can be sent to a blocked window, but does that include calling upon the window's methods?
    I've been looking for some help on this but my search terms are not good enough to provide me with any useful information. I've also read the topic on the focus system that is present in the Java Tutorial but I feel that that is not what I should be looking at.
    The following code is a snippet of the important parts that I described:
    NewDiskDlg has the following methods to process the events
        public void readingStarted(ReadingEvent evt) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    scanningDlg.showCentered();
        public void readingFile(ReadingEvent evt) {
            //DO NOTHING
        public void readingStopped(ReadingEvent evt) {
            Lookup.getDefault().lookup(MediaReader.class).removeListener(this);
            if (!showAgain) {
                dispose();
        public void readingAborted(ReadingEvent evt) {
            JOptionPane.showMessageDialog(this, "", "", JOptionPane.ERROR_MESSAGE);//TODO: i18n on the error messagens
            Lookup.getDefault().lookup(MediaReader.class).removeListener(this);
        }ActiveScanningDlg processes the events like this:
        public void readingStarted(ReadingEvent evt) {
            //DO NOTHING
        public void readingFile(ReadingEvent evt) {
            jpbReadingProgress.setString(evt.getCurrentFileName());
        public void readingStopped(ReadingEvent evt) {
            Lookup.getDefault().lookup(MediaReader.class).removeListener(this);
            dispose();
        public void readingAborted(ReadingEvent evt) {
            readingStopped(evt);
        }This is an example on how the events are sent:
        private void fireReadingFile(ReadingEvent evt) {
            for (ReadingListener l : listeners) {
                l.readingFile(evt);
        }

    Hi,
    You have to check the Tolerance limits set for the following tolerance keys. In case if any where the limit is breached the systems blocks the Invoice as 'R - Invoice verification'. Please check the limits set for all these keys.
    AP - item amount variance (if you have activated the item check)
    DQ and DW - for Quantity variance
    PP - price variance with the order price
    ST - date variance
    VP - Moving average price variance
    Regards,
    Kathir

  • Process the events in quee

    Hi ,
    How to know the process quee(events quee)
    For Example : one table with many rows and two columns (name ,***(check box)) .
    when i selected first row check box it will run some process before completed the process if i select the other check box(other event fire)
    how to process the events in quee?
    Jdeveloper version - 11.1.1.5
    Please help
    Thanks
    sa

    One solution would be to prevent the user from clicking another check box while Ted processing of the first has not finished. For this you can user a glaspane.
    Timo

  • MediaCore Importer Process Debug Event

    I have a Xp 64bit computer running CS4.  I keep on getting MediaCore Importer Process Debug Event Errors on differnt projects.  The error details are sometimes different but usually they say.  Src/importer/ImporterInstance.cpp.-641
    I have scanned for viruses
    I have repaired windows
    I have repaired premier
    I have deleted and reinstalled premier
    I have updated the drivers on my video card
    I have looked around here and haven't found much for help.  It might be a specific file given me problems but I have not tracked it down yet.  It might be a codec problem.  I am running out of ideas

    My computer was working fine until 2-3 weeks ago.  No changes except for maybe a CS4 update.  Scanned for viruses nothing but a few cookies.
    Supermicro board
    dual 2.6 ghz intel quad xeons
    8 gigs of Wintec Ram
    Nvidia Quadro (dual monitor)
    Alesis audio card
    Adaptec raid controller
    Seagate hard drives (about 2 tb raid 10)
    Pannasonic DVCpro Deck (firewire)
    Windows XP 64 (just repaired - trying to fix problems)
    It is connected to a Cisco Switch for file sharing.
    Updated CS4 PP
    Most video footage is from gyhd100u but we get footage and video from many sources
    I am looking for a post from someone who has had this problem, fixed this problem, or has some insight to what a MediaCore Importer Process Debug Event means.
    I have been using Adobe Products for over 10 years and I am very computer savy.  Even if you are looking to fix the same problem send me some info and maybe I can narrow it down and fix it for both of us.
    Right now I think it might be my video card.  When I repaired windows I upgraded the drivers on it now I have even more problems.  I am rolling them back right now. If that doesn't work I will rollback premier

  • Make asynchronous event handler as synchronous using Powershell

    Hi All,
    Using custom coding i am able to change the asynchronous event handle to synchronous.
    Can anybody let me know Is there any other way to change the same. Like Powershell script or any.
    Without deploying the solution i want to change the event handler type.
    Please advice.
    Thanks & Regards
    MD.Liakath ali

      
    Hi 
    you can use power shell to do so
    Add-PSSnapin Microsoft.SharePoint.PowerShell –erroraction SilentlyContinue 
    $web = Get-SPWeb -Identity http://...
    $list = $web.GetList($web.Url + "/Lists/" + “list name”) 
    $type = "ItemAdded" #or any other type, like ItemDeleting, ItemAdding, ItemUpdating, ... 
    $numberOfEventReceivers = $list.EventReceivers.Count 
    if ($numberOfEventReceivers -gt 0)
     for( $index = $numberOfEventReceivers -1; $index -gt -1; $index–-) {
        $receiver = $list.EventReceivers[$index] ;
        $name = $receiver.Name
        $typ = $receiver.Type ;
     if ($typ -eq $type)  #or you can check ($name -eq "event receiver's name") if you have more then one event receivers of the same type
        $receiver.Synchronization = "Synchronous"
        $receiver.Update()
        Write-Host "Event receiver " $name " is changed to Synchronous"
    else
        Write-Host " There is no EventReceiver of type " $type " registered for this list "
    $web.Dispose()
    or
    $list = (get-spweb http://sharepoint/sites/test).lists['somelist']
    $def = $list.EventReceivers.Add()
    $def.Assembly = "MyReceiverAssembly, Version=1.0.0.0, Culture=Neutral,PublicKeyToken=a00000000a000ce0"
    $def.Class = "MyReceiverAssembly.MyReceiverClass"
    $def.Type = [Microsoft.SharePoint.SPEventReceiverType]::ItemAdded
    $def.Name = "My ItemAdded Event Receiver";
    $def.Synchronization = [Microsoft.SharePoint.SPEventReceiverSynchronization]::Synchronous
    $def.Update()
    this should be done at each level where list is present.
    or you can Edit the Elements.xml file of the event receiver in(14 hive layouts/feature folder) and set the synchronization element as below..
    <Synchronization>Synchronous</Synchronization>
    Synchronous</Synchronization> https://naimmurati.wordpress.com/2012/03/22/add-modify-or-delete-list-event-receivers-with-powershell/">https://naimmurati.wordpress.com/2012/03/22/add-modify-or-delete-list-event-receivers-with-powershell/
    Regards,
    Rajendra Singh
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
    http://sharepointundefind.wordpress.com/

  • Asynchronous Event listeners and security

    Hi,
    I have written an asynchronous event listener that would record a users "login time" when the user logs into my portal. I record this login time as a property value in a custom user property set.
    Unfortunately, the thread that executes the logic in the listener, does not have the rights to modify the property set data, as you can see from the following trace :
    com.xyz.user.UserException: Unable to set user property
    at com.nokia.npp.user.impl.UserImpl.setProperty(UserImpl.java:113)
    at com.xyz.postlogin.TrackPostLoginTask.handleEvent(TrackPostLoginTask.java:95)
    at com.bea.p13n.events.internal.AsynchronousEventHandler$EventRequest.execute(AsynchronousEventHandler.java:145)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.SecurityException: User <WLS Kernel> does not have permission to modify data for joesmith. Users can only be modified by themselves, or by a member of the role [Admin, PortalSystemAdministrator].
    at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:102)
    at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:307)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:263)
    at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:140)
    at com.bea.p13n.usermgmt.profile.internal.UserProfileManager_mfa736_EOImpl.setProperty(UserProfileManager_mfa736
    _EOImpl.java:215)
    at com.bea.p13n.usermgmt.profile.internal.ProfileWrapperImpl.setProperty(ProfileWrapperImpl.java:231)
    at com.nokia.npp.user.impl.UserImpl.setProperty(UserImpl.java:109)
    ... 4 more
    Caused by: java.lang.SecurityException: User <WLS Kernel> does not have permission to modify data for dnataraj. Users ca
    n only be modified by themselves, or by a member of the role [Admin, PortalSystemAdministrator].
    at com.bea.p13n.usermgmt.profile.internal.UserProfileManagerImpl.authorizeModification(UserProfileManagerImpl.ja
    va:133)
    at com.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.setProperty(ProfileManagerImpl.java:525)
    at com.bea.p13n.usermgmt.profile.internal.UserProfileManager_mfa736_EOImpl.setProperty(UserProfileManager_mfa736
    _EOImpl.java:205)
    this comes across as a bit odd to me. Does anyone have any advice/ideas?
    cheers!
    BR,
    deepak

    take a look at runAs()
    http://edocs.beasys.com/wlp/docs81/javadoc/com/bea/p13n/security/Authentication.html
    Chris Jolley
    Portal Architect

  • Process dialog Event in BI Stats

    Hi guys,
      The process dialog event in my BI statistics for a query is taking huge time .. what is this event and what are the steps to increase performance w.r.t to this event.
    Thanks,
    Your help will be greatly appreciated

    It is supposed to be in Released status.
    The BI_PROCESS_TRIGGER job is scheduled to run based upon the event being triggered (from your ABAP program).  The only thing this job does is trigger the event that runs the next process in your process chain.  If you set up the Start variant in your PC to schedule "After Event" and you set the periodic flag, then after the BI_PROCESS_TRIGGER job finishes, it will reschedule itself.  So, there will always be a BI_PROCESS_TRIGGER job in a Released status.
    Again, the BI_PROCESS_TRIGGER job does not run the entire chain.  It only triggers the next processes in your chain.
    Does this help?
    PS.  Are there any BI_PROCESS_TRIGGER jobs in a Complete status?  If not, then there is an issue with your ABAP program.
    Edited by: Geo on May 4, 2009 11:13 AM

  • How to process DoubleClick event on JTextField?

    how to process DoubleClick event on JTextField?

    add a mouse listener that listens for mouse clicked and you can get the click count from the event...

  • How to process key Events in a JTextArea?

    does anybody of you know how i can process KeyEvents in a JTextArea object? i know i can use the processKeyEvent-method but i don't want to process the Event on the current Caret-position - it would be cool to process this keyEvent at a given position anywhere in the text... it works if i set the CaretPosition to this special position, do the processKeyEvent-method and restore the Caret to it's original position but i want the user to be able to type at the same time as the KeyEvent on another place in the text is processed...
    sorry for my bad english (if it's that bad - i don't know :-) )
    greets and thanks,
    zeroconf

    I think i know one:-)
    Try to override insertString() method of your document.
    In fact create your subclass of the document.
    the insertString method has parameter offset. It's place in the document where changes should be done. All key type events are converted into the insertString() calls.
    So you can do like that
    class MyDocument extends DefaultStyledDocument {(or extends PlainDocument for JtextArea. it depends which component you use)
    public void insertString(int offset,String str,AttributeSet a) {
      int newOffset=getNewOffset(); //get real offset where you want to insert/remove content
      super.insertString(newOffset,str,a);
    JTextArea ta=new JtextArea();
    tc.setDocument(new MyDocuemnt()); //replace default document
    regards
    Stas

  • Javax.sound.midi: Processing MIDI events

    Hello,
    I've been wondering if there is any way to process MIDI events without using
    a Sequencer, for example to take information of the file without play-back?
    greets

    Cool... Thanks! That was really simple to fix... wish
    I would have known that before...You're welcome. You may need to find a good MIDI reference via google (or scroogle if you're a commie) to supplement the info in Sun's documentation.

  • Initiate a GP Process via Events

    Hi *,
    Business users can initiate a guided procedure process from a process template and follow its execution. But is it also possible to initiate a process from Events?
    BR,
    Rene.

    Hi Rene,
    But is it also possible to initiate a process from Events?
    Yes, you can start process by four ways:
    1) Guided Procedures API: http://help.sap.com/saphelp_nw04s/helpdata/en/43/fcdf77fc6510b3e10000000a11466f/content.htm
    2) Runtime User Interface
    3) Calling an URL: Go to Guided Procedures -> Design Time -> Open your Process -> Instantiation tab -> Check Process Started Automatically -> Check include default parameters and click in Generate Instantiate URL
    4) Web Services ( http://<host>:<port>/wsnavigator )
    <removed by moderator>
    Edited by: Mike Pokraka on Jul 11, 2008 9:28 AM

  • Required info abt checkpoint process & checkpoint event.

    What is the difference between checkpoint process & checkpoint event in ORACLE.

    checkpoint process is background process of an oracle database (Mandotry process) it is part of oracle instance (instance = memory + background process) and inturn oracle database = instance + Database (datafiles,control files, redo log files)..
    regarding checkpoint event ? if i understand your question correctly then so some definition below...
    Oracle Checkpoint
    A checkpoint performs the following three operations:
    Every dirty block in the buffer cache is written to the data files. That is, it synchronizes the datablocks in the buffer cache with the datafiles on disk.
    It's the DBWR that writes all modified databaseblocks back to the datafiles.
    The latest SCN is written (updated) into the datafile header.
    The latest SCN is also written to the controlfiles.
    The update of the datafile headers and the control files is done by the LGWR(CKPT if CKPT is enabled). As of version 8.0, CKPT is enabled by default.
    Events that trigger a checkpoint
    The following events trigger a checkpoint.
    Redo log switch
    LOG_CHECKPOINT_TIMEOUT has expired
    LOG_CHECKPOINT_INTERVAL has been reached
    DBA requires so (alter system checkpoint)
    Additionally, if a tablespace is hot backuped, a checkpoint for the tablespace in question is taking place. While redo log switches cause a checkpoint, checkpoints don't cause a log switch.
    Time and SCN of last checkpoint
    The date and time of the last checkpoint can be retrieved through checkpoint_time in v$datafile_header The SCN of the last checkpoint can be found in v$database.checkpoint_change#.
    Size of redo log
    If the size of the redo log is to small, the performance of the checkpoint will not be optimal. This is the case if the alert.log contains messages like Thread .. cannot allocate new log....
    Thanks
    --Raman                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Asynchronous event in Process chain

    Hi Experts ,
    What is the use of asynchronous scheduling of an event in the process chain (using ABAP program) . I have used synchronous and local selections generally for my process chains earlier , but was wondering where could we exactly use asynchronous mode .
    I have referred to this link :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/eed63b54e56276e10000000a11402f/content.htm
    and have understood what asynchronous scheduling is (considering there are no advantages as such ) , so in which scenarios it is being used ?
    Please acquaint me about this .
    Thanks in advance !

    Repost

Maybe you are looking for

  • E mails and folders vanish.

    Some folders completely vanish, some folders remain, but with all of the contents missing. Some e mails that I want to keep but havn't moved to a folder will vanish.

  • Trying to move a zone to a new location

    hello all, I am trying to move a zone to another location within the same filesystem and keep getting this error. Any ideas? Thanks. bash-3.00# zoneadm -z server1 move /vpool/test zoneadm: zone 'server1': These file-systems are mounted on subdirector

  • Hello World Test   500 err    ! !!! help me ~~

    I am struding OAF . befoer a few day meet 500 err this project Hello World test I am studing at home . Oralce 10g + JDVeloper (10.1.3.3)+ window xp / Used dbc file General_Purpose.dbc . i have not ERP server . if hvae not ERP Server not working JDVel

  • My pictures are gone!

    I transferred all my files from my my Macbook Pro to the MacBook Air.. At first things went well, this morning I opened up my Iphotos and ALL my pictures are gone, why is this happening? I have them backed up in an exterior drive, but they usually ar

  • Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime prop

    Hi there Running Oracle Enterpride Edition 8.1.7 including Oracle Http webserver I'm trying to run a JSP application developed with Jdeveloper through th http server Think I have modified alle the .conf files correctly I get the message : "Error Mess