Several receive activities in a BPEL

Hi, I'm trying to have multiple receive activities in a BPEL (both receive have create instance option checked)... Reason is I have 1 FTP server but 2 different folders (I created an FTP adapter for each file) from this FTP server I read of... However, I get the error below... How can I solve? or what is the right way to deal with this case of use?

Hi SirSaula,

I don't know why you need to create two activities for several directories from the same FTP server to query reception. This could easily be done by using the 'DirectorySeparator' FTP jca property.

If you have multiple directories to be interviewed, while you can use the JCA above property to specify several directories, separated by a delimiter "comma (,).

Please find the link below and hope, that it will be useful for you. See the section 4.2.19 (multiple directories)

http://docs.Oracle.com/CD/E23943_01/integration.1111/e10231/adptr_file.htm#TKADP299

Just to add to the above situation, we normally use sets of correlations in asynchronous process for reminders.

It will be useful.

NOTE: One more good thing about the use of this property is, down the line, if you want to change/add/remove the FTP paths of directory, then you can do it dynamically from the Enterprise Manager console by changing the properties of 'Service' and no need to modify your source code.

Tags: Fusion Middleware

Similar Questions

  • Is it possible to have two receive activities in a single bpel process

    Hello

    I have a requirement where I will get an entry to a service and I have to spend this entry dynamically to the the file adapter then recovered files to a location based on the views expressed and passes to the other service.

    I used a reception to get input parameters and other activity to get the activity of the files, but unfortunately it is not allowing me to do. How can I design the process

    1. I have an entry of a service.
    2 FA must be invoked to get the files from the specified location (I know that the dynamic values can be defined within the Properties tab), but confused about how to work with two receive activities.
    3 and recovered files must be sent to a service.

    Thank you

    Published by: kameshb on March 29, 2013 09:59

    Hi Philippe,.

    Please use the synchronous playback option in the file adapter.
    This will suit your current condition.

    (1) your first reception who will be admitted to the Service.
    (2) have an invoke activity in the file adapter with synchronization to the read operation.
    (3) get the filename etc of the entrance and set the properties of the invoke activity

    Whenever you want to read a file in the middle of your bpel process then please go synch read operation of the file adapter.

    Thank you
    Deepak.

  • Problem in the application of several reminders in BPEL

    Hello

    I have 2 BPEL process-

    The BPEL process 1 has three operations - has > start b > c onMultiCallBack(1st callback) > onresult (2nd callback)

    2nd process (which acts as a client) invokes the initiate of the 1st operation.
    It has two receive activities to get the result in a different phase on the first process (two reminders).

    When I run 1 console BPEL process it works fine (I see the stream is completed).
    But when it is triggered by the 2nd process (client), the 1st process Invoke activity fails.

    The error that says this:

    < message >
    -< input >
    -< Invoke_2_onMultiCallBack_InputVariable >
    -< part xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" name = "payload" >
    -< TestHumanWFProcessResponse xmlns = "http://xmlns.oracle.com/TestHumanWF" >
    Mrs f < result > < / result >
    < / TestHumanWFProcessResponse >
    < / part >
    < / Invoke_2_onMultiCallBack_InputVariable >
    < / Entry >
    -< fault >
    -< bindingFault xmlns = "http://schemas.oracle.com/bpel/extension" >
    -part name = "code" >
    < code > < code > GenericError
    < / part >
    -part name = "summary" >
    < Summary >no operation of this type. Cannot find 'onMultiCallBack' operation of portType '{http://xmlns.oracle.com/TestHumanWF} TestHumanWFCallback' in WSDL to 'file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_TestMultiCallback_1.0_96ad243afd4c31df537794cbe1b01662.tmp/_TestMultiCallback.wsdl '. The WSDL to 'file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_TestMultiCallback_1.0_96ad243afd4c31df537794cbe1b01662.tmp/_TestMultiCallback.wsdl' might have been changed and you may need to recompile and deploy the calling process. < / Summary >
    < / part >
    < / bindingFault >
    < / failures >
    < / messages >

    Can someone help me with this...

    Mashal

    Hello

    IF you have changed your WSDL file is not reflected in the server even after the deployment of... * try to clear the cache WSDL *.

  • I can catch a competitor receive a limit event?

    Hello

    11.1.1.7 BPM

    -J' have a process that has a correlation receive the event.

    -Under certain circumstances, I get a contradictory reception and I want to catch it and ignore it (rather than show as a flaw in Enterprise Manager).

    -J' have an error event on the receive activity limit catch a contradictory reception of SOAP (I also tried captures all exceptions) and the transition at the end.

    -L' error is never caught. Only, it shall terminate the proceedings and report the error in Enterprise Manager

    Exception is illustrated below.

    see you soon

    Tony

    < auditQueryPayload auditId = '5491' ciKey = "40130" >

    < dataState >

    < name of the DataObject = "FaultMessage" isBusinessIndicator = "false" >

    < Value > ORABPEL-03810 conflicting receive. Such a receive activity is declared in the same process.

    Another receive activity or equivalent (currently, onMessage branch a pick activity) has already been activated

    the partnerLink 'CorrelatedProcess.service', 'checkExists' operation and correlation set name

    "{{http://xmlns.oracle.com/bpmn/bpmnProcess/CorrelationTest} = theId {http://xmlns.oracle.com/bpmn/bpmnProcess/CorrelationTest} theId = 2}" (or conversation ID).

    Appendix A - standard flaws in the specification BPEL 1.1 Specifies a fault should be thrown under these conditions.

    Redeploy the process after removing the competitor receive activities. < / value >

    < / dataObject >

    < / dataState >

    < / auditQueryPayload >

    Hi Tony - good to hear from you.

    I think I know a few things related to correlations that you can run in (at least a couple that I hit in the past).

    If you create an instance of a process that uses the same correlation ID that you already used and it is still active in the process, you get undetectable except that I think you're getting.  Wish it was understandable and we were able to test at least to see if the correlation already exists before sending to the instance in a process and have it fail as I think you see.  If that's what you're running, have you considered adding a service activity that calls the API to query the process to see if a specific id has already been used?  If you have a simple scalar variable in your process and you have set to the id of a field of flex, you can use the queryTasks () API method to see if a value exists in all cases (I completely agree with you that there should be a way to have done this without the API).

    Here's another thing that bit me.  Do not know how your process is implemented, but assuming you have a receive activity, you might also have a problem of hydration.  Know this sounds nuts, but if you don't get the results that you think you should be in your return of the process called answers, try putting an event in the sequence flow immediately before your Receive activity, and set the timer to 1 second.

    Hope this helps, you get

    Dan

  • Number in the compilation of BPEL process.

    Hi all

    I try to extract the data from the csv file in database.

    For this.

    1. I created A BPEL with option "Wsdl define later."
    2. has created a file adepter.
    3 related that BPEL this file adapter
    4. has created a DB adepter.
    5. place a Transformation between the two.

    then I get below error.

    It is not an activity (go/receive) to start the process
    Initial activity is invalid. An initial activity must be a reception or choose the activity.
    Error: there is no activity that starts the process

    Help, please.

    Kind regards
    En

    Hello

    Check that your receive activity in your BPEL relates to partner file adapter binding and that the checkbox 'creates the instance' is checked.

    Kind regards
    Mathieu

  • 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

  • How can I check my iTunes on iPad purchases?

    I was recently charged for a purchase of iTunes, but I don't think that I made the purchase.

    I can't figure out how to display my iTunes on iPad Bill

    Where do you see buying, if it isn't a phishing (http://www.apple.com/legal/more-resources/phishing/) on an e-mail e-mail - there are several receiving phishing emails go around.

    You can view past purchases for 90 days on your account (and possibly to contact iTunes Support if you have a problem with a purchase) via http://reportaproblem.apple.com

    You can only view the complete history of your purchases via iTunes from the computer: see your purchase history in iTunes on Mac or PC - Apple Support store

  • I can save fax instead of print it?

    With a M1217nfw Pro LaserJet I have not found a way to tell him to keep the incoming faxes on the computer instead of print. Is this possible.

    With the 1217, save on computer ONLY works via a USB connection. But now works. Unfortunately it doesn't seem to be a way of telling the printer WHERE to store received files and what format to use (TIF or PDF).

    The only documented way to see received files is done by the newspaper of the HP Toolbox view, Fax except that several received files do not display it. I found that the location of the file in Programdata and a shortcut on the desktop allows me to see that easily.

    In any case, it is now closed.

  • Change the training Plan?

    I don't see a place to change a learning plan once it was created, is it not possible? I created one to add in some way to a person when they are added to a certain group and did not want to specify a time period for completion (it's learning during the first). Now it's show days '0' to finish. Opens forever or never opened it's just what it means? Sounds weird, I know. Also, you can add several courses/activities for a training PLAN? I guess it's a PLAN that you might...

    Thank you.

    Hi Wendy,.

    My apologies for the error of reading it.

    You cannot change once created learning plans. However, you can disable. Also you can only add a course or learning or a program of Certification for a Learning Plan.

    Even if you have set '0' to complete then also learning day will be able to take LP any time thereafter, and it will be shown in the dashboard. You can also set a deadline for this LP to make sure that the user takes the Learning Plan.

    Kind regards

    MILIN

  • When to use the pick activity

    Hi all

    Can you please explain all usecase where to use the pick activity and can we use receive multiples in a BPEL process.

    Kind regards

    ANU

    Well you can use 2 receives, but when you model your processes in jdeveloper with the 2 gets you'll notice you cannot model the way you want

    2receive

    receive1 (createInstance = YES)

    receive2 (CreateInstance = Yes)

    This fails, you may have only 1 reveice with createInstance = YES), so basically this means that you could only 'start' your process by calling receive1, and this isn't what you want.

    a case where you would use 2 receive and as model

    receive1 (createInstance = YES) (operation = startProcess with payload point = 10)

    -launch,

    -Step 1

    -Step 2

    -now wait the "appellant" to take action, appellant is calling call your process again, but now he calls it the "receive2", it basically means, on the 'running' instance it triggers your process to continue processing

    , so at this point, the receive2 is a sort of waiting, and your process will continue only when the invoke to receive2 is received.

    in this case, your willingness to do correlation

    receive2 (CreateInstance = no) (operation = continueProcess with the point of payload = 10)

    in this case we use correlation on the payload element 'point '.

    the bpel framework now knows

    1. I start a process on the operation startProcess with correlatino on the value of the element "item", in this case "10".

    2. the steps are performed and I get to receive2

    3. process waiting overe here

    4. the appellant made a new call to your process on the 'continueProcess' operation, we use ' item = 10 "once again the payload on this operation."

    5 bpel notice we have an instance of our process (since he is waiting on receive2) and uses the correlation to see if it matches the instance based on the 'item = 10 '.

    If Yes, then bpel will continue this instance, it will continue with steps after the receipt of the second.

    But in your case, you want to model like this:

    receive1 (createInstance = YES)

    receive2 (CreateInstance = no)

    you want something like this:

    receive1 (createInstance = YES) - receive2 (createInstance = YES) (on 1 level)

    and in this case, you use a pick activity.

    the pick activity will be (createInstance = YES)

    and in the collection, you set your branches, onMessage, so something like that.

    Pick (name = ItemOperaion, (createInstance = YES))

    onMessage (addItem) onMessage (deletItem)

    run run step 1 step 1

    run run step 2 step 2

    providing other measures that are defined/required for operations

    Hopefully it's somewhat clear now

  • How to view the events and tasks more?

    Hello

    is it possible to display several tasks/activities in vCenter Server?

    Even if I chose to only show events host more former event/task is old sentence 24 hours...

    Thank you and best regards,

    Masl

    Hey man!

    I googled this because I also want to apply, and your message is released on the first result.

    I found a solution. Please visit: http://xtravirt.com/need-more-vcenter-tasks-and-events

    See you soon!

    I hope that helps!

  • Connect on Worklist Application using the user no AD (weblogic)

    Hi all

    I configured Active Directory to my Weblogic Server. Also all of my AD users are able to acess my BPEL worklist application.
    However, no AD users including weblogic (set to the default authenticator) are not able to access the application of worklist BPEL, where as weblogic user can always log on Console and EM.
    So I need to make Administarative activities in my BPEL worklist application, weblogic user connects in worklist BPEL as an administrator application.

    This is possible by creating Administrators group on Active Directory and the assignment of weblogic user to this group.

    Y at - there any otherway to do because I don't want to create a user of weblogic as the part of the Administrators group in Active Directory.

    Please suggest, little urgently.

    Concerning
    Jean sebastien

    Hello
    Please see this post below and it should answer your problem.

    WebLogic administrator account is inactive after activating the authenticator DB

    Thank you
    Ravi Jegga

  • Condition/asynchronous Queuing

    Hi all
    We have a requirement that has the following scenario.

    Currently, there is a synchronous process that is exposed in the webservice and is called as soon as it receives an xml to an external system. upon receipt of this xml document a concurrent request is generated, and once the process is finished he sends a success response. the problem is that to complete the concurrent application (this is done in the database, a procedure is called from bpel in the database for a competing application) takes a lot of time and by this time of the external system call timesout and when we try to send the response to the system there is a timeout error

    to avoid this, we where, given two options
    1} make our asynchronous BPEL process so that appellant process doesnot have to wait in order to avoid the waiting period
    2} use the JMS queue

    can someone comment on which of them would be a more suitable solution for our requirment.

    Hi Sesshmaru,

    In this case the way forward is an asynchronous call. The options given to you are good options. Please take into account monitoring.

    1 make our asynchronous BPEL process so that appellant process doesnot have to wait in order to avoid the waiting period
    This option will require a Receive activity. The BPEL service expects an answer to come back. Keep in mind that this can still expire! However, this can be configured (property syncMaxWait). Backstage manager process BPEL uses a JMS queue mechanism. This means that creating a separate JMS queue mechanism seems exaggerated if a priority, or the message sequence is not important. However, this implementation held a little more tuning and testing to ensure that the BPEL Process Manager can manage volumes.

    Please see:
    http://docs.Oracle.com/CD/E25178_01/core.1111/e10108.PDF

    2. use the JMS queue
    This option would work too. However the option 1 is already implemented a similar mechanism out of the box by the BPEL Process Manager. However, you might still want to separate your logic in a JMS queue mechanism. The reasons could be that you want to have control over the priority and the sequence of messages. Another reason could be that the amount of threads is high and you do not want to shock current services async used by BPEL Process Manager.

    Summary:
    I think that in your situation option 1 might be the best way to go. The reason is that I have the impression that the amount of threads in your situation will be not high given the amount of time it takes to complete process. Also, I don't think that the priority or sequence of messages is important. She seems a simple implementation of FIFO (first in first out).

    I hope this helps!

    Thank you

    Sander

  • Recent tasks

    I was not able to find an answer to this for a while after some research.  This is not limited, but just gets me angry sometimes.  When using vSphere client, I can't find a way to clear this list.  Example, I create a virtual machine, it progresses and complete.  After awhile, it disappears from the list of recent tasks.  However, several recent activities have been cancelled "by user" and remain in the list.  But only stocks 'clean up the entity"to do this.  Is there a way to eliminate recent tasks or something similar?

    Thanks for your suggestions!

    The only way to remove finished tasks is to restart the vCenter.

    ---

    MCSA, MCTS, VCP, VMware vExpert 2009

    http://blog.vadmin.ru

  • Loading data open for projects

    Hello
    We already have Financials Live here. All debtors/creditors/GL accounts and data and all open projects are already there, on direct instance.
    Now, we are implementing the projects here. How to load open data for projects.
    [Be precise, how load us these operations against projects that are already closed in the system(Receivalbles/Revenue/Payables)]

    Kind regards
    ADI

    Hello

    Usually, organizations are migrating expenditures as already encrypted and accounted for. This could be done by downloading the historical cost of transactions in the open PA interface. Don't forget to configure the Source of the Transaction-specific migration with the appropriate definition. For each transaction that you load to populate the gross costs and ployez under the burden of cost accounting (CCID).

    If you want to enter the opening balance amount of summaries of historical transactions, you can use the pre-approved form batches. Use of expenditure types that represent the types of historical cost amounts. The easiest way is to use various expenses class Type, you can enter encrypted transactions.

    Historical transactions entered as opening balance should be using the first period before starting to go live transactions for your implementation of projects. You should also take care to enter transactions, while any other transaction is processed. That will allow you to control the periods (open the historical periods), only for the time that you complete the conversion.

    Assuming you want to get for your projects migrated from the entire image history you should have migrated to Oracle projects all the real costs of the project, real income recognized and billed invoices.

    The project invoices relate projects to the AR and from there to GL, it is recommended to remove log entries and not publish them on GL. Alternatively, you can set special rules of AA for migration operations, credit and the flow of accounting will be compensated and does not all GL balance.

    Given that the Bills were already in AR, and part of them have been already paid, you might consider entering some adjustment of accounts receivable activities to move applications of cash in the project and bills on invoices for project in AR. Now, you could cancel the invoice duplicate appropriate administrative source.

    The outcome of this activity should end by the same value of the balance of the accounts receivable, marketable, and UBR & EBU of the balance in the front with migratory balances. After verifying that you can decide to remove AR log entries to GL, or continue and post them as well. Decision depends on accounting approach for the opening of the historical periods for the migration time.

    Receipts and invoices must be generated in projects for the historical periods. You can still generate revenue and invoices the historical cost transactions, since transactions migrated are considered to be established. You could either WORK method to generate the invoice and generators of revenue over expenditures migrated, or you can also load an event for each invoice and for each income that you had the old system for these projects.

    Dina

Maybe you are looking for