Synchronous send step from ccBPM

Hello Experts,
I'd like to ask you if you have an idea how to configure synchronous send step from ccBPM. So scenario is quite simple:
1. async start of process
2. sync send to system A
3. continue of process
What I already did is:
I define abstract sync interface everything including names is the same as target sync service interface. Then I define async abstract SI with a name of Request Message type and async abstract SI with a name of Response Message. I of course use Receiver From property set to Send Context...
In monitoring it looks like this: I successfully call sync interface, but the way back???... First of all process does not wait for response but continue with other steps and response doesn't not have service interface, namespace and receivers properties set(service, interface, namespace)...
Does anyone already face this problem or do you know how to send sync message from ccBPM in PI 7.1?
Many Thanks,
Milan

A BPM cannot process further without receiving the response message of the SYnc Send......
In the req and resp tabs of the Sync Step of BPM you have to use the correspoding Container Variables (which you have defined with the ABS Async Req and Resp MIs).
I am having few Sync steps defined in some BPMs on PI7.1 and all are waiting for the response and then only proceeding....if any error then BPM wont progress (rather should not).....below are the settings of my Sync Step:
Mode: Synchronous
Create New Transaction: Unchecked
Synchronous Interface: FileDetails_sync_AI
Request Message: Container variable for Req MI
Response Message: Container variable for Resp MI
Receiver From: Send Context
Regards,
Abhishek.

Similar Messages

  • BPM Error: Synchronous Send Step

    Hi All,
      I am getting the below error in the synchronous send step of my BPM.
    Interface urn:Haworthinc.com:India_Tax SIAA_IndiaTax_DBSelect_TICUSEXT has multiple operations
    I am trying to send a query and get data from a table in this step. I have an abstract synchronous interface attached to this step and I have an inbound synchronous interface at the configuration side as the receiver for the BPM sync. interface.
    The errored out interface is the abstract interface used as the response message at the BPM sync step.
    Does anyone has encountered this before?
    additional error info)(
    Work item 000000364714: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
    Message no. WL821
    Diagnosis
    The calling of the object method for the work item ended with a return value for which no handling is modeled in the workflow.
    System Response
    The work item was forced into the error status.
    Procedure
    Refer to your workflow system administrator.
    Procedure for System Administration
    Also check the binding between the task container and the method container.
    Appreciate your help!
    Regards,
    Shiny

    Hi,
    e urn:Haworthinc.com:India_Tax SIAA_IndiaTax_DBSelect_TICUSEXT has multiple operations
    Are u using 7.1 versin of PI, if so can u check if u r consistently using operation name in interface
    Babu

  • Synchronous Send step showing errors in process designer

    Hi All,
    I have few questions in using a synchronous send step in
    BPM.
    Can I use a synchronous send step without opening Sync/async bridge.
    When is the sync/async bridge opened?
    Scenario:
    File async --> XI (receive async) --> sync send step to J2ee application (HTTP post) --> async response send to File
    Sync Abstract Interface:
    Input:
      Message type (same as outbound)
    Response:
    Message type (same as Http response)
    When I use the synchronous step, I see errors in the process designer saying
    Message to be sent and synchronous interface are not of the same type.  This happens for both request and response message.
    Please help me.
    Regards,
    Meher

    I think the Problem is with the INTERFACE Determination.
    You need a BPM for the above scenario, but not a Sync/Asynch Brindge
    In BPM
    Step 1 : Receive from File 1
    Step 2 : Do Transformation from File1 format to J2EE Request Format
    Step 3 :  Send a Synchronous send Step to J2EE
    Step 4 :  Transform the HTTP response to your File2 Format Response
    Step 5 :   Send the Response to File2
    Interface Determination
    File1 to j2ee Request
    J2ee Request/Response To  J2EE Request/Response
    J2ee Response to file 2
    Please check your Interface determination very closely.

  • Fault message in synchronous send step in BPM

    Hi,
    When executing a synchronous send step in BPM it is possible to handle application errors (fault messages) with an exception branch. But how do you get hold of the actual data in the Fault message(faultText, faultURL, faultDetail etc) for further processing (mapping)?
    Kind regards Johan

    Johan,
    u have to define another container element in integration process.
    For that container element an Async Abstract interface has to created with falult message as the message.
    Do u have the fault message defined already...
    Also go through this thread.
    Fault message handling in BPM
    -Naveen.

  • BPM synchronous send step - Fault message extraction

    Hello Experts,
    I am developing a BPM with Asynch RFC -> synch Webservice -> Asynch RFC scenario.
    I have defined fault message in the synchronous interface used in the send step for web service, and also defined
    exception branch where an alert is thrown.
    In the alert, i want to send the fault text from the fault message. How can i do that??
    Thanks

    Hi Mona,
    SOAP adapter doesnt support fault messages.
    check stephan's reply @ How catch the SOAP Fault Message ?
    > SOAP adapter does not support fault message.
    > Any fault is treated as error.
    > fault messages are only supported for XI messages (ABAP or Java proxies) and RFCs.
    Fault message handling is not possible inside BPM.

  • Synchronous Send Step

    Hi
    Can someone tell me about sync send step in detail
    because in my scenario I am using a sync. send step and the other end is oracle database which uses a SP(stored procedure) for updation.
    problem is that I am able to see updation process successfully in the database i.e.the adapter says processing successful.
    but after certain amount of time the send step in the sxmb_moni shows error
    I think the problem is with the return flag that I am using as an acknowledgement
    which is sent by the SP, any suggestions pls
    Ranjit

    Hi,
    This might help you
    Synchronous Sending followed by Transformation
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    Re: Sync - Async Bridge
    Regards
    Agasthuri Doss

  • Synch Send Step from S/A Bridge

    Hello All,
    I have a s/a bridge in my BPM and I need to send sync messages  to another interface and get response, no problems ok?
    The s/a bridge works fine when there is no sync calls....but i not obtaining success when i try to call sync interface....
    so...now i'm trying to get wath´s wrong...
    the sync step inside BPM need a receiver determination in config?

    Hi,
    >>>>the sync step inside BPM need a receiver determination in config?
    of course it does - just like any other send step in a BPM
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to add a Wait Step in BPM for the synchronous send step

    Hi,
    we have a scenario where in one of the step in BPM is a synchronous step which sends data to ECC system and gets the Respose .
    The Requirement is that we need to add a wait for the Synchronous step in BPM as the data sent to RFC(ECC) need to get comitted before sendng the response which requires some wait time.
    Currently we are getting the Response to PI from ECC where it was reported as the response is not correct.
    Is this possible to add wait

    > Is this possible to add wait
    No, this does not make any sense.
    The BPM waits for the response anyway.
    You could change the scenario to an asynchonous pair of messages.
    But in my opinion the error is inside the ECC, because the response from ECC is not correct.

  • How to read fields from response message in send step in BPM

    Hi ,
    I have one  BPM scenario where I am using synchronous send step to insert data into database and to get response back from database as success or failure .My scenario involves inserting data into multiple tables and in multiple rows . If all the inserts are successful then I want to write success message  else I want the messaage as error . So can we read all the  SQL response and store it in container varibale and the have soem decision logic ?

    Hi,
    for everyinsertion, you will get a response
    <INSERT_COUNT> </INSERT_COUNT>
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    if the value ==1 , then insertions is sucessful, if value ==0, then insertion not succsful.
    So, in your mapping, just check if any of the values is 0 and if yes, then decide if you have to write a sucess message or a failure message.
    Regards,
    Bhavesh
    Regards,
    bhavesh

  • Receiver From Field of Send Step of Integration Process

    Could somebody please explain how this works? I cannot get receiver determination to work for a synchronous send of an Integration Process, and I think this is the problem.
    Documentation states the following:
    Calling a Receiver Determination Defined in the Integration Directory
           1.      In the Receiver From field of the properties area of the send step, select Send Context.
           2.      In the Send Context field, specify a character string for the send context.
    You can choose the character string yourself. You must specify the send context to be able to send messages from the same message interfaces to different receivers in different send steps.
           3.      Query the send context in a corresponding condition in the receiver determination in the Integration Directory.
    I just don't get this; if I choose the character string myself, how do I use it in step 3? I cannot see any way to query the send context in a condition. Is the Send Context the name of the receiver?
    If somebody can walk me through this step I would be very greatful!
    Kind Regards,
    Tony.

    Tony,
    An example
    Integration Repository
    I have a synchronous send step with the Send Context set to ABCDE
    Integration Directory
    In the Receiver Determination, Configured Receivers, enter the Condition Editor
    Select Left Operand and enter the Expression Editor
    Select the radio button for Context Object
    Use the dropdown to select ProcessStep
    Select OK
    Select Right Operand and enter your value, eg ABCDE
    Runtime
    When I run my scenario an entry can be seen in SXMB_MONI corresponding to my send step.  In my case it is displayed in the top Window
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV">
      <Trace level="2" type="T">......old attachment XI_Context found</Trace>
      <Trace level="3" type="T">Append context with name =ProcessStep and value =ABCDE</Trace>
    You can see here that the ProcessStep has the value ABCDE
    Hope this helps

  • Synchronized Send for getting results from the database

    I am new into XI. I have a scenario where id will be read from a file, a selection to be made from database and the results written to a file. I have created a BPM
    receiver -> synchroizedSend(JDBC) -> Send
    Please suggest me how to use Synchronized send to execute a query and getting the RsultSets.

    Hi
    Check this relative thread for the synchronous send step
    Synchronous Sending followed by Transformation
    were can i see synchronous send in the BPM editor
    Message was edited by:
            Anusha  Ramsiva

  • Error Handling in BPM - Send Step

    Hello,
    I would like to implement the following two error handlers using BPM:
    1. There is a send step which sends a message to an HTTP receiver. If the HTTP server is down I would like to add 3 retries and just in case after the third retry fails there should be an error Email sent. So I am wondering whether a communication error (which happens in the HTTP receiver communication channel) is delivered back to the process engine so that it can be handled using BPM.
    2. I also need to apply a validation using XML schema. So if validation fails the error should also be returned to the process engine so that it can be handled in the integration process.
    Are those two requirement possible as described (returning communication and validation errors)? Or do I have to follow another approach?
    Thank you very much!

    Hi Florian,
    >>2. When I activate transport acknowledgement and there is an error in XML validation outbound channel request I get an system error acknowledgement back however the error branch is NOT taken either!
    Correct send step using transport acknowledgment will check whether the message was transmitted or not
    Check this link http://help.sap.com/saphelp_nw04s/helpdata/EN/43/65ce41ae343e2be10000000a1553f6/content.htm
    >>3. And NOW it gets interesting: When I simulate step 2 again an cancel the error message afterwards then the error branch is taken! Not very useful in my opinion if error messages have to be canceled first. The error branch seems to be pretty useless for me in case of asynchronous send steps.
    Again when you cancelled the message it was not received successfully by the receiver system and hence it raised exception (as mentioned in the Exception of send step.)
    I will suggest you to try using Application Acknowledgment in send step. Also If you provide the steps of BPM then it will be more helpful.
    Also have a look at this :
    Asynchronous send step can raise exception only when
    1. Thrown when a permanent system error occurs:
    a. In the case of an asynchronous send step, the exception will only be triggered if an error occurs during the transfer to the pipeline. Errors that occur during mapping in the pipeline, do not trigger an exception.
    b . In the case of a synchronous send step, the exception is also triggered by permanent system errors that occur in the pipeline or while transporting the message to or from the pipeline.
    Regards
    Suraj
    Edited by: S.R.Suraj on Sep 8, 2009 6:41 AM

  • Send step failure situations?

    Hi All,
    I would like to know in what all distinct situations a send step from BPM (Sync or Async) can fail? Idea is to catch such error/exceptions and raise corresponding alerts in my BPM.
    I would much appreciate getting a list from your project experiences rather than scholarly knowledge.
    Cheers.

    calvin,
    i a sync send step , u need to specify a message which corresponds to a outbound sync interface....
    now suppose if the receiver is jdbc , the request message type say is MT
    then the response message type has to be appended with response...so respnse mt will be MTresponse else you will get error.
    also the same applies to inbound synchronous intrface

  • Synchronous Sending followed by Transformation

    Hi All,
    In my problematic business process, a synchronous sending step is used to send a request to a web service and get the response of the web service. A following transformation step converts the received response message to another message. Error occurs in this process.
    If I doesn't use the response as the input of the transformation, no error occurs.
    It seems that there's some problem in the response message. But that message can be correctly sent in a send step (close S/A mode).
    The error message is like this:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">PL_TIMEOUT</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Pipeline timeout condition satisfied</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Does anybody have similar experience?

    Hi
    Go thru these blogs
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/ravikumar.allampallam/blog/2005/02/17/bridging-the-sync-async-bridge-with-fork-xi
    Chk did u followed all the steps from these blogs.
    Regrds
    Arpit Seth

  • BPM: incoming messages disappear during send step

    Hi,
    I want to implement a message aggregation with the bpm tool.
    For this reason incoming asynchronous messages should be collected and at the expiration of a time limit bundled and send synchronous. This synchronous phase takes ~40 sec.
    Incoming (asynchronous) messages during the (synchronous) send step disappear.
    SXMB_MONI: The status of the incoming message is "message scheduled on outbound side". The click on "Technical Outbound Channel" gives a popup "There are no workflows that have already worked with this object".
    Once the synchronous send step is finished the status becomes "Message successful on outbound side" and the click is going to the workflow log (only one log for all messages). There is no entry for that message.
    This happens both if a receiving step is active and if not.
    Regards
    Udo Martens

    Hi, Abhishek:
    The reason to use Fork is that all the branches can be reached.
    By using switch, it only judge one input value and only one condition turns true.
    Actually in most cases, the number of my input value is more than one, saying two or more message types generated.
    And this is not multi-line situaion, because the messages generated are different types.
    Your reply remind me to add switch inside fork.
    Regards
    Liang
    Edited by: Liang Ji on Dec 8, 2010 5:32 PM

Maybe you are looking for