Ccbpm block step concerns !

Hi i am having a
1.) receive step- activate correlation
2.) receive step- use  correlation
3.) block with a send sync step, an exception branch for system exceptions.
       wait step in the exception brach and send sync step and i defined another similar block inside the exception branch of first block to cancel the process if the second send sync step fails.
4.) send step
Here is the scenario
receive step gets a message and activates the correlation and goes into the branch. The send sync step fails because of system exception and it goes to the exception branch where it waits.
In meantime another message comes and has the same correlation id , I dont want this message to get processed until the first one has processed in the block.
How to do the serialization.Is it a built in block functionality that it should not process a new message in correlation until the block itself gets cleared of the first ??

Define your correlation as a local correlation within a new block step and let the first two receive steps be sinde this block.
This way, as soon as the 2nd receive step is completed, the correlation will have finished.
Regards,
Henrique.

Similar Messages

  • How to set dynamic deadlines in ccBPM blocks?

    Is there any chance to set a dynamic deadline in a ccBPM block?
    My business case is that I receive messages which contain a "latest execution" date/time field. I need to take this value and set it as a deadline for the block in the business process.
    From the BPEL modeller I can see only fixed deadlines - but is there by any chance the possibility to set the deadline in a transformation step with a piece of java code (like f.ex. accessing/setting the dynamicConfiguration objects)?
    Any kind of help is much appreciated!
    Cheers!
    Stefan

    Is there any chance to set a dynamic deadline in a ccBPM block?
    My business case is that I receive messages which contain a "latest execution" date/time field. I need to take this value and set it as a deadline for the block in the business process.
    From the BPEL modeller I can see only fixed deadlines - but is there by any chance the possibility to set the deadline in a transformation step with a piece of java code (like f.ex. accessing/setting the dynamicConfiguration objects)?
    Any kind of help is much appreciated!
    Cheers!
    Stefan

  • 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

  • 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

  • Block step in BPM

    Hi Experts,
      I am facing a problem in BPM,
    1) Receive the Message
    2) Split the Message
    3) Block starts
        a) Synchronous send to RFC
        b)Response from this is send to Send step
    In this scenario, the Message is going upto "BLOCK" step, and from there it is not geting executed correctly. To my surprise in SXMB_MONI, the message going to BPM succesfully and no other message found from BPM to any system(either synchronous send / send).
    Can you please help me in identifying the problem.
    Regards,
    Anudeep

    Hi,
      Problem is solved.
    Multi mapping is not giving target element. It is solved when we chnaged the input payload format, from,
    <ns1:Sender_SI xmlns:ns1="namespace">
      <rows>
         <field1>
         <field2>
      </rows>
    </ns1:Sender_SI>
    to
    <?xml version="1.0" encoding="UTF-8"?>  
    <ns0:Sender_SI xmlns:ns1="namespace">
      <rows>
         <field1>
         <field2>
      </rows>
    </ns0:Sender_SI>
    By this change the Mapping worked and scenario is running succesfully.

  • Sync Send step in Block step...in BPM

    Hi All is it possible to maintain a syncrounous send step in Block step, please let me know how....we can maintain for request message and response message.
    Thanks
    Srinivas

    Hi ,
    Its simple
    Receiver- transformation  -Block -
    Sync step -
    Container-----Block -
    Final send
    Exception -
    Regards,
    Jude

  • What is the use of block step in BPM? Please help!

    Hi Experts,
             I would like to know what is the use of block step in BPM? In what cases we can use it?
    Can somebody explain BLOCK by relating to any programming language ( java) control step?
    Please help!
    Thanks
    Gopal

    Hi,
    Block step is similar to what we use curly braces in most of the languages which defines the scope. For example if we are using loop step in bpm to loop through some variable then we can use block step to restrict the scope of loop step up to some point.
    Thanks and Regards,
    Sudheer.

  • 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

  • BPM error at BLock step name

    hello experts,
    i am working on BPM scenario,
    in that i have few block steps..... one of block step, the step name is displaying the error.
    saying that the step name is already exists.
    but i have changed, then also it displaying the same error.
    can any body help me in this regard??

    Delete the block and recreate it. It will automatically assign it a unique name.
    Regards,
    Prateek

  • Problem with timeout exception on a block step

    Hi there, i have a BPM with a block step that has a 1 minute duration timeout,  when i see the steps on the sxmb_moni_bpe the block deadline is being reached after 2:50 more or less, on the block i have an infinite loop with a receive step, does anybody knows why is taking more than expected?, how can i fix it?, thanks for all the help on the matter,
    Regards,
    Robert.

    Hi ,
    This may be due to some missed runtime environment parameters.
    Go to trans - SWU3
    In Maintain Runtime Environment
    Execute the following activities :-
    1. Schedule background job for missed deadline
    2. Schedule background job for deadline Monitoring
    Also have a look at sap note 1117735, if you are not able to execute the above activities.
    Regards,
    Sunil Chandra
    Edited by: sunil chandra on Sep 29, 2009 8:18 PM

  • ABAP proxy in Block step in BPM

    Hi Experts,
    Can ABAP server proxy be used in the block step of BPM?
    Proxy cannot be generated using Abstract interfaces right?
    Thanks
    Suma S

    Hi Suma,
    Check the below links :-
    As far as my knowledge, you cannot use ABAP proxies in the block step.However, you can cross check it.
    Yes, you are right . You cannot create proxies from abstract interfaces.
    Check the below links. These will help u in better understanding :-
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm
    bpm send abap proxy problem
    Re: what is a block step where it is used
    What is the use of block step in BPM? Please help!
    Regards,
    Rohit

  • Issue in completing the block step for parallel processing

    Hi,
    i have created a workflow where in i have used a block step to send workitems to multiple agents.  I have used parallel processing in block step. Number of agents are determined in the runtime. Lets say i have two items in my multiple line container( two agent id). Now inside block statement i have put user decesion step. So at the same time workitems goes to the two approver for approval. When both approver take the decesion after that also command is not coming out of the block step. I want the command to be out of block step after this and goes to the next step of workflow.
    Please suggest any helpful solution for it.
    Regards,
    Smit Shah

    I think theremust be a binding problem , the binding must be some thing like the below
    &USERID[&_WF_PARFOREACH_INDEX&]& ----->&_USERID_LINE&
    of the block step from WF container to Block Conatiner. Because when I checked in my system it is behaving as you want., I also include one Decision step inside the block, and then hard coded the userid values int the table USERID and made the above binding and it ia working fine and in the Decision Agent I mentiond the EXPRESSION and assigned the value &_USERID_LINE&

Maybe you are looking for