BPM start process from WD UI

Hi all,
I am quite new with BPM in the SAP environment and for the moment I am strugling with the start of a process using an WD UI.
What i have is a simple process with two activities. The process starts with no problems from the respository and also I created a wdsl and managed to start the process from the wsnavigator.
Now I want to start the process from a simple UI. For that I created a WD component, assigned it to an app and connected to a model. Next I edited my portal to have a new folder with a page that contains my app.
The UI has to fields and a button. My goal is to use that button to start my process.
Probably I am doing something wrong when creating the action and maybe someone can help me with the java part on the actual button action.
Please help. Thank you.
Regards,
Stefy

I've made a lot of research and of course found a lot of forums and help. But for the moment I had some issues with addapting them completely to my situation, since I have to prior experience with this.
For example I think this is the best solution that I have found so far: /people/arafat.farooqui/blog/2010/06/23/introduction-to-sap-netweaver-bpm-part-6
but at the following step:
/ Bind the object
wdContext.nodeRequest_Name().bind(objRequest);
I can't figure out what is the nodeRequest_Name()...
couldn't find this "asset" in my WDContext.
Regards,
Stefy

Similar Messages

  • Collect BPM - Start process and correlation in one Receiver

    I'm using collect pattern based on timeout. Somehow in my infinite loop, in the receive step, I cannot combine "start process" with creating correlation and using it. All in the same receiver. When I try to activate my BPM, in the processing log I get, "start process" trigger removed.
    Can someone throw any light on this....I've being trying this for over few hours now. I cannot get start process and correlation in one receiver. I must be doing something wrong.
    Even the copied BPMCollectPattern removes the start process from the receiver.
    thank you,
    Pam
    Additional info:
    The first message received starts the process within an infinite loop and activates the correlation "Correlation" by using IDoc message tyoe. Each subsequent message uses this correlation. The messages are received in the container element CollectMessage.In the loop the received messages are attached to the multiline container element CollectMessageList.

    Hi,
    We are also in SP12. So start process is not a problem, because you are getting an Information saying that "start trigger removed" right? It is not an error.
    Are you getting this eror "expression must not return multiline value" after your complete Integration Process desgin ? If So...
    I think you are getting this error in Transformation Step where you are doing N:1 mapping. In this step you are mentioning Interface mapping right? Once you mention Interface Mapping in Transformation step you need to give Source Message Structure as well as Target Message Structure. According to my understanding you are getting error here. You can check these errors, while design time itself. If your entries are showing with Red Border then it is understood that there is an error.
    So if error is here then I think you need to check your N:1 Mapping. In this mapping your Source side Messages should be 0...unbounded. Similarly in Interface Mapping also. Just check for Source Message Occurences...
    I think it will solve your problem.
    Thanks,
    Moorthy

  • Calling BPM Sub Process from another BPM Process - Stuck at Sub Process

    Hi
    JDeveloper 11.1.1.6, BPM 11.1.1.6, WLS 10.3.6
    I am trying to Call a BPM Process from another BPM Process. Both the processes are defined in the same BPM Project.
    Both the Processes have 'None' Start and End activities.
    The 'Parent Process' has a 'Call Activity' which calls the 'Sub Process'.
    The Sub process takes a parameter of payload object as input and returns output (also same payload object)
    I have passed the payload object from parent to sub process in the 'Data Associations'.
    The Start and End activities in the sub process also have the data associations set where I am passing the payload object from parent process to child process.
    When I run the process and see the Enterprise Manager console - Audit Trail / Flow tabs,
    Flow Tab - The progress of the process is showing only till the Calling of the sub process in the Parent Process. It does not show the Sub Process.
    Audit Trail Tab - Shows that the Sub Process is called but has not reached to the End of the Sub process.
    The audit trail does not have links to the sub process activities.
    I cannot see any exceptions as well in the audit trail.
    How can I find out why the process is stuck? Or what is going on in the process?
    Please let me know if my explanation is not clear?
    Thanks for any help
    Regards
    Sameer

    Thanks for replying.
    I have another Sub Process with Start and End events as Message Events and used Send Task and Receive Task (Implementation : Process Call) in the Main process to invoke the sub process asynchronously.
    Then, the Sub Process is shown in the 'Flow Trace' as child of the main process.
    In this particular one, I used 'Call Activity' to call the sub process.
    So the Audit trail is showing the sub process as a child.
    But what I was trying to say is that the audit trail did not have links to the entries in the 'Event' column (in Enterprice manager - instance window). (like Instance entered activity, Instance left activity etc).
    I was intending to use these links to see the payload information and try to debug if there is any problem with the code.
    The actual problem I was trying to say in the post is that, even after the user responds to the activity (User Task - Approval) in the Sub process,
    the audit trail is not proceeding further.
    In the Sub process definition, after the user task, there is End with none implementation.
    Hope it is clear now.
    Thanks and Regards
    Sameer

  • Start process from Portal

    Hi everyone!
    I need to implement process start as a link in portal. I've created and tested WSDL in NWDS. I also assigned start event for the process. So it works and starts fine from the WS navigator. Now I need to make it available in portal. I have no experience in Portal. So i found some guidelines regarding VC and WebDynpro. But I need an advise about that. I wanna know what is the best practice to implement that. I mean how is it usually done? Because the task seems pretty typical. NWDS and CE are 7.2 SP06 both.
    Thanks in advance,
    Peter

    Well, it depends on the requirement.
    If you just want to start a process and no shiny (tree control, file upload etc...) UI manipulation, you can use VC. Its very easy to develop. Also VC covers vast number of UI element, though not all provided by WD. But, if there is any complex business logic invovled , with heavy data manipulation, WD stands good.
    However, for most of the cases, UI provided by VC suffice all requirements. If the purpose is just to provide basic, simple UI for submitting info and starting BPM, VC fits best.
    -Abhijeet

  • BPM Start Process

    We have scenario(file to file) where we get multiple files and is merged using BPM, transformed and sent to the receiver. We have file This is a time based collection. Incoming file adapter is set to poll every 30 sec, and the block in BPM timeout in 2 mins ( for testing purpose).
    The BPM receive step (inside the loop) has the start process turned on. The expected behaviour was to receive all files in one instance of BPM and send the merged one out.
    It is spawning the multiple BPM instance based on number of files in the sender file adapter. My guess is it is doing this since we have the start process on receive step and for each receive it is starting a new process. How do we eliminate this to have only one instance start as I am not finding any other step prior to receive ( block , and loop) where I can start the process.
    Any help is appericiated.
    Thanks,
    Samir

    1. If you want to merge the same file format , Use "Loop" step before "Recevie" step. Put some deadline branch , which will ensure your time limit.
    This would resolve your problem.
    2. If you want to merge different file format , you need to have multiple "Receive" steps and for that you need to use the "Fork" step.
    Let me know if you still find any problem.
    Thanks & Regards,
    Dijesh Tanna.

  • How to invoke an other BPM asynchronous process from the BPM process

    Do anyone know how to invoke other asynchronous process from the BPM process without using the Web Service URL?

    Try using a Service task implemented as a Process Call. Then you select the process you want to call, set the associations or transformation and deploy it to test.
    I hope it works for you.
    isabelbernely

  • Start process from JSP which continues running after response is completed

    Is it possible to start a process from within JSP which can continue running after the HTTP response is complete, so the response doesn't time out??

    Your question is a little vague. If I am understanding your question correctly, it sounds like you are starting a process in JSP that takes a long time, and the browser is timing out. If this is your question, then here is my response:
    We've had this situation before. Often times it occurs because the JSP page launches a long database operation that could take an hour. You have a few choices, but one good approach is this (any variation of this works too):
    1. When the page loads and you need the process to start, create a new thread and have the long operation run from this thread. You can put the thread object into a session variable and store it for later use.
    2. Have the JSP code output a META-REFRESH tag on the page so that the page refreshes every 30 seconds or so.
    3. On each refresh, you get the thread object from the session context and check it to see if it is done or still running. If it is, then just output another META-REFRESH and the page will keep refreshing itself. If it is done, you can, of course, output a "finished" message to the user.
    You can also have a stop button on the page that you can use to send a message to the thread to stop.
    Hope that gives you some ideas!
    Michael

  • Where to find documentation on Oracle BPM 11g processes from Java

    As in the title I can't find documencation on hot to connect and use processes from Java application. I'm also interested in how to implement processes, in Java, that I can use than in modeling tools... what I wont to do is to implement some logic as Java classes and than use that logic in BPMN2.0 modeling and running.

    This is what you might need
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/bp_workflow.htm#BACHEFDH

  • Cant Start Process from WDJ

    Hi All,
          I have created a process & WDJ app. I objective is to start a process form WDJ App using WSDL. I can abe to start the process manually as well in WS navigator. But when i use WSDL in WDJ am getting error as
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for web service mass config parameters service reference ID '{http://www.example.org/<processname>/} and application name '<application name>'. Check mass configuration has been done properly.
    I have found one link but still no luck
    trigerring BPM from Web Dynpro screen not working
    Help me on this.
    Regards,
    Arun.

    Hi,
    Did you configured the service group in NWA?
    http://help.sap.com/saphelp_nw72/helpdata/en/88/a552908d4c44dc99b3ec247069921e/frameset.htm
    And also check if you have configured the Web Service also?
    http://help.sap.com/saphelp_nw72/helpdata/en/41/d365dc14ba458e9c29fa3ec987a7ca/content.htm
    Thanks
    Abhilash

  • Start process from global creation using a signal in Oracle SOA Suite 11g

    I want to start a process using a signal or an automatic activity from a link in the BPM workspace. The only way I have found to do that is using an initiator human task activity, but I just want to execute some script activities without a task flow.
    Any idea?

    Hi,
    Some considerations:
    - The path <DOMAIN_HOME>/lib is usually used to place shared libs to the Admin server (jdbc libs to allow connection factory configuration, for example)
    - The path <OSS_HOME>/soa/modules/oracle.soa.ext_11.1.1 is the right place to put shared libs that will be used by SOA composite applications (like javaAction implementations for Fault Handling Framework or libs called within Java Embedding). See the readme file inside this directory to know how it works.
    Also, changes in the startWeblogic script will affect the JVM of the Admin Server. To apply changes to managed servers, like the soa_server, make your changes in the startManagedServer script.
    Lastly, pay attention in the parameter you are passing to the JVM. The correct parameter is -Dlog4j.configuration=file:<PATH> and not -Dlog4j.configuration=<PATH> as you are using.
    With this in mind, I published a new post in my blog that explains what is necessary to do to call Log4j within a BPEL process: http://blog.andrade.inf.br/2010/09/generating-custom-logs-with-log4j.html
    I hope this may help you.
    Regards,
    Rafael Andrade

  • Start Process From Scanned Document In Watch Folder or Email

    Looking for a way for a office person to scan a document into a watch folder or email a scanned document to LCES2.
    Then from that scanned document a process is started and the user in workspace has a routing slip (pdf) and the scanned document in view.
    I can see how to start the process with a email or watch folder but how do I get the scanned document in as a attachment to the process routing slip?
    Somewhat new to LC and not seeing any demo's on this. Any help would be great.
    Thanks,
    John

    Hi Jasmin,
    I'm facing a problem with the watched folder files, they appear under the Attachment tab for the user, but with broken links, i.e. "The requested resource () is not available" error.
    what I did is simply create a new process with watched folder  start point, define a list-document variable as I/O and assign this variable to the user service?
    can you help
    Hussam

  • BPM import process from non-sap bpel tool

    Hi guys....
    I'm having quite a hard time with BPM processes...I'm trying to import one simple BPM process, receive->reply, from another BPEL tool, but I'm not being able to do it.
    I create a .zip with a bpel file and the correspondent WSDL's, import it, and nothing happens.... The interfaces are created, but nothing seems to happen...
    Do the interfaces which are used on the BPM process, need to be abstract like SAP abstract interfaces?

    Hi Goncalo,
    The Message Interface used inBPM have to be Abstract Interface.
    The Data goes from an Outbound interface to Abstract interface (in your BPM)
    The Message Interface sending the data to destnation is mapped from Message Interface (abstract) to Message Interface Inbound.
    Regards
    Vijaya

  • Start process from emailed pdf form

    I've set up a process with an email endpoint that has two steps:
    1. set value (which does nothing)
    2. User task which sends a pdf form to a user.
    the idea is that when a pdf form is mailed to the specified mail account the process starts and sends the pdf to the correct user which then is supposed to review the form and approve it or decline it.
    The process starts correctly on receiving the mail, and the pdf form is attached to the task but it doesn't contain the data that the user had entered before submission, it's empty.
    I've tried submitting the form in all possible formats xml,xdp,pdf, and I've tried changing the type of the process variable, from xfaForm to Document Form, to Document, but I either end up with an empty form, or I get an error when trying to open the form associated with the process task.
    does anyone has a simple example of how to accomplish this?
    I know I am probably making some stupid mistake but for the life of me I can't figure out where the problem is.
    thanks in advance for any help.
    Aldo.

    Thanks a lot for your reply! At them oment i'm having problems with the server on which livecycle is installed. As soon as i get iu back up and running i will mail you the process.
    Tahnks again.
    Aldo.

  • How to call BPM process from Java

    Hi All,
    Can anybody help how to call a BPMN process from java.Please give any sample exaple on this.
    Thanks,
    Ganesh

    For 11g BPM please look at this post. Re: Getting while running the BPEL process from java
    It references an ATeam example app that can start processes from a web client. But the Java APIs are described too.

  • Start BPM process from ABAP report. Need some investigations.

    Hi there!
    I have to start a BPM process from ABAP report. I found an article http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d75b45-7fef-2b10-bc8e-c6012e0a9457?QuickLink=index&overridelayout=true and have done everything it describes but the process doesn't start.
    What I've done:
    1) Created a service proxy in SE80.
    2) Created a logical port in SOAMANAGER.
    3) Write a code to start a WebService in ABAP Report.
    But when I start a program nothing happens, no errors.
    What analysis I did:
    1) See logs and traces in SOAMANAGER - there is nothing appears after I start the report.
    2) Tried to test connection to my WebService in SM59 - the connection works, but it use a POST method instead of GET:
      Error: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
    But I think it is OK and from the report it use a right method.
    3) Tried to delete a logical port - the error of communication problem appears. So it means that all settings are right.
    4) No logs in NWA logs
    My thoughts - if there is not any errors and no result, it can be because the user authorization. E.g. it tried to start a process by a user who doesn't have SAP_BPM_SuperAdmin role. But I can't find a way how to check what really happens. So I want to ask for a help, colleagues:).

    Dear Kirill Zhuklinets,
    Can you share your solution as i am facing the same error while trying to consume BPM webservice from SRM ECC
    Error Message from SRM ECC :
    Exception occurred in communication framework:Error in HTTP Framework:405Method Not Allowed
    Log from BPM Web service
    Error: process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
    Please share your solution..
    Regards,
    Yasin

Maybe you are looking for

  • Using multiple PersistenseFactories in the same application

    Hi, A silly question. If I have multiple PersistenseFactories (completely different ones with their own cPCs) in my application. E.g. several JDO components developed independently and brought together into a single app. They connect to different dat

  • Latest PS CC, generator bug when renaming layers

    OS: Win7 64bit Problem: I can't rename layers while photshop is generating assets. I have a big web layout PSD file with hundrets of layers, 74 of them are named so PS generates them as assets. When "Generate Assets" is checked, photoshop aborts ever

  • WEB SERVCIE TO INSERT ROW ina Table in DATABASE

    Hi ALL I want to create a web service to insert row in a table in database. As I am new to Web Service. Please help me to do it. Thanks in advance !

  • STREAMS ORA-26687: no instantiation SCN provided for...

    Hi guys, I set streams replication on two instance oracle 10.2.0.3 capture and propagation seems working fine but on the apply side I got error message ORA-26687: no instantiation SCN provided for "SCOTT"."EMP" in source database "DB5.REGRESS.RDBMS.D

  • Problem with capturing Primary Key Index

    Hi I am capturing certain tables and in the mean process i observed that all the indexes are getting captured except the primary key index. Any Suggestions on this? Thanx, Suji