Pick activity Problem

I Have one small Problem with the pick activity. My task is Same process has to read both the XML and CSV Formatted Flat files. I have created two Web services seperately. Now i used the pick activity to read the both the data. I Have created two Onmessages and added both the partnerlinks. But the Problem is When i place the input files in different input directory for reading the file. Both the places the files are reading successfully. But it is assigning to single on message event Variable i.e XML Partner link variable..
Can any one help on this problem. Is there any logic other than this. Thanks in advance.

Hi! let me know if a understand your question... You are using a pick activity to read information from an xml and a csv file? and you need to read both sources, and you are using a pick activity to do that, if this is your problem, the pick activity is not the one you should use, use a parallel flow activity! in the pick activity the response of the invoke is competing against time you defined, like a race! now in your process the xml read activity and the csv file read are competing between them and agaisnt the time, if this is your problem use a parallel flow and both activities will be executed at same time without competition.
Hope this help
best regards!

Similar Messages

  • OnAlarm Time duration setting for OnAlarm in Pick activity

    Hi,
    My internal sysnchronous transaction time is 120 sec. So when I call a PL/Sql procedure using the DB adapter synchronously, my process is throwing Timeout error. In order to come out from this I am thinking to have a Pick activity (similar like 108.Timeouts example) after invoking the DB and then in the PICK activity I want to specify some longer time. But I am wondering if I can give big amount like hours or days which is more than the default time? In this case I hope again the time out will happen in the Pick Activity? mmmmm, am I thinking right?
    Or the transaction won't expire unless the Alaram is triggered?
    --Khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    It is not sensible to have a synchronous process with timeouts in hours or days, since the engine holds a thread in memory until it completes, you are therefore holding onto resources which prevents them from being used by other requests, and you will suffer from performance problems. This should really be made an asynchronous process.

  • Pick activity eats messages that it does not consume

    Consider the following code fragment:
    <while name="while-1" condition="bpws:getVariableData('counter') &lt; 2">
    <pick name="pick-1">
    <onMessage partnerLink="rcvr1" portType="tns:BasicCallback" operation="onResult" variable="rcvd1">
    </onMessage>
    <onMessage partnerLink="rcvr2" portType="tns:BasicCallback" operation="onResult" variable="rcvd2">
    </onMessage>
    <onMessage partnerLink="rcvr3" portType="tns:BasicCallback" operation="onResult" variable="rcvd3">
    </onMessage>
    </pick>
    </while>
    In principle, this fragment of process will perform a number of iterations (let's say two iterations) and for each of these iterations it will consume one among three possible types of messages (the messages have the same type but come from different partner links).
    I have run this process in a situation where all the three messages (which come from the three different partner links) are sent at the same time and thus (in most executions) they arrive to the BPEL process at the same time. The problem that I'm having is that during the first iteration, the Pick activity consumes one of the message (say the message over "rcvr1") and it then discards the other two messages which are sitting on the message queue (i.e. the messages that arrived through partner links "rcvr2" and "rcvr3"). As a result, these two messages are no longer available during the second iteration of the "while" loop, and the process just waits forever.
    Reading Section 12.4 of the BPEL 1.1 spec. there's nothing in there that says that messages that are not consumed by a Pick activity should be discarded.
    Specifically, the execution log that I'm getting looks something like the following:
    ... [first iteration]
    rcvr3 (onResult) (cancelled)
    [2005/06/09 14:42:28] Waiting for message from "rcvr3", operation is "onResult".
    [2005/06/09 14:42:32] Receive activity has been cancelled.
    rcvr2 (onResult) (cancelled)
    [2005/06/09 14:42:28] Waiting for message from "rcvr2", operation is "onResult".
    [2005/06/09 14:42:32] Receive activity has been cancelled.
    rcvr1 (onResult)
    [2005/06/09 14:42:28] Waiting for message from "rcvr1", operation is "onResult".
    [2005/06/09 14:42:32] Received "onResult" callback from partner "rcvr1" More...
    <rcvd1>
    ... [second iteration]
    rcvr3 (onResult) - pending
    [2005/06/09 14:42:32] Waiting for message from "rcvr3", operation is "onResult".
    rcvr2 (onResult) - pending
    [2005/06/09 14:42:32] Waiting for message from "rcvr2", operation is "onResult".
    rcvr1 (onResult) - pending
    [2005/06/09 14:42:32] Waiting for message from "rcvr1", operation is "onResult".
    Interestingly, sometimes it happens that one of the 3 messages arrives one second before the other two. In this case, The Pick activity consumes the first message during the first iteration, then the process goes into the second iteration and the "Pick" activity then consumes a second randomly chosen message (but still it "eats" the third message).
    This behaviour has been observed in Oracle BPEL 2.1.2
    Kind regards
    Marlon Dumas (m . dumas @ qut . edu . au)
    Queensland University of Technology, Australia

    Thanks Marlon. I will communicate the same to dev team.

  • Can you help me with FontExplorer font activation problems?

    Anyone know how to solve a font activation problem I am having with FontExplorer 4.2? I am on a new mac with new fonts, I am using Maverick with Adobe CS6. With my new mac I bought the latest version of FontExporer Pro X 4.2. This program is having trouble with font activation in all my Adoble suite apps including Indesign. Here is what I am seeing:
    1. The font activates, but the Adobe app does not recognize that it is active. If I go back to Font Explorer and deactivate manually, then re-activate manually. The adobe app might then recognize it. Sometimes it still doesn't. But this does not stay permanently, as soon as I do a restart I have to go through this process again. I see this more often with the User system fonts, but a few times with my regular fonts.
    2. Other times, such as in Indesign, I go to open the file and the file stalls and doesn’t progress while it is trying to activate the fonts.
    3. Another time I have seen after an illustrator file is opened the fonts aren't recognized as being opened and the text goes blank on the page.
    4. In all adobe apps, if I go to use "replace font" on the missing fonts (even though they are turned on) the "replace font" menu only shows the basic system fonts, it won't show me the other fonts turned on.
    I have seen these issues with both formerly created files and fresh new files.
    I have tried the following based on feedback from Font Explorer staff:
    Refresh your Spotlight database
    1. Quit all applications other than FontExplorer X
    2. Choose Tools > Refresh Spotlight Database
    Clean your font caches
    1. Quit all applications other than FontExplorer X 2. Choose Tools > Clean Application Font Caches (check all available checkboxes)
    3. Choose Tools > Clean System Font Caches (requires restart)
    Still after trying this multiple times, the errors continue and even get more random.
    I have also tried this based on their feedback:
    go to FONTEXPLORER X PRO -> PREFERENCES -> ADVANCED and make sure that "Automatically deactivate fonts which have not been activated by the system" is NOT set to never.
    Then click on TOOLS and clean all font caches. Then reboot the system.
    The auto-activation is using a new Apple technology (called Core Text), which unfortunately does not work correctly with some of the Adobe and Quark applications when keeping the fonts permanently activated. We are currently working on an update, and the next version of FontExplorer X Pro will fix this issue.
    This has also not work. Can anyone help me?

    Here is the official work-around for this problem.
    1. Locate "FontExplorer X Pro.app" in Applications
    2. Right-click on "FontExplorer X Pro.app" and select "Show Package Contents"
    3. Navigate to /Contents/Helpers/
    4. Double-click "FontExplorerXLauncher-3.app" or right-click and "Open" to launch it manually. This is needed only once, afterwards the plugins will work normally.
    Please make sure you open the version with the "-3" suffix, the other one does not fix the problem.

  • DC Activation Problem in CBS

    Hello,
    I am facing DC Activation problems in CBS.
    - We have two DC utils and config. The config DC uses utils DC and everything is working fine locally
    - Today we are migrating these local projects in NWDI.
    - I created new DCs in NWDI and copied the SRC folder. Did all required steps for migration, built locally and it works fine.
    - I then checked in utils and activated the same in NWDI, its working fine.
    - I then defined the dependency from the active workspace and everything is still fine.
    - Now I checkin the src of config DC and build the same. Here the problem arises. The Build Fails
    - Checked SDN and can see lot of people facing this problem but there is no solution.
    Any pointers to solve this problem will be helpful
    Regards,
    Shubham
    Here is the problematic area in log:
         [wdgen] [Info]    Generating packages/com/arteriatech/ppc/uivisibilityws/model/Scrvar_Fstat.java
         [wdgen] WARNING: Metadata of component UIVisibilityComp is not valid! ComponentUsage "//WebDynpro/Component:com.arteriatech.ppc.uivisibility.comp.UIVisibilityComp/ComponentUsage:HandleExceptionCompInst", Role "UsedComponent": A minimum of 1 object(s) is required
         [wdgen] [Error]   com.arteriatech.ppc.uivisibility.comp.UIVisibilityComp --> Component UIVisibilityComp: Has invalid component usage 'HandleExceptionCompInst'
         [wdgen] [Error]   com.arteriatech.ppc.uivisibility.comp.UIVisibilityComp --> Component UIVisibilityComp [HandleExceptionCompInst]: Component usage has no used component
         [wdgen] [Error]   com.arteriatech.ppc.uivisibility.comp.UIVisibilityComp --> Component UIVisibilityComp [ValidationCompInst]: Component usage has no used component
         [wdgen] [Info]    Catching throwable null
         [wdgen] [Info]    com.sap.webdynpro.generation.ant.GenerationAntTaskError

    Problem Solved.
    I removed the utils DC from my client. Also deleted the folder from the workspace. After this I created the project from the Dev Config perspective again. I was surprised to see there is no component in my utils DC and thats why the problem was there.
    I again copied all the src folder in the workspace and refreshed the DC. Now it locked all the source in the activity. I checked it in and repeated the above excercise. This time all the source code was there.
    I deleted the dependency in the config dc and created again from active workspace(although now I realize it was not required) and checkedin and activated.
    Hurray!!! It got activated.
    Regards,
    Shubham

  • WHAT THE HELL IS GOING ON? Activation problem 194:100

    What the ihell is going on?
    I have been burdened with activation issues for weeks - see my previous thread. I have had no response here from Adobe about how to fix it. Please don't say this is a 'user to user' forum. It isn't a 'U2U' forum when Adobe state this is the first place we should look!
    Now, no CC program will run owing to something called 'Activation problem 194:100'.
    Yes, I have logged out. Yes, I have rebooted. Yes, I have deactivated 'more than 2 machines'. Why should I have to repeatedly click to 'deactivate 2 previous activations' when there has NEVER been more than one activation?
    Adobe not only make me look a laughing stock in the classroom but this constant issue that has been going on for weeks now subliminally tells students Adobe software is useless!
    When will I be able to use CC again? I am paying for it remember!!!!!!!!!!!!!!!!!!!!!!

    Hello Rajshree,
    Welcome to Adobe Forum.
    CC has only EVER been activated on ONE PC.
    If you look at http://forums.adobe.com/message/6198690#6198690 you'll see (like many other users) I have to constantly sign in and reactivate. It is probably this that is causing the multiple activations.
    However, to reiterate, CC is only running on ONE computer. It has not at any time been activated on more than the same PC. One activation - one PC.
    So, the suggestion of waiting a few hours (if the prog won't activate / run) is less than adequate. Like everyone else, I pay to have it running 24 hours a day - every day.

  • Pick activity is not working properly while creating two or more file adapt

    Hi,
    pick activity is not working properly while creating two or more file adapter for bpel process.
    bpel process compiled and deployed succesfully but while observing the wsdl file of deployed process you can find only one file adapter. so it polls only from that location.
    can anybody help on over this? or it's limitation of jdev to use only one file adapter at time while using Pick.
    Thanks
    sagar

    Does anybody tried this?
    Thanks
    sagar

  • Flash MX Professional 2004 Activation Problems

    I am having trouble activating Flash MX Professional 2004. I have had the product for many years, but it is asking again to be reactivated, probably because I have moved the vmWare virtual machine on which it is installed to a new host computer.
    I have learned that the old Macromedia activation servers are no longer available, and have tried using the information provided by http://helpx.adobe.com/x-productkb/policy-pricing/macromedia-legacy-activation-error.html. But that only activates me to a non-professional version. I need to use features in the Professional version.
    Is there a serial number available for Flash MX Professional 2004?

    OK, I have got my problem sorted.
    After a second call to UK customer service, I was e-mailed a serial number that they said was for Flash MX 2004 Professional. However, it didn't work with my version! My version is 7.2, and the original serial number of my product starts PFD700. The serial number given by Adobe is PFD800-00466-08280-86965. Maybe the 800 means its for a later version, don't know, but my version does not accept this as a valid serial number.
    A third call to try to get a PFD700 serial number got me a brick wall again, they insisted that was the only serial number for MX 2004 Pro they had. At this point I followed sinious's suggestion and asked to talk to a supervisor. They were on the phone, and I was promised a call back. I'm still waiting.
    So I hunted a bit harder with Google and eventually found a site that gave me a serial number. The use of that unlocked the Professional features of my version, and I'm up and running again.
    Thanks for your contributions guys, you've both helped. I agree with sinious's critism of moccamaximum, and wouldn't normally go to sites of dubious provenance for help. But after being exhausted by my efforts to get help from Adobe - who to be fair nearly got there in the end - I went hunting and found something that solved my problem. After all, Adobe themselves are publishing activation-free serial numbers.
    I've given the serial number I got from Adobe, it may help others who experience activation problems in the future.
    But I'll follow sinious's advice and not give out the serial number or details of the website I got it from. It wasn't very hard to find.

  • BPEL Testcase with pick-activity

    I use JDeveloper 10.1.3.3.0.4157 but I have not opportunity to create "Emulate Receive message" for pick activity.
    When I tried edit test manually
    <activityDriver name="order_Pick">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="initiationMsg.xml"
    name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    I get error:
    [Error ORABPEL-20055]: Invalid emulation.
    [Description]: in line 26 of "main.xml", Activity "order_Pick" is not an onAlarm event handler or a receive,
    invoke, or wait activity. Only those activities can be emulated.
    [Potential fix]: Please correct the test driver appropriately..
    What is wrong?

    Process is too long but I post snippet
    BPEL
    <receive name="receiveInput" partnerLink="client"
    portType="client:order" operation="initiate"
    variable="inputVariable" createInstance="yes">
    <correlations>
    <correlation initiate="yes" set="correlationSet"/>
    </correlations>
    </receive>
    <sequence name="start_Sequence">
    <sequence name="checking">
    <scope name="checking_Scope">
    <sequence name="checking_Sequence">
    <invoke name="checking_Invoke" partnerLink="checking"
    portType="ns2:checking"
    operation="checking"
    inputVariable="checking_InputVariable"
    outputVariable="checking_OutputVariable"/>
    <reply name="replyOutput" partnerLink="client"
    portType="client:order" operation="initiate"
    variable="check_OutputVariable"/>
    </sequence>
    </scope>
    </sequence>
    <pick name="final_Pick">
    <onMessage portType="client:order"
    operation="finalData" variable="inputVariable"
    partnerLink="client"
    bpelx:name="finalData">
    <correlations>
    <correlation initiate="no" set="OrdersCorrelationSet"/>
    </correlations>
    <sequence name="final_Sequence">
    <assign name="final_Assign">
    <copy>
    <from expression="'started'"/>
    <to variable="outputVariable" part="payload"
    query="/client:orderResponse/client:result"/>
    </copy>
    </assign>
    <reply name="final_Reply" partnerLink="client"
    portType="client:order"
    operation="finalData" variable="outputVariable"/>
    </sequence>
    </onMessage>
    <onAlarm for="'PT30M'">
    <terminate name="final_Terminate"/>
    </onAlarm>
    </pick>
    Testcase
    <BPELTest processName="order"
    xmlns="http://xmlns.oracle.com/bpel/instancedriver">
    <initiate operation="initiate">
    <inboundMessage>
    <part fileName="initiationMsg.xml" name="payload"/>
    </inboundMessage>
    </initiate>
    <activityDriver name="checking_Invoke">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="checkingResponse.xml"
    name="checkingResponseElement"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    <activityDriver name="final_Pick">
    <triggerOnMessage doBeforeActivity="true" onMessageName="finalData">
    <inboundMessage>
    <part fileName="initiationMsg.xml" name="payload"/>
    </inboundMessage>
    </triggerOnMessage>
    </activityDriver>
    </BPELTest>
    WSDL
    <portType name="order">
    <operation name="initiate">
    <input message="client:RequestMessage"/>
    <output message="client:checkingResponse"/>
    </operation>
    <operation name="checkData">
    <input message="client:RequestMessage"/>
    <output message="client:checkingResponse"/>
    </operation>
    <operation name="finalData">
    <input message="client:RequestMessage"/>
    <output message="client:ResponseMessage"/>
    </operation>
    </portType>

  • Nokia lumiya 820 music activation problem

    I have music activation problem, how to solve them ? when I start nokia music then display massage Activation problem. This problem from begining from purchase the mobile, so once I had close the nokia account and then reopnen the same account. I have not install this account any other mobile. So please give me solution for this problem.

    DineshRamolia,
    Welcome to Nokia Discussions!
    Steps on how to activate Nokia Music for Windows Phone is located on this page at http://www.nokia.com/in-en/support/product/nokia-music/userguidance/?action=singleTopic&topic=GUID-D...
    If the problem still persists, I suggest you to contact Nokia Support in your country.

  • HT4623 i have sim activation problem in my i phone after updating

    i have sim activation problem in my i phone after updating

    If the phone was unlocked by anyone other than Apple or the carrier it was locked to (that is, unlocked by hacking) then it will become locked to the original carrier when you update it.

  • 'On alarm' flow of the "Pick" activity thorws unexpected server error

    ‘On alarm’ flow of the “Pick” activity does not work. It always gives unexpected server error.     
    Navigation: Start JDevloper ->asynchronous BPEL Process ->Pick Activity-> on alarm branch
    Can anyone help please
    thanks

    Can you post the error message and Jdev version?

  • Pick Activity delaying WS response causing timeout error

    Hi,
    In my BPEL process, I am invoking a Webservice through partnerlink. After the invoke activity i am assigning some message to the output variable. It is working fine.
    Now, i want to display a custom message on WS response time out. In order to achieve this, I added a *'Pick Activity' after the 'Invoke Activity'*. Now, the same WS response is timing out at around 45 sec. So, If I add a timer of 30 sec, it shows my custom message of request timed out and if i change the timer time out to 1 min, then it shows system error message, as below
    <Faulthttp://schemas.xmlsoap.org/soap/envelope/>
    <faultcode>env:Server</faultcode>
    <faultstring>com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is d992ed601d021346:666c57cb:129822499b8:-7f8e. Please check the process instance for detail.</faultstring>
    </Fault>
    So, I am not able to understand that why Webservice response is timing out on adding pick activity after invoking webservice.
    Below is the code snippet.
    <invoke name="Invoke_MathResultWS"
    partnerLink="MathResultWS"
    portType="ns1:MathResultWS" operation="division"
    inputVariable="Invoke_MathResultWS_division_InputVariable"
    outputVariable="Invoke_MathResultWS_division_OutputVariable"/>
    <pick name="Pick_1">
    <onMessage portType="client:Pooja_MathBPEL2"
    operation="process"
    variable="OnMessage_process_InputVar"
    partnerLink="client">
    <assign name="Assign_Vars">
    <copy>
    <from variable="Invoke_MathResultWS_division_OutputVariable"
    part="parameters"
    query="/ns2:divisionResponseElement/ns2:result/ns2:output"/>
    <to variable="outputVariable" part="payload"
    query="/client:Pooja_MathBPEL2ProcessResponse/client:Result"/>
    </copy>
    <copy>
    <from variable="Invoke_MathResultWS_division_OutputVariable"
    part="parameters"
    query="/ns2:divisionResponseElement/ns2:result/ns2:messg"/>
    <to variable="outputVariable" part="payload"
    query="/client:Pooja_MathBPEL2ProcessResponse/client:Message"/>
    </copy>
    </assign>
    </onMessage>
    <onAlarm for="'PT1M'">
    <assign name="Assign_TimeOut">
    <copy>
    <from expression='"WebService Response TimeOut"'/>
    <to variable="outputVariable" part="payload"
    query="/client:Pooja_MathBPEL2ProcessResponse/client:Message"/>
    </copy>
    <copy>
    <from expression='number("0")'/>
    <to variable="outputVariable" part="payload"
    query="/client:Pooja_MathBPEL2ProcessResponse/client:Result"/>
    </copy>
    </assign>
    </onAlarm>
    </pick>
    </sequence>
    </otherwise>
    </switch>
    </sequence>
    Note: I am working on SOA 10g

    Hi Shanmu,
    I couldn't understand what you mean by saying "Pick activity would add an additional operation to the BPEL wsdl and to proceed further, that operation would need to receive data."
    As far as I understand the use of pick activity, it has a onMessage branch which contains the code for receiving a reply and a onAlarm branch which contains the code for a timeout. So, I think it can be used to check webservice response time out if the ws doesn't return response in some specified duration of time.
    Moreover, can you pls elaborate on how can I catch the remoteFault, coz in exception handling, what i have tried so far is throwing a custom exception from a scope when some condition is not met and catching it. So, it would be helpful if you can refer me a link to some example on catching a remoteFault.

  • ValidateXML does not work with Pick Activity?

    Hi All,
    I have a BPEL process which receives message using a pick activity, my requirement is to Validate the input message against the XSD.
    For this, i tried using the ValidateXML (bpelx:validate variables="varName") and then catch this exception using "invalidVariables" exception.
    But i am getting the below error:
    <part name="summary">
    <summary>
    Invalid xml document.
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-elt.1: Cannot find the declaration of element 'payload'.
    Please make sure that the xml document is valid against your schemas.
    </summary>
    My WSDL message and portType is given below:
    <message name="ValidateXMLPOCRequestMessage">
    <part name="payload" element="ns2:ValidateXMLRequest"/>
    </message>
    <message name="ValidateXMLPOCResponseMessage">
    <part name="payload" element="ns2:ValidateXMLResponse"/>
    </message>
    <portType name="ValidateXMLPOC">
    <operation name="createOp">
    <input message="tns:ValidateXMLPOCRequestMessage"/>
    <output message="tns:ValidateXMLPOCResponseMessage"/>
    </operation>
    <operation name="updateOp">
    <input message="tns:ValidateXMLPOCRequestMessage"/>
    <output message="tns:ValidateXMLPOCResponseMessage"/>
    </operation>
    <operation name="cancelOp">
    <input message="tns:ValidateXMLPOCRequestMessage"/>
    <output message="tns:ValidateXMLPOCResponseMessage"/>
    </operation>
    </portType>
    Also, the same seems to be working using a standard Synchronous BPEL process. (i.e ValidateXML on the XSD)
    Any help regarding this is much appreciated.
    Regards,
    Shreyas

    Hi All,
    To update on this thread...
    The issue has been resolved, looks like ValidateXML was not working directly on the MessageType variable in bpel and hence was throwing that error.
    Solution: 1) Create a variable of type 'Element' based on the XSD
    2) Then transform the onMessage variable from the pick activity to the newly created variable.
    3) Validate this Element type variable using the "bpelx:validate name="someName" variables="newlyCreatedElementTypeVar"
    4) You can catch this exception thrown using the "invalidVariables" exception, in the catch block.
    Regards,
    Shreyas

  • I am having activation problem please guide me

    i am having activation problem and the error is repeating again and again

    Read https://discussions.apple.com/thread/4868797?start=0&tstart=
    Has your phone been jailbroken?

Maybe you are looking for