Subprocess relatively to the process of hand when called programmatically.

Hello

JDeveloper 11.1.1.6, WLS 10.3.6, BPM 11.1.1.6

I have 2 steps A and B. A. I want to call B.
I see 2 approaches to do this.

Approach 1. Call the sub-process B a send and receive activities.
If we do this way, when an instance of B is created, it is created as a child of the process a. (when he is seen in the EM Console)

Approach 2. Use a Web Service call in the main process. Lets say it's a Java Web Service and we use the following API to call the process.
IMS IInstanceManagementService is Fixture.getBPMServiceClient () .getInstanceManagementService ();.
Task task = ims.createProcessInstanceTask (bpmContext, pms.getCompositeDN()+"/"+pms.getProcessName ());
But I think it will be created in a separate process.

So my Questions are the following.

is a. in approach 2, possible to make the sub-process B as a child of a process?

b. the sub-process B might have to be called several times in parallel, with some settings each time.
I want to understand what is the best approach?
Use method A to call her go a subprocess (loop) with parallel, Multi Instance and use table to pass parameters for each sub deal call?
Or
Use approach B?

Thanks for any help
Sameer

Hi Sameer,

Your send and receive events would be the better of the two options you listed. If the two processes are in the same composite project and send and receive events are used, there is less overhead to call the sub-process.

Think you have alluded to this, but you will also keep the audit trail information if you take the first approach, not only in Enterprise Manager, but also in the workspace.

Dan

Tags: Fusion Middleware

Similar Questions

  • The process data adapter when DB is down?

    Hi, I'm trying to understand what is happening in an invoke activity that called a DB adapter if the database is out of service. I need to set up some error around the DB handeling are down, but I don't know what condition I should be looking? The process BPEL fails or t - she continue?

    Hello

    The invoke process will be error with the error remotefault.

    This is an unhandled exception. But if you want to have exception manage and want to cancel, and then add the catchBrach in your bezel or main and then add the remoteFault system error and create a faultVar and then perform your operation if not in the scope of the catchBranch.

    Kind regards
    Abdou

  • How to avoid the launch of Labview when called by Teststand VI

    Hi, friends.

    I am a student of teststand. I wrote a few screws by Labview. Now, I want to invoke in teststand environment. But when I run the sequence. LabVIEW automatically launches. How to avoid the launch of Labview when I run the sequence?

    Thank you.

    I'm not sure that I follow what you're saying...  But it seems that when the VI is called, the LabVIEW Development software is started and you want to avoid this.

    If you create an executable file or a dll and that any call within TestStand, she should not call the development environment.  You must have the LabVIEW runtime engine installed on the target computer.

    For several years I used TestStand with LV, if my memory does not have to be precise.  I think that the above worked for me.  However, it seems that I remember something to have the LV code in debug mode, causing to open development environment... but it's a distant memory.    You do not use breakpoints where the LV VI is called, are you?

    R

  • Error of 2 Win32 API ("the system cannot find the file specified.") When calling ShellExecuteExW from A

    I can't export images after processing in Lightroom (latest version) 5. See the message on top.

    At the bottom of the export dialog box, this pop-up is probably empty.  Select do nothing to do or another option and it should disappear.

  • By the way the values and the process of PL/SQL call via a column binding

    Hi all

    I have a report and a link on one of the columns that you take you to another page and passes the data from the report to this page. Everything works well. In addition to picking up the details of the report, that I join the link to call a process page before it goes to the next page by using some of the values picked up in the report. This I can go to work by changing the link to a URL and put in some javascript that is to say javascript:doSubmit('TEST_PROCESS'); By doing this "Lose" the opportunity to pass the info according to the report, via the link.

    Can someone give me a clue as to how I can achieve both please? I guess I need to create my own javascript function, but I don't know how to enter the information of a line in a report to send.

    Concerning
    Helen

    Helen:

    JavaScript works against the current page's HTML elements. Application parts are NOT HTML elements and can therefore be manipulated directly from Javascript.

    CITY

  • The process Bpel of JavaScript call

    Jin

    can we call a process BPEL of JavaScript can someone help me please



    http://hostname:8888/ORABPEL/test/getRODetails/1.0/getRODetails?WSDL

    for example the above wsdl is created through Jdeveloper here... my desire to developer UserInteface access the wsdl above from javascript

    the wsdl binding above have an input parameter... She asked me to send the parameter as

    http://hostname:8888/ORABPEL/test/getRODetails/1.0/getRODetails?WSDL & param = 'Bus%'

    Param = "Bus %" is the parameter in the wsdl binding


    can achieve us as above, I've specified

    You can call HTML form BPEL.

    Take a look at the blog: [http://blogs.oracle.com/reynolds/2005/09/invoking_bpel_from_an_html_for.html]

  • iPhone 5 s to connect with blue tooth in the car for hands-free calling does not connect to the speaker, it works very well with the iPhone 5. How to solve this problem?

    IPhone 5 IOS 9.2 (13 c 75) I can log in my car with Blue Tooth to make phone calls, but it does not connect to the speaker. To establish the connection with the car, the procedure has been completed correctly. With the iPhone 5 it works perfectly correct.

    How to solve this problem? Is there someone who has the same problem?

    Howdy,

    Thank you for using communities Support from Apple.

    I see you try to get your iPhone to interface with the stereo in your car via Bluetooth.  For setting this up, please follow the steps below.

    If you use Bluetooth

    1. Consult the user manual of your car stereo to get the procedure to a Bluetooth device.
    2. On your iOS device, drag up to open Control Center, then press ontwice to turn on Bluetooth and turn it back on.
    3. Restart your iOS device.
    4. On your iOS device, Cancel the twinning of your car radio. On the screen of your car désapparier your iOS device and any other device. Restart your car and your iOS device, then pair and connect again.
    5. Update your iOS device.
    6. Install the updates to the firmware of your car radio.
    7. If you still not connect, contact Apple technical support.

    Help to connect your iPhone, iPad or iPod touch with your car radio

    See you soon.

  • I have an iPad 2 Air myPhone does not appear at the bottom of the screen on FaceTime, when call is received. Tried typing the wallpaper nothing.  Could I have accidentally disabled something?  Any suggestion would be appreciated.

    I have an air of the iPad 2. I can't answer my incoming calls on facetime no phone on the screen.  I tried to hit the bottom of the screen and nothing happened.  could I have accidentally disabled somethng? Any help would be appreciated.

    Hello Freckles60,

    After reviewing your post, it looks like you aren't able to answer calls FaceTime on iPad. I recommend you to read this article, it may be able to help solve the problem.

    Get help if you cannot make or receive calls FaceTime - Apple Support

    Thank you for using communities of Apple Support.
    Good day.

  • Can I replace reminder in the process template engine?

    I'm confused. I guess I can put the SequenceFilePostStep and SequenceFilePostStepRuntimeError callbacks in the process template I use and so replace this engine callback for my sequence of all the files that I run using this process template. What I actually see is that I should create these reminders of engine in each of my sequence files to make them work. Those of the process template is not called. Stack of calls that I have is - - . So, I would keep my engine in one place callbacks instead of many places .

    Hello

    If you want to maintain engine in one place callbacks instead of many places , use ProcessModelPostStep and ProcessModelPostStepRuntimeError in your sequence of process template file. These fires after each step of the sequence of client. TS reference manual table 10-1, "after the engine executes each step in any client.
    sequence of drop calls to process template and each step in calls to subsequence resulting.

    The equivalent of this would be to use the SequenceFilePostStep and reminders of SequenceFilePostStepRuntimeError in all of your files to the client's sequence. BTW if you want a global error handler you can use ProcessModelPostStepRuntimeError and SequenceFilePostStepRuntimeError in your process template. This document will include all the steps in the sequences of process model and the customer test sequences.

    I think that reminders of engine are turned on and off, as opposed to the alternative.

    CC

  • Error when calling bean 'delivery': waiting for reply has expired.

    Hello

    I run a process that currently catches an exception since a partnerlink. When the exception is caught, I send an email and the process stops. When I submit an application since the BPEL console, I have to wait the JTA timeout before the return of the page. However, the instance goes smoothly and I got the email before the time-out occurs. That's what I see in the newspapers. When I look at the audit workflow and activity, all activities were time-stamped before throwing exception. Has anyone seen this problem or knows what is happening. Is there a problem of in a catch block or catch-all mail?

    < 2009-04-19 22:33:41, 859 > < ERROR > < iCareTest.collaxa.cube > < BaseCubeSessionBean::logError > error when the bean 'delivery': waiting for reply has expired. The conversation id is cf9324c9be114336:513ede58:120c17e1922:-7 fc 0. Please check the detail process instance.
    com.oracle.bpel.client.delivery.ReceiveTimeOutException: waiting for reply has expired. The conversation id is cf9324c9be114336:513ede58:120c17e1922:-7 fc 0. Please check the detail process instance.

    Thanks in advance

    Jim

    There is no question why it happens to expire is because you don't have a response to the client in your tote.

    If you look at your processes, you will see that the default response is in the main field of application. When the Tote is called this response is in the past, that's why no reply is sent.

    Please answer in your catch all back to the client and it will work.

    see you soon
    James

  • Manager tasks shows my CPU 100% usage but when I go to the process tab only a handful of programs with a percentage higher than 0 if displayed and none of those who are more than 3%

    Original title: Task Manager

    Manager tasks shows my CPU 100% usage but when I go to the processes tab and sort by CPU usage there are only a handful of programs with a percentage higher than 0 if displayed and none of those who are more than 3%.  What else is using my system resources that is not displayed by the Task Manager?

    Click Show processes from all users . There may be other systemic processes and processes that run under other accounts.

    Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • How to apply to market when the fact that the process?

    Yesterday my firefox worked fine, but now when I click on one of my shortcuts, nothing happens. When I opened my task manager, I see the firefox.exe process is turned on but not the actual application. I tried to make it work for two hours. I rebooted the computer 3 times but in vain. I also ran AVG PC Tune Up, which eliminated the recording errors, Defrag, junk files and broken shortcuts with no improvement. I also ran a cache and the cookie cleaner and still nothing.

    What happens when you click Ctrl + N, a new window opens when the process is running?

    If she runs, and it does not show a new window, kill the process in the taskbar and double click on the new icon to see if it opens. If this isn't the case, please try a clean reinstall.

    Some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    More information on the resettlement of Firefox can be found here.

    WARNING: Uninstaller or the use of Firefox and not run a third remover as part of this process, because who could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and passwords saved. These can be recovered, unless they have been backed up on an external device!

    Please report back to see if this helped you!

    Thank you.

  • my firefox closes when I close the window, but the process is not stopped since I got the update to firefox

    Since I upgraded to firefox 2 days ago, there a reboot problem. When I close the firefox window, it closes as it normally does, but whenever I try to restart firefox it shows the notification that firefox still works and I first need to stop the previous process before you can start a new one. Finally after I manually stop the firefox process it restarts again.

    What fixed it for me, but I am running v.15 because of other problems. I have to say I tried a hundred things and nothing works. I made the note never stop, even hours later, if I forgot to go to the Task Manager to end the process. It seems not important to know if I had extensions or modules running or not. I tried this before today. My graphics driver updated a couple of months. In any case, THANK YOU for this, finally something is going right.

  • When going through the process of downloading with social monkee and reach the point add it to firefox, I get the following message: "social Monkee cannot be installed because firefox is unable to modify the required." How can this be repaired?

    When going through the process of downloading with social monkee and reach the point add it to firefox, I get the following message: "social Monkee cannot be installed because firefox is unable to modify the required." How can this be repaired?

    Which is usually caused by a lack of unpacking the directive (< em: unzip > true < / em: unzip >) in the file install.rdf to this extension.

    See https://developer.mozilla.org/En/Updating_extensions_for_Firefox_4.0#XPI_unpacking

  • I had some problems with my pc, since then when I close Firefox it would not reopen unless I go to Task Manager and end the process for FF.

    I had some problems with my pc, since then when I close Firefox it would not reopen unless I go to Task Manager and end the process for FF. I uninstalled FF and re-installed and no change.
    Walt

    I have a same problem.

Maybe you are looking for

  • where to recharge in the menu url-&gt; right click-&gt; reload?

    FF 27.0 For more details, pease see image http://i.imgur.com/yVkM8Ym.jpg

  • How to import bookmarks from and old MacBook Pro to my new

    My wife bought a new MacBook pro, I need to copy or import bookmarks of his old MB pro. The old unit running 10.6.8 new unit on 10.11.4. All the Favorites are in Safari, but the old unit only supports Safari version 5.1.10.

  • Skype 7.0.0.102 cannot send pictures

    Hello Today, I downloaded Skype on Skype.com and using Skype 7.0.0.102. Anything very well sending files (tested with .docx, .mp3 files and etc.), but photos - No.. My friend gets an exclamation point and a text "this photo is unavailable" (added as

  • I can't 3.5 framework on my computer. It says I need Ko 958486

    I havw a hp desktop support model more old. I have a 2840 laser jet. I tried for a weeek with this printer. I lost all my info on the conduct of a recovery. now he sas something about vpn blocking the spooler and something about winzip. help I really

  • Rundll32.exe error at startup.

    The rundll32.exe path does not exist or not a directory.  This is the error message box that I get at the end of the boot.  I click ok and it goes away.  I ran an avast anti virus scan startup and also used a registry cleaner and can't get rid of thi