Fork End condition problem in BPM

Hi All,
I am collecting three different types of idocs (consider A, B and C). For collecting idocs I am using BPM. BPM Steps are
1.Block1
       a.Fork u2013 3 branches
           i. Loop(3 Loops)  Receive u2013 Container Operation(Assign) -- Container Operation(Append)
2.Block2
   a.Fork- 3 branches
      i. Transformation
      ii.Send
In one of the field in idoc (C) I am getting the sum of idocs sent from the source. If the collected idoc count is equal to t he idoc (C) field value then fork condition is true otherwise the fork will be waiting up to the count equals.
This is working fine whenever I am sending idocs in A, B and C or B,A and C. If I am sending idocs A,C,B  or B,C,A then it is not coming out of the fork end condition even though the condition is true. Can you please let me know how can we resolve t his.

I kept Fork end condition in Loop also so its got worked

Similar Messages

  • Parallel processing end condition problem

    Hi,
    i use a block with parallel processing for each row (parforeach). In every branch i create a workitem where a user has to input something. This is stored in my field status.
    Now i want that if the status is 'X' all branches will be closed like it would be in a fork.
    I entered the end condition &status& = X
    But the end condition of parallel processing doesn't work. I tested it and it works but into the workflow the branches won't be ended.
    Does someone has a solution or can explain me the problem?
    Thx

    Hi,
    The dynamic parallelism using 'parforeach' is not the same as fork with multiple branches with number of required branches to end the fork !! Its like this, when you use dynamic parallelism , for each index of your multiline container element used for parallelism, the sub-workflow ( or the associated Task having dynamic parallelism) will be called parallely and each branch ( parallely called sub workflow or task ) is independent now having no relation ( by default ) and workflow will not continue to next step until unless all these branches are completed.
    However, to solve your probelm i suggest the following
    1. How are you handling the process in each branch, is it through a sub workflow? if yes, in your sub workflow you can create a fork parallel to your normal process. In that fork, create a 'Wait for Event' step and wait for a new custom event ( for this you have to define a new custom event on your BO) . Put the necessary branches required as 1 and Join this branch to end of this sub-workflow. and
    2. Whenever your requirement to end all the branches is fulfilled ( say in your case status=X) raise this new custom event using Create Event and this will be captured by 'Wait Event' step in the fork of your sub-workflow and it will end that sub workflow ( meaning, your branch is ended now) .Make sure that you pass the BO Object Instance to your sub-workflow through binding from your main workflow. !!
    Hope this helps you !!
    Regards
    Krishna Mohan

  • End condition in FORK step

    HI Experts,
    I am working on BPM scenarios.Anybody plz explain about how end condition works in FORK step.
    Please provide examples for that end condition in FORK step.
    Regards,
    Bhuvan.

    Hi,
    Refer this links...
    http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/77/0737133012b24b9d0a12c6df2b1054/content.htm
    /people/prasadbabu.nemalikanti3/blog/2006/02/24/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-1
    Hope it helps..
    Thanks,
    Kumar.

  • Reg End Condition in Fork

    Hi...
       I need help regarding  end condition in fork. In Fork i have used 2 receivers. I  have made necessary brances as 2. Iif i send only 1 finput file then it will wait for the second file to come out of fork step. If i didnt send the second file, it has to wait for 2 mins and it should come of out fork step. For this how can i keep the condition in fork step?
    Please helpin this issue.
    Regards,
    Leela

    Hi Vijay,
       I have configured the BPM in the below way.
    Block1 Start
      Deadline Branch for 2 mins
      Used Fork Step.
         Inside Fork i have used 2 branches.
                     In first branch i have used Receive step and the container step
                     in the second branch i have used Recieve step and the container step.
         end of fork
    End of Block1
    Block2 start
    Switch
        Branch1--      Transformation step and send step.
        Branch2 --  control step.
    End of Block2
    In the above flow, if i receive the 2 two input files , the scenario uis working fine.
    If any one of the input file is not coming, i need to wait for 2 mins and send only the input file which i have recieved.
    In fork it is mandatory to have 2 input files. otherwise it will for the second file to come. Till then it will be in wait state.
    So i want exit from fork after waiting for 2 mins and continue the transformation step.
    For coming out of fork i have used deadline branch for 2 mins. But it is not working.It is not coming out of fork. It is waiting for the second file to come.
    Can you please help how to come out of fork afte 2 mins.
    Regards,
    Leela

  • Parallel Block (ParForEach) end condition doesnt work

    hello
    I have a parallel block in my workflow (multiline) .
    In this defintion i have also configured an end condition.
    ( &Approved& = 'X'  for example)
    My intention was that the workflow continues after  the block when:
    1) all parallelblocks are processed.
    2) the end condition was met.
    But this second scenario( end condition was met) doesnt work.
    When approve = X in one block, the other parallel blocks arent logically deleted.
    is my assumption wrong? has anyone ever experienced this behaviour?
    thanx
    Hayo

    Hello,
    In fork normally you define how many branches are required to complete a job.
    Let say u have 3 approvers for one work item  say A,B, and C.
    If one of these approve you move on to the next step so in this case branches are 3  but necessary branch required is 1.
    I believe that u must be setting flag 'X' when it is approved correct.
    So just play with the necessary branches and you will be available to do it.
    Regards,
    Nabheet Madan

  • No End Condition for clips in Final Cut Pro X?

    Hello,
    I'm keying someone in Final Cut Pro X on top of a background stock footage clip I have. I'd like to loop this and extend it out. In Motion, you'd just select Loop from the 'End Condition'. I don't see that in Final Cut Pro X. What's the secret, please? I've searched through the manual and checked the boards and can't find the answer.
    Thanks!
    Scot

    Copy and paste.

  • Anyone know anything about Apples Mail and British Telecom Yahoo and how to set it up as I am having no end of problems?

    Anyone know anything about Apples Mail and British Telecom Yahoo and how to set it up as I am having no end of problems?

    Apple - Support - Mail Setup Assistant

  • End Users Problems

    Hi Experts:
    If any one can answer that after implimentation of SAP, what are the most frequent problems whihc End User suffers from??
    Thanks
    Rashmi

    if it is for time management
    mostly u will problem related to Absences and absence quotas updation and some time u may get worng reports when u take reports
    End user problems means it depends upon the nature of the functionality which he works
    so check Time Related infotypes functionalities and their configuration issues
    AS TIME IS UNIVERSAL MODULE

  • END CONDITIONS IN BLOCK STEP

    In approval process  how many agents are determined at run time in multiline container, i used block for this  if any one rejects i should come out of block i created one container element in local container of the block  , in rejected branch i assigned some value using container operation, the same thing i given as a end condition  in block,  when i checked if any one rejected it is not coming out of the block can any one sugge

    why end condition is not working in block step i have given like this
    In rejected branch   container operation -
    flag = x (local container of block)
          end condition is flag = x.
    I tried like this also  flag = x,
       I Binded to workflow container  flag -
    > flag1(workflow container).
       i have given end condition is  flag1 = x.
    both are not working, I have seen in the workflow log it is executing till the container operation when i click on reject.

  • End condition hold in reverse

    probably a simple answer but I take a clip into motion, reverse it, and then set then end condition to hold, and the clip starts late....the longer i stretch the clips group the later it starts... can't work it out. Have tested on a couple of clips with same result. Any ideas?

    When I tested, I didn't quite get your result; no frames were held, but the clip played fine in reverse. It's obvious that the end condition doesn't work properly when retiming behaviors are applied, so another solution is required.
    If you want to hold the last frame of a reversed clip there are a couple of ways that I'd do it. You can always export the reversed clip and reimport it. Then the end condition property should work.
    Another option would be to duplicate the clip, this one without a reverse behavior on it. Then apply the hold frame behavior to the first frame of the clip and moving the start of that clip to the end of it's duplicate.
    Andy

  • HT4335 i have update my iphone 3gs ios 4.1 to 6.1.3 but at the end activation problem occur and try again to activate in few minutes.so please help and what should i do.......................

    i have update my iphone 3gs ios 4.1 to 6.1.3 but at the end activation problem occur
    the error is could not activate iphone try again so please help me to resolve this problem.
    Thank You......

    Odds are your phone was hacked to illegally unlock it.

  • OK, I'm perplexed.  I've been a mac user for almost 30 years.  My entire ecosystem is Mac and I remained with mac through the dark 90s.  What apple has does in the past 2 years is unbelieveable.  I just upgraded to 10.86, then 10.9, no end of problems

    OK, I'm perplexed.  I've been a mac user for almost 30 years.  My entire ecosystem is Mac and I remained with mac through the dark 90s.  What apple has does in the past 2 years is unbelieveable.  I just upgraded to 10.86, then 10.9, no end of problems.
    I can no longer mirror and of my monitors VGA or HDMI, my itunes which supplies iphone and ipad has disabled podcast app so that I can't listen to my favorite programs and I find out after the fact that Office software is not compatible with OSX 8.6.
    Forget about the fact that itunes looks like it was developed by a 1980s MS-DOS programmer.   Its kludgy, limited and generally does not work.
    What does one do?  Frankly, I used to use macs because they were like info appliances that just worked.  Now the time to manage tech glitches from the company has become way too costly.  Sadly, Apple has become Microsoft and Microsoft seems to become Apple.

    "... as do the users who are downloading recent OSXs in record numbers."
    USUALLY YOU DO NOT KNOW WHAT YOU DOWNLOAD UNTIL YOU HAVE IT !!!
    APPLE USED TO HAVE GREAT STUFF BUT OBVIOUSLY TRIES TO INVENT FOR THE SAKE OF INVENTING !!!
    THIS IS ACTUALLY A STEP BACKWARDS (TO MS).
    CALENDAR & CONTACTS SYNC VIA ICLOUD ONLY IS AN ABSOLUTE NO GO !!!
    @APPLE: FIX THIS ASAP !!!

  • Sir, the subject is, I do not know the original owner Will helped me know that the owner or on the way to end this problem, or any way to communicate with the person in question

    Sir, the subject is, I do not know the original owner Will helped me know that the owner or on the way to end this problem, or any way to communicate with the person in question

    This is a user to user forum.  You are not addressing Apple.  It appears that you may be having issues related to Activation lock: ( http://support.apple.com/kb/PH13695).  If you cannot contact the original owner to have them remove activation lock, you should return the device for a refund.
    HTH

  • Missing "End Condition" pull down under Media Inspector

    I am creating a DVD menu and wanted to loop an 8 second clip into a 20 second DVD menu.
    When I go to the Media Inspector I see all the other parameters: Alpha Type, Invert Alpha, Pixel Aspect Ratio, Field Dominance, Frame Rate. But no "End Condition" nor "reverse". It's as if I needed to pull them section down to reveal them, but I can't seem to find a way to do this. It is very odd and I have already deleted the preferences and restarted Motion to no avail.
    Anyone ever had this odd behavior? Thanks for any input!
    Doug

    It's not there. You need to select the layer in the Layers tab, then go to the bottom of the Properties tab in the Inspector and open the Timing properties. This was changed from M2 to M3.

  • Photos causing no end of problems!

    Guys, I've "updated" to Photos and have been no end of problems!
    I want to import photos from my Android (which I have previously done without too much trouble).
    The first problem is that only a few photos show as thumbnails.
    The second problem is that I have even photos that I have previously imported show as being new.
    When I select the photos I want to import (I count how many new ones I have on my phone and then count up on the Photos app) and the click Import nothing happens. It says its importing, but several hours later the 5 photos I need importing are still in the import process.
    I decide to stop importing. This doesn't work. Photos app just hangs.
    I choose to Quit Photos. It won't allow me to do so. It tells me that it's Closing Library. Force Quit is not available!
    I choose to Shut Down my Mac. No can do as Photos is still running - and can't be force quit either!
    I have to hold the power button down to shut down.
    Happens every single time!
    Oh Apple, what have you been doing these last few years!

    Hi Terence, thanks for your reply.
    Was there not a Force Quit option if you long clicked on an app icon in the dock also?
    Apologies for not explaining my connection method. I'm connecting via USB.
    I did try the Image Capture app. But this also gave me a list of ALL the photos on my phone including the ones I've imported already.
    I know I can do it the long way round by knowing what photo I last imported was and then selecting all subsequent photos thereafter.
    It's just that with iPhoto it wasn't this bad.
    I guess it's a business thing, hey! Apple wants all of us to use Apple products in combination.

Maybe you are looking for

  • How do I search for a bookmark folder by name in Safari?

    How do I search for a particular bookmark folder in Mac Safari 7.06?  Since there seems to be no automated way to sort the folders (as in other browsers), in a long list of folders, a particular one can be hard to spot.  Yes yes, very similar to a pr

  • My iPod touch screen stopped working, how do i fix it?

    My iPod(4th generation) touch screen stopped working. Okay so it was fine earlier, my home button does not work so i have been using the assistive button for months, and until earlier today it got stuck, i tried to power it off but it doesn't let me

  • Help regarding :Video Segmentation & Summerization

    hello friends, I am doing my project on above topic and I am trying it with Java. Is it possible doing it in Java. What Techniques I'm using are: 1.Java(JMF) 2.Oracle 9i(Inter-Media) 3.Matlab This project concludes of four parts 1.Segmentation (Video

  • Upload Excel to a form in Oracle Applications: 11.5.10.2

    Hi I want to upload excel into a form in Oracle 11i application - order management. There are two columns in Excel Delivery number and Delivery Date. Search each delivery number in Shipping>Transaction>Query Manager . Go to Date field and copy respec

  • Technical completion of Plant Maintenance Order

    When we are trying to do a Technical Completion of a PM order we are getting the error as Error in commitment check (see costing log) with Message no. IW079. Unable to figure out the missing configs .... kindly help! Thanx Shivaji