BPM - two FORKS and a Transformation issue

my scenario is File - BPM - Proxy
input file has multiple records and each record has 1 field that we put a validation logic in.  There will be one message created for each record, so this is a 1:N Integration Process
I used two Forks:
Fork #2 has two branches: Branch 1 --> Transformation Step 3;     Branch 2 ---> Fork #1.
Validation#1 = if the validation field has null value then it will go to Transformation Step3 along Fork#2 (end receiver is Proxy-C)
validation#2 = if the field has value then it will go inside Fork#1 which has 2 branches: Transformation Step 1 (goes to Proxy-A) and Transformation Step 2 (goes to Proxy-B)
I am testing a file with only the null value, so I am doing validation#1 only.
I can see the message in BPE engine  (Outbound status = Processed successfully) but the message is stucked in the BPE
I checked on the workflow log and here is what i see:
1) Transformation Step 3 is executed (all mapping steps 1-4 completed so this is successful)
2) Transformation Step 2 is executed (but mapping encounters an exception so this is not successful)
3) Transformation Step 1 is not executed already because of the exception, and therefore Send Alert is triggered.
It seems that all records of the file passes through all the branches, which is not intended.
My intention is that when the validation field has null value that record will only pass thru Transformation Step 3,   if it is not null then record will pass thru Transformation Step 2 & 1.
I already created a mapping for this validation, and when I test the Interface Mapping for Transformation Step 3 (consisting of 4 mapping steps) using an actual payload  it is successfuly generating the message.  - so no problem in this Interface Mapping.
But on Runtime, BPM triggers exception due to validation#2 failing which again is because all records of file seem to pass on both Forks.  I want that when Validation#1 is true that specific record only passes in Fork#2   and not in Fork#1 also.
I am using ParForEach.
Can you kindly advise how to correct this issue?

that was a very detailed explanation!
But on Runtime, BPM triggers exception due to validation#2 failing which again is because all records of file seem to
pass on both Forks. I want that when Validation#1 is true that specific record only passes in Fork#2 and not in Fork#1 also
problem with your design...Fork seems to be working fine....you need to have a Switch block which will perform the validation and then route the message accordingly.
I already created a mapping for this validation, and when I test the Interface Mapping for Transformation Step 3
(consisting of 4 mapping steps) using an actual payload it is successfuly generating the message. - so no problem in this
Interface Mapping.
Mapping success does not mean that the BPM processing will be success.

Similar Messages

  • BPM 11G comments and file attachments issue on human tasks

    Hi all,
    We have used JDeveloper 11G and SOA suite 11G + BPM (with PS1,PS2) to create and deploy a simple BPM process. The process consists of two swim-lanes ( Business Analyst and Snr Executive). The BA swim-lane has a human task which which initiates the process and the second swim-lane (SE) has a voting task. Both forms were auto generated.
    ------ Process steps ----
    step 1. The initiator of the process( Business analyst) submits a document and adds comments on the form. (1st swim lane)
    step 2. The task is received by the Snr Executive group and they need to accept or reject the document.
    step 3. If any of the Snr Execs rejects the document, the process flow goes back to the Business analyst(the requester or initiator) for review.
    (the voting group is able to share comments and the file attachments).
    step 4. The business analyst receives a task on her list. This task list should have the comments made by the Snr Execs who rejected the document. ---This is where we are having a problem. The business Analyst, receives the task, but the document and comments are not updated. This still shows the original document and comments, she sent when initiating the process.
    We have opened a SR with My Oracle support and it was suggested we apply a hot fix 9958661, which was done (see output below). Unfortunately this did not solve the problem.
    Questions:
    1. Is the default behavior of BPM 11G ?
    2. How can we change this behavior to do what we want ?
    ---------------------------------------opatch update output -----------------------------------------------------------
    ApplySession adding interim patch '9958661' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 9958661 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 9958661 are present in Oracle Home.
    The local system has been patched and can be restarted
    I any suggestions would be welcome.
    Thanks
    Mocheche

    Ok, this is what i did:
    - I have a Process Data Object called CustomComments with just 1 attribute called comments.
    - I have added that object to my user screens (adf page)
    - Changed its columns att to 65 and rows to 8 (i chose that layout)
    - Used a tableLayout to add an icon next to this text area to allow the user to add comments:
    <af:commandImageLink shortDesc="addCommentImage" id="addCommentImage" partialSubmit="true" icon="/hw_images/new_ena.png">
         <af:clientListener method="myFunction" type="click"/>
         <af:clientAttribute name="attributeName" value="attributeValue"/>
    </af:commandImageLink>
    I use that clientAttribute to send the logged user to the javascipt.
    - I added this after the af:document on top of the page to make the customComments readonly to the user (you need to do it here because if you set it in the properties the element is not updated later), so the user has to use the button i put to add comments:
    <f:facet name="metaContainer">
         <f:facet name="metaContainer">
         <af:resource type="javascript">
              function readOnly(){
                   var comms = document.getElementById("it1::content");
                   comms.setAttribute("readOnly","true")
         </af:resource>
    </f:facet>
    <af:clientListener method="readOnly" type="load"/>
    - Somewhere i added the javascript the commandLink calls:
    <trh:script id="myScripts">
         function addComment(evt){
              var commentArea = document.getElementById("it1::content");
    var user = evt.getSource().getProperty("user");
    var comm = prompt("Please enter your comment: ","");
              if (comm != null) {
                   if (comm != ""){
                        if (commentArea.value !=""){commentArea.value = commentArea.value + "\n"}
                        commentArea.value = commentArea.value + "user.value" + " : " + comm;
    </trh:script>
    After all this, you have an object that carries the comments from one screen (UI project) to another and is updated each time.
    I know it may not be the perfect solution and that it could be improved a lot, but so far it does what i need so i use it.
    If there is anything i wasnt clear enough, please let me know. Hope this helps.

  • Fork and BPM

    Hi
    I am using Fork in the BPM to collect and merge 3 messages. This is same as STD pattern "BpmPatternCollectMultiIf". It is working fine, it collects--> transforms --> sends. But always two PE are in "In process" state with a "clock" indicator. I tried putting Fork step inside a Block but no help. All receive steps uses a correlation to collect the messages.
    I am manually deleting the process instance in SWWL and processing next set of messages. We are using XI which is on Netweaver 2004s.
    Appreciate your help on this issue.
    Regards
    Prahllad

    Hi Murthy
    I have given the condition necessary branches =3, let me explain you how it is behaving.
    The first message arrives the PE instance is created and waits for another two messages. Once other two messages arrive the PE created by the first message goes to successful state and also all the message comes out merged into one message.
    But the second and third messages have also created the PE instance and they will be waiting for other two messages each..
    Where the end condition is for this, if necessary branches are 3 then all PE instances should end once merged message comes out of the BPM (or when the send step is executed).
    Please let me know any further help to resolve this issue.
    Regards

  • I have a serious (and bizarre!) issue with my novation impulse (Although i've tried it with two other keyboards and i still have the same problem) and its compatibility with mainstage 3

    i have a serious (and bizarre!) issue with my novation impulse (Although i've tried it with two other keyboards and i still have the same problem) and its compatibility with mainstage 3.
    the problem is best explained on the following one - page thread: 
    https://discussions.apple.com/thread/3951518?start=0&tstart=0
    (Clearly i'm not alone in this problem, although i think i figured out what's going wrong a little more than he did...read on!)
    his solution, to put mainstage in jump mode, is very unsatisfactory to me, as it bounces all of a sudden to drastically different settings.
    basically, my analysis is that my controller is NOT receiving MIDI date from mainstage.  in other words, mainstage knows what my controller is doing, but my controller doens't know what mainstage is doing.
     let's say i turn the knob all the way to the right ... 127...and the virtual fader goes to the right like it's supposed to. 
    now...next...let's say i change to a different patch, where that same VIRTUAL fader is not at the max clockwise position..maybe it's only at 1pm.  now when i turn the physical knob to the RIGHT, the midi data is still at 127 on the controller!  it didn't "reset" to sync up with the new level (say 80 or so) setting on the new patch.  so i can't increase that new setting of 80 by continuing to turn the knob to the right.  i have to turn it all the way to zero,...and then continue PAST zero until the controller thinks that IT is at 0...at that point the controller and mainstage are in agreement, and things work fine....so bascially, the keyboard thinks the level is at max...but mainstage thinks the level is at 1pm.
    i am using Logic 9, and i have a macbook pro 2.9 Ghz I7 with 8 gigs of memory and OS X 10.8.4

    Hi Josh,
    Thanks for taking the time to contact us here a Novation for technical support. Lets continue to correspond via email so we can get your issue resolved.
    Thanks.
    Mike Towns

  • Syncing problem between iphone and two computers. Transfer speed issue.

    An issue that I've recently started having problems with is syncing my contacts and calendar into two computers and my iphone. I've recently pickup up a new macbook pro to use when out of the office but my mac at work is still my main computer.
    The problem is the two computers get equal usage but they also each get their own random entries as well as the iphone which requires me to sync the two to my iphone a few times a week. The computer at work runs the sync fine and is my main computer with the music stored on it. The sync with that one runs in no time as long as their isn't any change with the music. The problem comes about when I try and sync with my laptop. I have the sync music option turned off and I always click merge info for my calendar and contacts (about 2000 entries for contacts). The sync with the laptop can sometimes take over 10 minutes and I can't figure out why as it only shows the sync in progress bar.
    It's not like I'm changing much info, it's usually just the calendar so I can't figure out why it takes so long on a much newer computer.
    Any info would be greatly welcomed.
    Thanks,
    Robert

    One thing that might help out.
    Create a new login account on the new computer.
    Open address book and enter a test or real contact.
    open itunes and go through the initial setup.
    Connect the iphone and try syncing just contacts.
    Allow the contacts to merge.
    If this takes the same amount of time, then it is a system wide issue and you might need to reset isync.
    If the sync only takes a short time like on the work computer, then it might be with the data or a program you have running in your user account when you login.
    If you need to reset isync or sync services, here are a few articles that might help out.
    One article is for osx 10.4.x and the other is for 10.5.x
    http://support.apple.com/kb/HT1865
    http://support.apple.com/kb/TS1628?viewlocale=en_US
    http://support.apple.com/kb/TS1627?viewlocale=en_US
    Make sure you use the correct article if you decide to reset sync services!!!!
    Hope this helps.

  • I have a iphone 4s, it died and has been on the charger for the last two days and still wont turn on. How can i fix this???? condition of phone is not the best and was having issues staying charged to begin with but never NOT came back on.

    I have a iphone 4s, it died and has been on the charger for the last two days and still wont turn on. How can i fix this???? condition of phone is not the best and was having issues staying charged to begin with but never NOT came back on. I've tried the holding of the home and power button but still nothing

    iOS: Not responding or does not turn on - Apple Support
    try this but maybe terminal if no result

  • Integrtion Scenario using BPM with two sender and multiple receiver

    integrtion Scenario using BPM with two sender and multiple receiver
    How many Application Components are required?

    Hi Vinod,
    1) In integration repository you can have one or many software components it depends on your landscape orchestration
    2) In integration direcory you need at least one service for bpm and one or many for each system in your bpm
    also each connection between systems and bpm must have receiver determination and so on.
    Advice: Please treat BPM as a separate system.
    best,
    Wojciech

  • HT204406 Good Morning, I' m having issues passing the first step on Itunes Match! it's been two days and itunes is still gathering information about my library! Please help! thx

    i'm having issues passing the first step on itunes match! It's been two days and itunes is still gathering information about my library! i have windows vista. Please Help!! thx

    i'm having the same problem. it's still gathering information about my library and it's been two days!! Did itunes have any solution for you guys. would appreciate a response.
    Thx    

  • Combine Two Files and sent to webservice

    Hi all,
    I need to read two files and combine in XI and i need to send it to webservice.
    can anyone please tell me which way is the better.
    kind regards,
    Praveen

    hi
    i am reading two different file structures and i need to map it to webservice structure.
    i did all design and config steps including BPM also. i used fork step with two receivers and transformation step and send step.
    but in the mapping iam getting only first file message only.
    This is source message
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:Test_result_MT xmlns:ns1="http://lonmin.co.za/GetServeyData">
             <Details>
                <x>10</x>
                <y>aaa</y>
             </Details>
             <Details>
                <x>20</x>
                <y>bbb</y>
             </Details>
          </ns1:Test_result_MT>
       </ns0:Message1>
       <ns0:Message2>
          <ns1:Test_result_MT xmlns:ns1="http://lonmin.co.za/GetServeyData">
             <Details>
                <x>30</x>
                <y>ccc</y>
             </Details>
             <Details>
                <x>40</x>
                <y>ddd</y>
             </Details>
          </ns1:Test_result_MT>
       </ns0:Message2>
    </ns0:Messages>
    Target Messgae must be like this
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <ns1:Test_final_MT xmlns:ns1="http://lonmin.co.za/GetServeyData">
         <Details>
         <x>10</x>
         <y>aaa</y>
         </Details>
         <Details>
         <x>20</x>
         <y>bbb</y>
         </Details>
         <Details>
         <x>30</x>
         <y>ccc</y>
         </Details>
         <Details>
         <x>40</x>
         <y>ddd</y>
         </Details>
    </ns1:Test_final_MT></ns0:Message1></ns0:Messages>
    i am giving source and target message can any one please tell me which elements i must map to get this target structure.
    Edited by: Kiran Kumar on Dec 19, 2007 1:21 PM

  • SunMC - Process is forking and reaping child processes. What's that?

    Hey folks,
    Im really new to the sysadmin world, and I think maybe my company really didn't think things well when they've decided to put me doing this, hehehe.
    I work with a general queue for which my team receives tickets with different kind of problems, among them, Automation Alerts (I think you all know what Im talking about).
    Recently (maybe 2-4 days) we've started to receive an Automation Ticket with the following message:
    Solaris Process Monitoring Process Monitoring Base03 CPU
    time for reaped children 107.1 30.0 Process is forking and
    reaping child processes.
    I've found almost nothing about this, and even when I think what's this ticket about (I've closed 2 or 3 of them stating no issues were found), I really want to understand and know where to look and if something can be done about this, because processes on the server and general state of it seems in good condition and nothing looks bad, apparently. The server is a Solaris 10 with zones.
    Can you shed some light on this? I'd appreciate all the help you can give me.
    Thank you and regards all.

    The same thought occurred to me, except I started seeing "failure" logs in JAMF the morning after we run maintenance policies. All of these failures were due to the Mac not restarting, which isn't really a failure - more of an inconvenience - since the second part of the policy (removing eTrust antivirus and restarting is part 1, installing SEP 12.1 and restarting is part 2) runs immediately on restart no matter what time of the day it is.
    In some cases the macs did not restart because the user had unsaved work or something else that would cancel logout. In this case, Casper prompts the user to restart and waits until the OK button is clicked, then counts down 1 minute and restarts. In the other case, nothing would have prevented logout yet the computer still did not logout and then restart, leading me to believe that the reason the Mac did not log out was a locked desktop, and since I am telling System Events to simulate a gui log out, this would be blocked by a locked desktop.
    The problem basically stems from the following two issues: 1. I am not to force a logout or restart when a console user is logged in and 2. Casper will not automatically log a console user out on it's own OR restart the computer if a console user is logged in - and then I have to rely on the end user to follow on screen instructions since the Casper restart prompt can be moved to the side and effectively ignored.
    When no restarts are required for the various policies we run, this is not an issue. And anyway, I originally just wanted to know what process is running when a desktop is asleep and locked, but no screen saver is active...

  • If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    Actually, everyone missed one point, when a device is priced, the cost of icloud storage space for that device is also included in it that is why they are able to give you 5gb each for each user ID, in nutshell there is nothing free coming with apple device purchase, it is paid for.  What they are trying by giving only 5gb per user ID irrespective of the number of devices used is pure broadlight looting, they take money from you when you buy each device and give you nothing, This is a case of goods and services bought but not fully deliverd ie apple can be suied for discreminatory treatment towards it's users. I wonder why no one tried this yet in America where everyone sue everyone for petty things..... there is no one to take up this issue? . if tim got any love for the guys who shell out money for the devices his company makes, he should be implimenting this as priority before someone wake up from sleep and sue him.

  • My ipad will not start.  It is 1 year old...I have tried holding the two buttons and nothing..I have it connected to my desktop and it will make a ding noise but nothing comes up on the screen.

    My ipad will not start.  It is 1 year old...I have tried holding the two buttons and nothing..I have it connected to my desktop and it will make a ding noise but nothing comes up on the screen.

    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • Interesting and an  imporatant issue at sales order schedule line.

    hi all,
    interesting and an  imporatant issue at sales order schedule line.
    i created a sales order with 10 qty.and the system proposed a two schedule lines.
    let's say to order created date is 27.11.2008.and the requested delivery date is 27.11.2008.
    but the stock is not available today then the system proposed two more schedule lines apart from the 27.11.2008.so now there are three schedule lines like below.
    schedule line date                      Material availabilyt date   delivery date                   
    27.10.2008 with zero quantity.     
    28.10.2008 with 5 qty.                28.10.2008                     29.10.2008
    02.10.2008 with 5 qty.                02.10.2008                     03.10.2008
    now the delivery and pgi already for the schedule line 28.10.2008.
    then when i run the availability check on 01.11.2008 system is over writing the material vailability date as today at the scheduleline number two.
    now i can able to view only two schedule lines only.
    schedule line date                      Material availabilyt date   delivery date                   
    28.10.2008 with 5 qty.                01.11.2008                     29.10.2008
    02.10.2008 with 5 qty.                01.11.2008                     02.11.2008
    now my concern when we reschedule the avalability check it should notchange the Material availability date of the schedule line which i already delivered.
    Regards,
    sheshukumar

    can any one repsond for this.....

  • Remote Desktop Access with Mac and Asus Transformer Prime

    I have an E2000 router with the most current firmware. I have a Sony VAio laptop with Windows 7 Home Premium 64bit,a Macbook with 10.6.8, and a new Asus Transformer Prime with ICS.My work desktop is a Dell Optiplex 380 with Windows 7 Pro 32bit. I frequently work from home and have no issues remoting into to my work PC from by Sony laptop via VPN and RDP.However I have never been able to connect successfully to my work PC with my Macbook(using Remote Desktop Connection 2.1 for Mac OS) or Asus tablet(using WYSE Pocket Cloud RDP app for Android). I can however connect to the VPN itself on the Macbook and tablet without issue same as my Windows laptop. The other interesting part is I can connect via RDP when I am connected to a Mi-Fi 3g hotspot. So it is definitely something in the my Linksys E2000 blocking the connection for some reason. I have even set Port forwarding of 3389 with the ip's of both the Macbook and Asus tablet.I have also tried connecting via ethernet to the router with the same outcome. I cannot ping my work pc from either device as well.In addition the firewall on my work PC is completely disabled and all services related to Remote desktop access are enabled and running.Does anyone have any ideas?

    For my tablet its own ip assigned by the router. Same with the macbook.the Pocketcloud RDP app also uses 3389.I have port 3389 set for both internal and external port and protocol "both" under the Single Port Forwarding tab in the router config.

  • I have recently installed Mavericks and since then I have been unable to shut down or log out of my mac.  I work with two screens and now I seem to have programmes at the top of both screens which I didn't before.  any advice?

    I have recently installed Mavericks on my desk top and since then I have been unable to switch off my computer without crashing it. I work with two screen and now I seem to have the menu bar on the second screen as well which I did not have before.  Can you please help me?

    Dr Bettina, I had similar problems with Mavericks. I installed it on a Mini and a 13" MacBook Pro. I can't speak to your disdplay issues, but I can confirm the inability to logout, shut down, or restarft without a forced, power button shut down. I can also report frequent System Prefs freezes and finder issues, like folder contents taking half a minuite or more to render, or not appearing at all. And while a few Adobe CC apps actually ran faster, InDesign ran like molasses uphill in Decemner.
    I tried uninstalling or disabling numerous 3rd party apps and pref panes. I unplugged everything but the keyboard, ran DiskWarrier, repaired permissions, did fsck -f, trashed various preference files, reinstalled the OS... You name it, and I tried it — short of a potion using eye of newt.
    After two days of totally hosed productivity, I restored OS 10.8.5 on the Mini so I could actually get some work done. However, I've decided to leave Mavericks on the MBP as a sort of crash dummy, and will install and thoroughly test all updates until stability has been achieved. Then — and only then — will I upgrade the Mini to Mavericks, even if it means waiting 'til a .2 or even .3 update.
    Good luck to you...

Maybe you are looking for

  • Using multiple apple tv's

    i have a first gen 250gb apple tv and i just recently bought the second gen apple tv also. I am using a macbook pro with lion for my main computer. Is it possible to use my first gen apple tv as the "library" that my second gen apple tv can load/stre

  • Ipod touch 2nd gen disconnects from itunes and turns off while syncing

    My Ipod touch i try to connect to itunes and sync it with the itunes, but everytime there is a problem. The problem is that every time it gets like maybe 10 - 30 % done syncing the ipod cuts to a black screen and it is gone from itunes window. Also o

  • Free LabVIEW Basics and Introduction Courses Removed, Moved or Missing?

    There use to be some very nice FREE Labview tutorials under:  http://sine.ni.com/nips/cds/view/p/lang/en/nid/10647  Use to be a area called, NI Training / Tutorials Free training materials: Online LabVIEW Basics LabVIEW Introduction Course - Three Ho

  • Placed PDF Layer visibility options

    How do I access the layers in a linked PDF. Basically I need to turn on certain ones at a time when placing the PDF. Below I believe is basically Kasyan's(?) (sorry if this is the wrong person, maybe Jongware's) script from another site for dealing w

  • Customer Exit implementation

    Hi I need to implement one customer exit EXIT_SAPLWRPL_001 for replenishment program with t-code wrp1.Pls can any one tell me the step by step procedure how i need to implement and activate the exit.Is it mandatory to create project in cmod? If yes h