Multiple Processes With Separate WAITFORFLOW?

Hi,
I'm revising some legacy code in which the client wishes to implement some parallel processing for notifications. In my process, I currently have a process that sends out a group of notifications, and the parent utilizes the WF_STANDARD.WAITFORFLOW API to wait until all the child notifications are complete, then the parent launches another process to send out a separate group of notifications, again waiting for all the child notifications to be completed.
My client would like these two separate processes to run in parallel, rather than serially. However, I'm having a problem as at least one of the processes sits waiting, although all the notification responses are completed and the workflow should be able to continue.
I believe this is because I have the parent process waiting on two groups of processes simultaneously with the WF_STANDARD.WAITFORWORKFLOW API. Is there anyone who can validate my theory and if this is the case, offer suggestions on how I can work around the problem?
I apologize if the above isn't clear; I'm a complete Workflow novice but desperately need some help.
Thanks in advance.

Hi,
I don't think this that there is a problem with what you are trying to do - have you set the activity attributes on the wait for flow and continue flow activities correctly?
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://thoughts.workflowfaq.com ?
WorkflowFAQ support forum: http://forum.workflowfaq.com

Similar Messages

  • HT1206 Lots of info about one user using multiple computers. What about multiple users with separate Apple IDs using same computer? Having problems getting my wifes new iPhone talking to her apple account on the computer we share (2 users)

    Lots of info about one user using multiple computers. What about multiple users with separate Apple IDs using same computer? Having problems getting my wifes new iPhone talking to her apple account on the computer we share (2 users)

    You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.

  • Create a CR for multiple processing with me as the current processor

    Hi
    How to create a change request for multiple processing with myself as the current processor.
    I have created a change request for multiple processing and the ystem throws me the error that "There are no suitable change requests"
    Display help shows the below
    For the upload you need a change request that has the status Considered
    and Approved or To Be Revised and ideally has a type that does
    not have the property Object List Is Binding. If the
    change request does have this property, all the entities that are uploaded must
    already be assigned to this object list.
    Please can someoen guide me on how to fix this.
    I found few threads related to this but cudint understand on how to assign a status to CR
    Thanks,
    Sharma

    Hi Prateek,
    Please can anyone give any pointers on how to set the status of change request (for multiple processing):-
    For assigning the statuses to the change request:-
    Go to t code:- MDGIMG->General settings>Process Modeling>Change Request>Edit status of change request.
    the path you mentioned is to create and edit the existing Change request statuses, what I am looking for is when I create a CR for Multi record processing and try to upload a file I get the error "There are no suitable change requests". and when I check the Status of the change request I created I see that the status is Changes to be executed (Set automatically).
    how can i set myself as the processor.
    tcode: MDGIMG->General settings>Process Modeling>Change Request>Create Change request type. Ucheck the single object checkbox and assign your userid for that CR step.
    Single object is already Unchecked  and I am using BRF+ so when I am the processor First approver is say X, I am not sure if we have any place where we can set ourselves as the user. Please let me know if I missed sumting
    Thanks
    Hi Shephalika,
    Yes I am trying to upload a file and Single object is Unchecked in the Change request type.
    Thanks,
    Sharma

  • Launching Multiple Processes With JWS

    Is it possible to launch multiple processes with JWS? I'd like to specify in the jnlp 2 applications to run. Each application must run in its own java.exe process. Why you ask?
    I've created a mission critical application in JWS that requires the application to be active at all times. If the application crashes, the second application detects the crash and restarts the jnlp.
    How can this be accomplished? I'd like to stay away from created another JVM via JNI if possible.

    billmanhillman wrote:
    Invoking javaws from the application URL is not scalable. LOL! When people talk about 'scalable' they are usually referring to numbers of the order of '2000', not '2'.
    To cover something mentioned in another reply..
    Can you get the path to the jar by getResource()?Nope. Sun considers it not to be the business of apps., to know the location of the classes on disk. They have gone to considerable trouble to make it unavailable to applications.

  • Multiple Iphones with separate apps and one computer

    I've researched this and can not find any help on either the apple site, internet and not really in here clearly.
    We have multiple iphones each with their own apps and information and one computer. My husband doesn't want my apps installed on his iphone and I don't want his either.
    How can we sync and update our phones using one computer and back them up without overwritting each phone with the others apps. Especially if a restore needs to be done, itunes holds one phones set of apps.

    Because the iPhone does not support disk mode as with most iPods, which is probably for security reasons which isn't a concern with an iPod.
    I'm concerned what will happen when I get a new PC.
    No reason to be concerned. You need to transfer your iTunes library from your old PC to your new PC - the iTunes named folder located in your Music folder and with iTunes quit on the new PC, place the iTunes folder in the Music folder. You also need to authorize your new PC with your iTunes account with iTunes.
    When getting a new computer, you transfer your iTunes library and content along with all other important data that you will need or want to access on your new computer such as photos, documents, etc.

  • Synching multiple iphones with separate contact listsy

    How do I synch a new 3G iphone to my IMAC which already has my older iphone set up to synch.
    What will happen to my contact list on my computer- how can i have the 3g phone merge to a separate address list- do i have to set something up in my conatct list before I synch it? I do not want the entire computer contact list added to the new phone, I want the conatcts currently on the phone to be on a separate list on the computer so there is no merging between iphones.

    hi there - did you find a solution to your problem? i'm having a similar problem ... too many addresses in my address book and i don't want them all on my iphone. i fear the solution may be to manually sync rather than push through .me since you can control which address book groups will sync. please advise if you found anything else.
    thanks,
    ken

  • Same JVM multiple processes?

    Summary: Does any one know how to get a JVM to be shared across different Windows processes, as follows:
    Context: I have created a Java ActiveX component. This is instantiated and used as an object embedded in HTML. The HTML will always be executed in Internet Explorer. When I have multiple windows open in the same Internet Explorer process with the same HTML code the static variables are shared by all the Java ActiveX components. If I have multiple process of Internet Explorer open each with the same HTML code the static variables are not shared because different instances of the JVM are running in each Internet Explorer process.
    Question: Is it possible to do any of the following:
    - Get multiple instances of the JVM to run as multiple Threads i.e. not as separate processed with separate memory segments?
    - Get multiple instances of the JVM to share variables?
    - Prevent multiple instances of the JVM being created so that all Java objects run in the same JVM regardless of the process that instantiated them.
    This is possible in C++ ActiveX components using shared segments across different Internet Explorer processes, as follows:
    // in DLL .cpp file
    #pragma data_seg (�.mydata�)
    int sharedVariable = 1;
    #pragma data_seg ( )
    #pragma comment(linker, �/SECTION:.mydata, RWS�)Therefore I would expect that if I could achieve a similar approach with Java this would not be prevented by the OS (i.e. Windows) due to memory faults, etc. I know that Java has different (less) memory handling capabilites so this may not be possible but any suggestions would be very much appreciated.
    Thanks,
    J

    Summary: Does any one know how to get a JVM to
    be shared across different Windows processes, as
    follows:
    Context: I have created a Java ActiveX
    component. This is instantiated and used as an
    object embedded in HTML. The HTML will always be
    executed in Internet Explorer. When I have multiple
    windows open in the same Internet Explorer process
    with the same HTML code the static variables are
    shared by all the Java ActiveX components. If I have
    multiple process of Internet Explorer open each with
    the same HTML code the static variables are not
    shared because different instances of the JVM are
    running in each Internet Explorer process.
    Question: Is it possible to do any of the
    following:
    - Get multiple instances of the JVM to run as
    s multiple Threads i.e. not as separate processed
    with separate memory segments? No, each instance of the VM is a seperate process. The closest you can come without hacking the VM and/or IE, is running multiple Java programs in the same VM, each in its own thread.
    - Get multiple instances of the JVM to share
    e variables?
    - Prevent multiple instances of the JVM being
    g created so that all Java objects run in the same
    JVM regardless of the process that instantiated them.
    RMI provides some means of inter-VM communication, but this is probably not suitable for your application. The combination of JNI + NIO also provide some capability for the VM to share memory with native processes, but its not immediately obvious to me how to extend this capability to multiple VM's.
    >
    This is possible in C++ ActiveX components using
    shared segments across different Internet Explorer
    processes, as follows:
    // in DLL .cpp file
    #pragma data_seg (�.mydata�)
    int sharedVariable = 1;
    #pragma data_seg ( )
    #pragma comment(linker, �/SECTION:.mydata,
    RWS�)Therefore I would expect that if I could achieve a
    similar approach with Java this would not be
    prevented by the OS (i.e. Windows) due to memory
    faults, etc. I know that Java has different (less)
    memory handling capabilites so this may not be
    possible but any suggestions would be very much
    appreciated.
    Thanks,
    JAlso, you may want to keep in mind that VM's that run in a browser have a SecurityManager installed that restricts them from performing certain restricted operations. For this reason it may be difficult to do anything really ambitious with an applet or, presumably, a Java ActiveX control, though I have no idea what that is.
    Good luck.

  • I have multiple users on my computer with separate iTunes libraries.  can we share?

    I have multiple users on my computer with separate iTunes libraries.  Is it possible to share the libraries?  The "share library" preference doesn't seem to work.

    Hi b noir, I also have two users on one pc with two different iTunes libraries.  But I also want to put them onto an external hard drive so that I can free up some memory on the pc.  So I figure I need to consolidate the two users iTunes libraries first before moving to hard drive?  But not quite sure how to do that on the iTunes 11?  Thanking you in advance!!

  • Problem initiating process with multiple operations using HTTP/SOAP

    Hi,
    I have defined a process which has multiple operations. My process starts with a pick activity containing onMessage branches for each possible operation. When I initiate this service using the BPEL console, I choose one of the operations and everything works fine.
    However, when I initiate this process using an HTTP/SOAP web service call using JMeter, always the first branch is executed regardless of the message I send.
    My operations are document/literal. Due to some restrictions, I cannot define a SOAPAction for the operations. Could this be the problem? Is there a workaround for this? If this is not the problem, what could be the cause?
    I'm using version 10.1.2.1.
    Any help will be appreciated. Thanks in advance..

    hi i am using 10.1.3 and still i can not initiate a process with multiple operations. Is there anybody to tell if pick activity works fine and if there are some points to consider?
    If there is a problem is there any solution to make a process with multiple operations?

  • Multiple (200 +) processes with Jrun And Linux

    Hello,
    We have a server in our enviroment running the following:
    2.4.9-e.27smp linux kernel
    mysqld Ver 4.0.15-standard for pc-linux on i686
    java version "1.4.1_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build
    1.4.1_05-b01)
    Java HotSpot(TM) Client VM (build 1.4.1_05-b01, mixed mode)
    47205 Oct 3 2003 jrun 4.0 updater 1a
    Starting the site with this command:
    su -c 'cd /usr/local/jrun/logs/df_nohup; nohup
    /usr/local/jrun/bin/jrun -config /usr/local/jrun/bin/df_jvm.config
    -start sitename &' userid
    We have 4 sites running on the machine each with the same
    command with the site names changed etc.
    Basicly when we start the sites each one generates 70+
    process each, usually when the server first comes up there will be
    240 + jrun process on it.
    We have a very similar configuration on our dev server, and
    it only starts 4 processes?
    Any ideas why this production server is generating so many
    processees?

    Thanks a lot for taking your precious time to review my code, Bogdan.
    I run an attempt using the additional flags you were suggesting but they didn't improve results.
    Your pointers to the DB Reference and C API sound a little bit like RTFM. In fact, I didn't read all the stuff there but a good portion of it before I was asking for help ;-) The FAQ entry I mentioned leads exactly to the "Architecting Transactional Data Store" topic.
    The code was modeled after the "The third way to architect Transactional Data Store applications is as a group of unrelated processes" using the DB_REGISTER flag.
    It seems to take a senior expert to get my simple requirement done :-(
    All I know now is I'm not alone:
    Problem with multiple processes and DB_REGISTER
    Re: Problem with multiple processes and DB_REGISTER
    Does anybody has the code for developing multi-process program .thank you.
    Re: does anybody has the code for developping multi-process program .thank you.
    Any more ideas what to try next?

  • ITunes 11... I have multiple artists with the same album name... how do i have them show up as separate albums?

    I have itunes 11 with iTunes Match on 2 Macs and 2 ios devices... I know it all has bugs... but I have been ok.
    I am wondering how to show my library in the column browser view when I have multiple albums with the same names? I have noticed on my ipod in my car that an album titled "Christmas" plays and includes 2 different albums titled christmas... and in itunes it lists them both when not in the artwork view... (I primarily use the column browser to navigate my library.
    Just wondering if anyone else has experienced this/knows how to fix.
    Thanks!

    Various workarounds I can think of which basically involve playing around with tags.  See which meets your needs or come up with others:
    Give the albums slightly different names.  For example, "Greatest Hits" [ABBA]"
    Do the same but do it in the sort album field.
    Add a bogus disc number to different albums.  It may string them together still but at least they will be slightly grouped.

  • How do i setup multiple pc login users with separate iclouds

    Have one PC with separate user logins for me and the wife.  Successfully set up icloud for me, but am at a loss on how to continue to get icloud set up for the second pc user. No setup to run anymore, because it was installed with the first user. Cannot integrate outlook this way. Anybody know?

    Guess I figured it out. I was a matter of finding the icloud.exe executable in the program files (it did not show under the start menu). Setup for the second user went without a hitch. 2 PC profiles, 2 apple IDs, 2 calendars in iCloud. Now i just need to find the way to see my wife's iCloud calendar on my iPhone, (as a separate calendar).

  • Single Weblogic Process with multiple databases

    Hi,
    Presently we are working with two seperate weblogic processes with for two different
    database schemes. The weblogic properties are defined differently in two weblogic.properties
    files.
    Is there a way to start weblogic in a single process so that it will work with
    two different DB schemes at runtime?
    Thanks,
    Danny.

    You have to use XA Driver which supports Distributed Transactions. This is
    supported from 6.0.
    Weblogic provides Type2 XA driver for Orcale and Oracle's Thin Driver
    Version 817 supports
    XA operations.
    Go through these doc's for more info:
    http://e-docs.bea.com/wls/docs61///adminguide/jdbc.html
    http://e-docs.bea.com/wls/docs61/////jta/thirdpartytx.html
    -krishna
    "Daniel Gordon" <[email protected]> wrote in message
    news:3b680f81$[email protected]..
    >
    Hi,
    Presently we are working with two seperate weblogic processes with for twodifferent
    database schemes. The weblogic properties are defined differently in twoweblogic.properties
    files.
    Is there a way to start weblogic in a single process so that it will workwith
    two different DB schemes at runtime?
    Thanks,
    Danny.

  • Can we create multiple application with single MSI(or Same MSI) in biztalk admin console ?

    Can we create multiple application with single MSI(or Same MSI) in biztalk admin console ?
    My client requirement is process 100 files  from biztalk with in 5 min ,actually it is taking 20 min .
    So I decided to created same instance of the application with multiple time in BTS admin console ,as I understand biztalk admin console never allow to install same
    schema’s with multiple  time .
    Any help can be  appreciate ..

    BizTalk will automatically process multiple messages on separate threads so you may need to tune your system. The following link should get you started:
    http://social.technet.microsoft.com/wiki/contents/articles/7801.biztalk-server-performance-tuning-optimization.aspx
    Another possibility is to set the Batch Size property on your receive location if the adapter uses batch size to determine how messages are picked up.  As an example, it you want  the MSMQ adapter to immediately pick up messages and start
    to process them, set the batch size to 1.
    You may also need to distribute the processing across multiple BizTalk servers by installing BizTalk on additional servers and joining the existing BizTalk group.
    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.

  • How to config a shared cache for multiple environments with C API

    How to config a shared cache for multiple environments with C API?  Just like Java edition. Chapter 2. Database Environments
    I want to open large number of databases, at least 10,000. But as the counts of databases opened increase, the db->open operation become very slow. It almost cost 2 hours to 10,000 databases.
    So I try to distribute these databases to multiple environments ( for example, 5 envs ). And in order to improve the efficient of memory use, I want to share cache between envs.

    Hi,
    It is not clear what you meaning about multiple environments. Do you mean these environments are in different directories or  in the same directory ? If you mean environments in different dirs share the same cache, it is interesting why you need that.
    If you do not use DB_PRIVATE to open the environment, the created cache will be on disk, in the environment directory, so it can be shared by multiple processes and multiple threads. Currently, the cache file is in the environment directory, and we do not support specifying a separate directory for cache only.
    Regards,
    Oracle Berkeley DB.

Maybe you are looking for

  • Unable to login with my booklet and IE8 on this si...

    for some reason, i cannot log into this site anymore on my booklet 3g with my IE8 browser.   it only works using firefox. i can log in no problem on other terminals and n900...but not my booklet. i have tried to completely reset the browser to origin

  • Strange display of query components in the report

    hey, when I create a query and execute the report, there are always these empty lines (sometimes 4 or so) between characteristics, key figures and free characteristics. Maybe it's important to tell you that I am using external hierarchies and variabl

  • MIRO and  Payment document link

    Dear Experts, Please guide me, How to get the link between payment document  and Miro  document ,  any table or report? Regards Chandu

  • 10.2.0.3 DBUA Error

    I downloaded pat 5337014 in order to upgrade my 10.2.0.2 databases to 10.2.0.3 1. Originally installed Oracle 10.2.0.1 on RHEL 4 32-Bit without a database 2. Applied the 10.2.0.2 patch then created a DB 3. Successfully installed the 10.2.0.3 patch 4.

  • No WebDynpro option in SE80 dropdown list

    I installed the sneak preview successfully (after a few tries). When I go into se80, the option to create/search for a WebDynpro application is not available. I have uninstalled and reinstalled the entire app server and db and  the same thing is happ