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.

Similar Messages

  • 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.

  • 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

  • BPM Block step

    Hi everyone,
    In my scenario IDOC XI JDBC scenario I am using the BPM.
    My IDOC message type is Vendor master and needs to send to 4 Legacy systems.
    My BPM steps are:
    1)Receive step
    2)Transformation step.
    3)Fork step(4 branches).
    Inside the fork
    a)4 receiver determination steps.
    b)4 Send steps.
    My question is I need to monitor each and every step in BPM.
    So how many BLOCK steps can I have for my scenario?
    And in the BLOCK step properties can anyone explain me  what is Multiline element,Current Line element and End Condition?
    I have gone through the SAP BASIS BPM patterns in XI but it is very confusing for me.
    If any one can help me out that would be great and I appreciate your help.
    Thank you,
    Mili

    Hi Mili,
    imagine you have to a message that has a unknown number of order items. But your receiver wants to have messages separated by order items.
    Sample:
    You send a order IDOC from R/3 to your XI. The XI does not know how many order items are in the IDOC. So you do a transformation step. In this case a so called multi-mappping. the multi mapping splits your IDOC into several Messages.
    Imagine also that you BPM is generated coding! Now imagine a table (like in EXCEL) where these single messages (your order items) are. The multiline element is your excel.
    Now you want to send the EXCEL rows (=order items) step by step.
    So your send step has to take the actual message that should be processed.
    This is the SINGLE LINE.
    Take care: MULTILINE Container element and SINGLE Line Container element have to refer to the same message interface!
    But in your case you do not need a multi mapping as the number of receivers is known (=4).
    Also you do not need a end condition.
    You need only one send step!!!
    In Integration directory configure a receiver determination where your 4 receivers are!
    Also 4 interface determinations and 4 communication channels.
    One question:
    What do you mean by:
    >>>My question is I need to monitor each and every step in BPM.
    Thats all!
    Regards mario

  • Completing the block step for parallel processing

    Hello ,
    I"m  using a  ParForEach  block   .
    It works fine and  2   approves get their decision task  respectively ,
    I  want to end all parrallel  processes if one of the   approvers select the reject  option  .
    I  thought it could be done using the  End condition Option .
    I have defined an end condition    in  the tab  Parallel  Procesing  ,  the condition  is  an  element wf_result is set to REJECT
    was defined.
      But   nothing resulted and althogh i check  the container and the  element is correctly   assigned after one of the approvers
      rejects  the  other is still  sitting there.
    i  ran  the condiion evalate button  on  this step  with no   success .
    Please Advise

    Hi Rina
    In EHP4, there is the following workflows for Compensation:
    04000022 ECM_SUBMIT
    04000024 ECM_REJECT
    04000025 ECM_CREATE
    together with class CL_HRECM00_WORKFLOW_EVENT.
    There, the parallel processing is used.
    Best Regards
    Raquel

  • 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

  • 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

  • Error in Block step in BPM.

    Hi all,
    I am getting the error in block step, my design follows like this i defined one transformation before block step, the transformation step will splits the input bunch of records into equal no of record packets and sent to block step.. while defining block step i used foreach mode, in block step we kept one sync send step which will send message and gets response ....
    but my block step is getting error once message enters into the block...
    Thanks in advance for your valuable  suggestions and solutions...
    Srinivas

    Hello...
    >>the transformation step will splits the input bunch of records into equal no of record packets and sent to block step
    The transformation splits the message into bunch.. Put  the output in a multiline container and use this in the block step...
    >>but my block step is getting error once message enters into the block...
    What error are you getting??
    >>Thanks in advance for your valuable suggestions and solutions...
    Great to know that you are happy with the responses from the community member in this forum.. So I wish to point one more thing here.. Some of the recent threads closed by you were having closing comment as solved.. it will be better if you point out the problem and the solution which you have adopted to solve the same, so that other community member having the same problem will get a speedy solution... This is just a suggetsion from my end...
    Thanks
    Suraj

  • ForEach block step

    Hi all,
    I have implemented a block step with inside a synchronous send step. It worked just fine, but the scenario has changed and I have to bundle the responses and send them back in one file.
    So I placed a transformation step and a container, inside the block. Another send step behind the block, that sends the message back to the sender.
    The problem is that this is not working. The transformation and container do not show up in the PE-monitor but the block gets executed succesfully. Different messages all get sent and give responses back. Also the send step after the block does not get executed.
    Sxmb_moni gives no errors what so ever. The workflow ends with status executed succesfully. I have no idea what is going wrong.
    Any ideas?
    Grtz,
    Philip

    hi ursi
    We faced a similar scenario where we did a complete rebuild of the IS with a different name as a cache refresh didnt help. Soon after check sxi_cache and see the IS carries a response code 0 (no errors) reimport the IS into ID and check the scenario.
    Also make sure if the pointer is placed on the block if nay contained variables needs to be defined inside a block.
    regds
    Prabhu

  • 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

  • Access files (ascii and TDMS) by blocks, step by step

    Whener I perform a data acquisition and save the data I save to files (either ascii or TDMS, depending on acquisiton length, sampling rate, etc).
    Afterwards, when I want to access the data, the only way I have managed to is by reading it all at a time. And so, I have to turn to other softwares such as MatLab for postprocessing. And also, if files are bige enough, I sometimes have memory related troubles when reading complete files.
    I would like to know how to, because I am sure it can be done, how to do a loop for reading files by blocks, step by step; conrolling file position, block length, etc.
    Regards,
    usuario

    You may want to read Managing Large Data Sets in LabVIEW.  It walks through many of the issues you are facing here, although it is a bit dated.  After you read that, also read the LabVIEW help on the In Place Element Structure and the Data Value Reference.  Approach both with caution, since both break data flow (i.e. can be a potential race condition), but they help when dealing with copies of large data.
    Text files can be read incrementally by either line or character.  Since the ideal block read size for a Windows file system is about 65,000 bytes, I like to read in my text files 65,000 bytes at a time and doing any parsing from the memory buffer.  When the buffer runs out, I get another 65,000 bytes until the file is done.  <shamelessAdvertising>This method will be the subject of my next post on object-oriented file I/O, which will, unfortunately, be about two to three weeks from now, due to my "real job" getting in the way .</shamelessAdvertising>.  If you are in a hurry and enjoy complex code, the Read From Measurement File Express VI in LVM mode also uses this method.  If you open the front panel of one and dive into the code, you can see it in action.
    Good luck!  Let us know if you need more help.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Issue in File to RFC to File Scenario with BPM using Block Step

    Hi Everybody,
                           I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
                        After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
    Could somebody suggest me the outcome of this? What does this mean and how to
    release the stuck up message in Queue.
    Thanks and Regards,
    N.Jayanth Kumar

    Hi Rajesh,
                           After going through the blog, i saw the trace messages. It says      
    " The   exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
    Regards,
    N.Jayanth Kumar

  • Parallel processing in a block step.

    Hi,
    I have  parallel processing in a block step. It is working fine. Now there is a request and so the question is, if there are 2 parallel loops created by the process block for user decision step and if one has become obselete, how do I deal with it.I need the process block to complete the 1 loop succesfully and proceed.
    Let me know in case of questions.
    Thanks.
    Sukumar.

    Hi
    I think you are using "ParForEach" in block. Let me know how you are making 1 parallel loop as obsolete.
    Is that block is not getting completed after the 2nd parallel loop gets excuted?
    Vinoth

  • ParforEach Mode in Block Step in BPM

    Hi All,
    We designed a BPM with a block step in Parforeach mode.
    For this block step, a multiline container is the Input.It has all the messages to be processed in parallel. But during runtime this block step is not processed in parallel mode.The messages are processed one after the other in sequential mode.Only different instances of the block step are generated but they are processed sequentially.
    Any suggestions!!!
    Regards,
    Srinivas.

    Hello,
    You could read here:
    http://help.sap.com/saphelp_nw04s/helpdata/en/ce/bb2c421f3fda2ce10000000a1550b0/frameset.htm
    that:
    A ParForEach is not a means of improving performance. A ParForEach will not result in a split into threads.
    Could this be the reason?
    Regards
    Patrick

  • BPM Scenario Block Step

    Hi All,
    In my scenario iam getting a message through RFC.Now i have to split the messsage into multiple messages and then send each message individually to a webservice and get the response.
    I want to send them in Parallel mode by using Block step - Parforeach mode.
    Following are the steps in my BPM.
    1.Receive step - Open Syn/Async Bridge
    2. Transformation step to split the message into multiple messages.
    3.Opened a block in parforeach mode
    4.Send step in synchronous mode
    6.Collect the response in container.
    7.Ouside the block close the ync/Async bridge.
    When i exceute the scenario, i only see one message in SXMB_MONI which is from R3 system and even that message does not indicate what the problem is.The message recahed the BP engine.
    Unable to figure out what the problem is.
    Regards,
    Srinivas.

    But to use the response of all the sync messages, u must use the correlation
    See this
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
    Regards,
    Prateek

Maybe you are looking for

  • PDF from Powerpoint on Mac will not place in CS3 or CS4

    Got a customer supplied PDF generated on a Mac from the latest version of Powerpoint using the Mac Quartz engine. I can not place it in either CS3 or CS4 InDesign, but it will place in CS and CS2. Problems placing it there as well. The PDF contains a

  • Satellite E300 cannot connect to WLan

    Hi, I have also bought a new Toshiba Satellite e300 yesterday. I have the same issues and have updated to the latest firmware. What is perplexing is, I have 3 other laptops(mac, older toshiba & acer) and 3 iphones, they are all able to connect to my

  • Time Interval

    Hello, In my form I have an images say img1.I want to display img1 after 5 seconds of clicking a button present in my form. Is there any way to solve my problem. Thanks , Deb

  • How can I see the Temperature of mobo and chipset ?

    How can I see the Temperature of mobo and chipset ? Greetzzzz, LunnyFish http://www.chivas.be

  • Classic & EC -  PO & other purchasing documents number range

    Hi SRM Gurus, Can any one please explain me more precisely about number ranges in SRM & MM. For classical scenario, we will define number ranges for PO & other purchasing documents in SRM as internal number ranges and in MM as external number ranges.