Synchronous start event for a BPM process??

Hi,
If I trigger a BPM Process from say a BSP Application(Shld be able to do this as all I need is a Service Interface (Start Event) related to the BPM), If for some reason the process fails to start -- Is there a way of  having a response that would let the triggering application know that the BPM process instantiation has failed...
What I am trying to understand is :
1)would the Service Interface for the BPM start Event, provide a response ?...??
2)Is it possible to have some kind of logic implementation for this Service Interface(that starts a BPM Process) ??
Eventhough there was a similar message in the forum, I wanted to have a clear picture ....
A detailed reply would be highly appreciated ..Thanks !
Best Regards,
Arun

Hi Arun,
I guess you need to distinguish 2 to 3 cases here:
In case you used a snychronous call in the service interface definition assigned to the process start event it will result in a SOAP fault, which says that the process started successfully. Reason for that is explained here: Starting a BPM Process - Where is the Service?
Problems within your process would also not be reflected in the SOAP message (e.g. if there is some issue within the first step after the process has been started). I guess that is somehow obvious as the process has been started after all, but I wanted to state it anyways.
Finally and that's possibly the most important point for you: If there are any problems during the instantiation and in the end no process has been started then this should be reflected in the SOAP result. If not I would consider it as an issue in the implementation and would like to ask you to open a ticket for it on http://service.sap.com/message
More details could be found in the documentation:
Starting a Process
https://help.sap.com/saphelp_nwce711/helpdata/en/62/a6d7ac03994e0796c6b949c8952547/frameset.htm
Creating Service Interface Definitions
https://help.sap.com/saphelp_nwce711/helpdata/en/47/62632a3c304359e10000000a42189c/frameset.htm
Hope that helps,
Martin

Similar Messages

  • In what situation i can go for the BPM process?

    hai pals,
         i wld like know in what kind of situation we will go for an BPM process for message transfer.
    with regards,
    rajesh.

    Hi Rajesh,
       BPM process is a very useful tool as the name suggest ccBPM when ever you want to model your soultion hitting different systems, Also helps in controling and  monitoring complex integration solution process.
        As it uses SAP workflow engine behind it is very effective in building complex soultion.
        some simple scenarios could be
         Wait for more than one input and start your integration process..
         Raising alerts, exceptions and so on...
    cheers,
    Vedavyas
    Message was edited by: Vedavyas Cuntheepuram

  • Starting event for MQSeries control

    I am new to Integration. I'm testing a simple MQSeries control. I just want the control listen to a q, get the message and put the message on another q.
    What is the starting event for this type of process? Do I have to use a message broker?
    thanks.

    You can use the control only from an already running process. I you need to start a new process, whenever a message arrives in a MQ queue, then use the event generator, which communicates via Message broker events.
    -Kai

  • Problem in generating WSDL file for triggering BPM process

    Hello Experts,
    I have a working BPM process which I want to trigger using a web service. I am referring following blog link to generate New WSDL file and perform further operations:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    However, it everything goes well until I set the type for the "New Element". I want to set type to context of my component controller. So I selected Set type --> Enclosing Project and I seleted Context of my component controller.
    Upon saving this, I am getting this error:
    "../../rep/ui/com.sap.demo.wd_ui_mna.wd.comp.c_fillmynameage.C_FillMyNameAgeInterface.xsd" is not a path relative to "src/wsdl/NewWSDLFile.wsdl" because it contains too many '../'
    I am not sure what is happening here. I have also removed the response element(s) from WSDL source.
    What am I missing here?
    Thanks in advance,
    Ameya

    Cross post in EBiz forum -
    General EBS Discussion
    Regards,
    Anuj

  • Issue with Service Group Configuration for a BPM Process

    Hi,
    I am working on BPM processes on CE 711. I need to use the Service Group settings. I created a BPM process with a automated activity that maps to an enterprise service in HU2 (SAP ES Workplace system).
    After setting up the configuration in NWA for service registry and service group, I run the BPM process. The Enterprise Service runs into error and log records it as 'No matching BindingData is found for SOA smart configuration'. I have done most of the configuration as recommended but the matching end point
    url seems to be picked wrongly [http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_employeebasicdbyemployeeqr?sap-client=800] .
    I could not get any info on notes search and could not get much info about service group config. Any help here is greatly appreciated.
    Regards
    Suresh

    Hi Suresh,
    i just got an answer on my ticket. Here it is:
    There is a known issue with the upper case of the endpoint published in
    the Services Registry and in the WSDL.
    Before SP2 the matching for the binding for invocation is done
    by the endpoint url. There is a known issue that the endpoint published
    in the Services Registry is with lower case of the characters but in theWSDL the endpoint is with upper case. In your case the endpoint url in
    the Services Registry is as shown in the exception above:
    http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_srvcreqcrtrc?sap-client=800
    but in the WSDL the endpoint url is with upper case of the endpoint:
    ../ECC_SRVCREQCRTRC/..
    Because of this difference the call fails. This is fixed is 711 SP2.
    Workaround for this is if you create a Provider System based on your
    WSDL, not a Services Registry one.
    Hope that helps...
    Best regards
    Michael

  • Delete all instance for the BPM process

    How can I delete all instances or specific instance of the BPM Process except redeploy the process and unchecked the keep all instance option??

    Hi
    Just a small correction. When you ReDeploy Workflow SCA file and Uncheck the option to keep running instances, if I am not wrong, all OLD instances are NOT deleted. They just become STALE (change the status). BUT these instances are still there in the Database but not show up in the Worklist/Workspace app. You may see these Tasks but you CANNOT open them and it says like Task Details Not Found etc.
    But if your intention is to delete the instances permanently, then see the earlier post on how to delete from EM. This will take care of permanently deleting.
    Thanks
    Ravi Jegga

  • Standard SC's required for creating BPM Process ?

    Hi All,
    When I follow below path :
    Right Click on Track ->New->Development Component->List containing type of DC....
    But few of them are disabled (Process Composer,Rules Composer).
    When I click on them I get below error----
    Software Component does not support this Development Component Type. Required DCs are located in an SC that is not visible from the selected SC.

    Hi Sheetal,
    The information could be found in this thread:
    NWDI Track for BPM
    NWDI Track for BPM
    Hope that helps,
    Martin

  • How to making oracle bpm process instance asynchronous?

    I want to create a bpm process which start as asynchronous. Can anyone tell me how to do it and test it?
    Do I need to define the data structure/xsd first? Thank you

    This is quite easy.
    Double Click on the Message Start event of your BPM Process and then go to the Implementation Tab. Expand the "Advanced" pane by clicking on the "+" icon. Here you will see a Radio button that allows you to make your process "Synchronous" or "Asynchronous". Choose the mode that you want.

  • Task UWL and Warnings BPM process

    Hi,
    I have two questions about:
    - Created Tasks in the UWL
    - Warnings BPM process.
    I have created a BPM process with a one human activitie. This human activity assigned to a task with one potential owner. When i start the process and open the portal UWL, two tasks has been generated!?. Both are the same because when i complete the first task and open the second task, i get the message: " Task has been already completed ".
    Second question: when i open the created BPM process, the following warnings appears in the problem tab of NWDS:
    Some of the data elements from input mapping of "Cancelled"is not initialized before used.
    Some of the data elements from input mapping of "Completed"is not initialized before used.
    How can i solve this warning?
    Kind regards,
    Martin Gerritsen

    Hi Martin,
    Regarding the "double-task". How did you invoke the process? Via web service? Via NWA? Might it be possible that you submitted the request twice (e.g. double-click instead of a single click?) and that's the reason why 2 tasks are apparing? Or does this happen every time when you start the process?
    Just a best guess.
    Best regards,
    Martin
    Martin,
    The process will be started by a web service. This service is created as a new WSDL in the BPM environment. This service is connected to the start event of the BPM process and contains a few import parameters. After that i called the service from a R/3 system which started the process.
    The 2 tasks apparing everytime i start the process...
    When i start the process from the process repository (Netweaver Administrator -> Configuration Management -> Processes and tasks), i get the same problem...
    The process contains two human activity's. When the first activity is completed and the second human activity start, 2 tasks will be generated (both the same...)

  • BPM Process not getting started

    Dear All,
    I have created a BPM Process, and have attached a webservice with the start event.After deploying the Process DC I am getting my start webservice in my wsnavigator. When I am executing the start webservice I am getting the following error.
    Web service returned error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Server" Fault String: "Process start has been triggered."
    But my process is inprogress but not getting proceeded to the next step , it is stuck in start itself.
    how can i make my webservice work?
    Regards,
    Shamila

    Hi Shamila,
    To me this looks like a configuration issue. You can trouble shoot it this way
    First try to check if the web services is up and running
    Second check your configuration, for this, in NWA Manage Processes application get all the 'failed processes'
    -check if your in-progress process is listed here-
    - if so then open the Error log tab for the process in the details section in Manage Process
    - See the logs listed here; generally the last log will tell you if your configuration is correct or not
    -if you figure out that the configuration isn't done or is improper then correct the same in provider systems and/or application communication configuration
    - then once this is done, re-query the failed process and use the "Recover" option
    Regards,
    Harsha

  • BPM processes,receiving signals (events) & correlation to existing instance

    Hi,
    BPM 11g/SOA Suite 11g (R1 PS2)
    I am wondering whether it is possible to receive signals (EDN events) into a running process instance. The documentation describes how a process can be started by an event. I would like to be able to feed an event (signal) into a running process (just like we do with correlation in BPEL processes). Is that possible - and if so, how?
    Along the same lines, can BPM processes receive messages through externally exposed WebService operations - into correlated process instances? For example: I have started the process to create a new employee in the organization and I want to inform the process instances taking care of this employee that she will start on a later date than originally assumed (or not at all because she has accepted another job). I know the unique employee id for this new hire. How can I configure the BPM process such that this incoming call after the instance has started is fed into a Receive activity in the process instance working on this employee?
    Maybe a similar is question would be: can a message catch event be used without a corresponding message throw event - to catch incoming messages asynchronously and not related to a message sent by the process instance.
    thanks very much for your insights,
    Lucas

    I also tried DB Adapters and it is not working for my scenario. Needed help/pointers from a BPM Guru \.
    As per my business scenario, If there any update in the database (offline approval. not using worklist) then i should complete the running BPM process for approval.
    1. To achieve this, I created a adapter to poll and it is working in polling. What is not working is picking the update in process and mark is closed/complete.
    2. I tried using Catch Event with continuation mode (but it needs throw event to begin with).
    3. I also tried ‘Receive event’, which also needs start event for continuation.
    4. If i use Initiate mode for catch event then it initiate a new process and mark it close and does not do anything with original process (having this catch event). This catch event is still waiting.
    5. If i use “receive” event with Initiate mode then jdeveloper is giving compilation time error saying that some service is not referenced in composite.
    6. I have also tried other options of using “Sub-process” or another process and invoking it but nothing seems to work.
    Any help/pointers? Thanks a lot.

  • Wait for a message to proceed to the next activity in BPM Process??

    Hi,
    1. After a BPM process is initiated, is it possible to have a "Wait step" in the process ?...That is, I would like to continue to the next activity in the BPM process ONLY after I have received a certain message...
    We do have a "Wait" step in ccBPM(PI) wherein , we could wait until a certain message is received(based on correlation) and then proceed to the next step....
    Is this possible in BPM ???
    There was a query similar to this in the forum :
    Inter-Process Asynchronous Event
    (or search for "Inter-Process Asynchronous Event "  - Ingo Taraske)
    and a suggestion was provided by David Conil which I didn't quite get...
    Would be great if some one could throw more light on if this is possible in EhP1...Thanks.
    Best Regards
    Arun

    Hi Arun,
    In a nutshell, wait steps are not supported in EhP1. The workaround consists of splitting the process in two processes. In BPMN 1.1, wait steps are modeled using "Intermediate Message Events". The idea is to consider the intermediate message event as start event of the second process. The asynchronous aspect would be covered using PI.
    Best regards,
    David

  • How to start a BPM process from ERP system

    Hi,
    I created a process in Netweaver Developer Studio with the Process Composer in SAP CE 7.1 BPM, now I want to automatically start the process by saving a SAP document like purchase requisition or purchase order. Therefore I think about implementing a UserExit / Badi or something else.
    The following systems are available in my Landascape:
    - PI 7.1
    - ERP 2005
    - CE 7.1 EHP1 with ESR
    Does someone have an idea how to start the BPM Process or how to trigger start event?
    Greetings,
    Christian

    the process by saving a SAP document like purchase requisition or purchase order.
    Based on your business process, you will have to decide what data should be sent to other system. It could be in the form of Idoc trigger or an RFC calls. If there are non-SAP systems involved, you should be using PI 7.1 too. In that case, you can communicate using Abap proxy call too. For this you may either call an RFC internally in a report and schedule it.
    Regards,
    Prateek

  • Starting BPM process externally.

    Hi,
    I have created a BPM process and I am able to test it from NWA -> Process repository. But When I am testing from WS Navigator then I am getting an error like-> Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Server" Fault String: "Process start has been triggered."
    But my process is started fine. Actualy I want to access this WSDL URL from other applications. Can anybody help me?
    Thanks,
    Somnath

    Hi There
    > Actualy I want to access this WSDL URL from other applications. Can anybody help me?
    Any tool or application that can send a SOAP-Message to the WSDL-Interface in the starting-event can trigger those processes.
    I used SOAPUI to start the processes i wanted to test. You just need to know the location of the WSDL of your process. You may find this in the NWA - Single Services Administration when you select your process.
    hope this helps,
    Markus
    edit:
    > Simply change the WSDL interface for your process to an asynchronous one - a WSDL that only contains a Request and no Response.
    Wouldn't this be a "one-way"-process instead of an asynchronous (only request, no response)? Because an asynchronous process should response when it's finished.
    Edited by: Markus Alfers on Mar 5, 2009 11:41 AM

  • How to start BPM Process in Netweaver CE 7.1 from backend

    Hi,
    since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
    In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
    The following systems are available in my Landascape:
    - PI 7.1
    - ERP 2005
    - CE 7.1 EHP1 with ESR
    Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
    Greetings,
    Manuel

    Hi,
    Netweaver BPM process can be started in two ways:
    1. Using NWA by instantiating a process
    2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    Hope this helps!!
    Regards,
    Arafat

Maybe you are looking for

  • 2 pages to work on Pages

    I'm looking to have 2 side by side pages to work on Apple Pages (5.2) and I can't find ... Thanks for help Anaïs

  • Printing chat logs from an ipod touch???

    My daughter has an ipod touch and has downloaded Goober chat to her ipod. It does store chat logs is there any way these chat logs can be printed? If so please state directions in detail as I don't know how to use the ipod touch clearly. Thanks for a

  • Could I add Cumulative Totals in pivot table?

    for example 08-1-1 08-2-1 08-3-1 A 1 2 2 B 1 2 2 C 1 2 2 Total 3 6 6 CumuTotal 3 9 15

  • TCODE List document STOCK IN TRANSFER

    Hi All, Somebody kown TCODE like MB5T to see documents related STOCK IN TRANSFER??? We have outbound deliveries (Delivery Type UL - Del.for Stock Trans. u2013 Movement Type 603 - TF rem.fm stor.to pl) waiting for Goods Receipt that  we canu2019t dete

  • Adobe Illustrator 10 - Need Czech .dct and hyphen file asap

    Hi everyone, need help asap. I need the czech .dct file and the hyphen file for Illustrator 10. It's a work problem and somehow doesn't have this. Can anyone upload them so I can download them here or something. Quick as possible would be great. I wo