How to call / execute BPM process out of portal (Universal Worklist)
Hi,
at the moment I try to get fimilar in working with bpm processes. In this regard, I try to execute a process outside the portal.
I always have to login at the portal, go to the Universal Worklist, refresh the list and execute the previously started process. But in future that would NOT be the prefered way for the user.
May anybody help me?
Thank you.
Hi Martin,
what do you mean exactly? Do you want to start the workflow without using the portal or do you want to start the different human activities outside the portal?
If you mean the first one, you can use a webservice to start the process (see Re: Starting a flow through a web service). As such you can start the process from pretty much everything with webaccess.
For the second one I dont have an answer... You can probably use a different application and check if there are any new tasks via webservice... but thats just a guess
cya,
Matthias
Similar Messages
-
How to trigger BPM Process from SRM Portal
Hello Experts,
I'am new to BPM and NWDS 7.3 but experienced with Abap and NWDS 7.0 Development...
Before posting, i have been through the forum and couldn't find exact answer to my case..
Basicly what i need to do is to trigger BPM Processes on the BPM Server from SRM Portal Server, I'm aware that i can communicate between these servers with WSDL basicly but how am i going to call the BPM Process' Web Service from Standart SRM Processes?
These processes will be standart ones mostly and also i am new to SRM.
Kindest Regards,SAP SRM 7.0 user interface is developed in WebDynpro and runs on NetWeaver Portal (Portal was optional component in earlier versions of SRM but it is mandatory component now). So in order to call BPM Webservice (i.e., to trigger a BPM Process) from NetWeaver Portal / SRM 7.0 you can do the following
- Develop a custom application (using EJBs,etc) to call the BPM web service by creating a web service proxy client using NWDS and then deploying it on Portal Server.
- Directly create a model in WebDynpro project by using the WSDL of BPM trigger webservice (using NWDS). You can then call the model in WD User Interface, which in turn will invoke the BPM web service and start the process.
Hope this helps. -
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,
Christianthe 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 -
How to Call Custom BPEL Process using JSP
Hi All,
I m not able to find out the way " How to deploy Custom BPEL process using JSP." Suppose I m Designing my custom BPEL process , and I want to call process through JSP.
In order to call the BPEL process using JSP I may get the Reference from Oracle guide, But it is for Existing Example like Hello world, Order Booking.
But I am facing the problem in order to call the Custom BPEL process.
In case of Oracle Example it looks Simple but How to call Custom BPEL process using JSP.
Please help me.
Thanks&Regards
Devesh Mishrahi
The BPEL Developer guide give the way to Locate the service.can you please specify where you are getting the problem.
Thanks,
Sivakumar -
How to call a bpel process in another
can anyone tell me how to call a bpel process in another bpel process?
thanks in advance.Hi-
this might help
Re: Call a BPEL process from another BPEL process
Let us know if you need any more info.. -
Hi Guys,
I want to know how to kill a BPM process.
any help would be appreciated
Thanks,
SriniSrini,
Refer this -Re: How to stop infinite loop?
raj. -
Like NetBeans how to debug a BPM process in Jdeveloper with breakpoint,step by step?
As per Shay's inputs, can you post the question in BPM forums?
Business Process Management Suite
Thanks,
Navaneeth -
How to debug a BPM process In Jdeveloper10g or Jdeveloper11g
Like NetBeans how to debug a BPM process in Jdeveloper with breakpoint,step by step?
As per Shay's inputs, can you post the question in BPM forums?
Business Process Management Suite
Thanks,
Navaneeth -
How do we test bpm process?
HI all,
How do we test bpm process?and plz lemme know more abt this
regards
kishHi Kish,
To have more concise understanding on BPM test check these files:
Monitoring of Integration Processes:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ab3f538e-0d01-0010-07b7-802c90b67eec
How To Monitor Integration Proce(ccBPM):
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
Checklist: Making Correct Use of an Integration Process:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
Business Process Monitoring Set-up and User Guideline:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5433e4da-0b01-0010-b9a5-d61838eaebbc
Hope this resolves all ur concerns.
Regards,
Subhasha Ranjan -
How to call the windows popup on SRM portal
Hi ,
how to call the windows popup on SRM portal.
For example when I hit "Check" on the shoppoing cart screen I get a popup saying that "Shopping cart Test has no errors and can be orderd".
I am looking to thorw a popup which has got "yes" and "no" options ( like function module POPUP_TO_CONFIRM in GUI ) and based on the users choice the logic follows through.
Thanks,
krishna.Is this thread still valid? If not, please close the thread.
If so, as no response has been submitted, please rephrase your question and/or provide further information to describe your requirement.
Thanks
Jason
SDN SRM Moderator Team -
Hi,
I have a scenario in which the BPM process went thru an endless loop. There was a logical flaw but the point is that there was no way to kill this process which was running through BPM . We tried RWB, BPM Engine Mointoring but with no success.
In MONI all we see is a clock symbol next to PE icon.
It would be really helpful if someone can tell me how to kill a process running in BPM engine.
Both MONI and RWB tell me the message is Successful therefore cannot be stopped but internally the message is going through BPM workflow and never comes out.
Thanks
AshishHi Ashish,
Logon to the ABAP stack of XI.
Execute the transaction "SWWL" to delete the workflow items.
Regards,
Sridhar -
How to Terminate the BPM Process instance
Hi,
If I have an instance of bpm process which fault at the database service task, I want to manually terminate or suspend it. I tried to do it in the workspace as an bpm administrator, however, since the instance pass the human task already, so that i can't suspend the instance. On the enterprise manager console, I don't see any way to terminate one instance. Please advise and it is so important and urgent for me, since our bpm project already on prodction, we have to fix it as soon as possible. Thanks in advanceI'm thinking you're asking what you can do with an instance that has an uncaught exception and not how to have modeled it so they can be properly handled. If you're not catching the exception, in any of the 7 techniques listed below - you're kind of stuck.
If you have a service task and you'd like to handle the exception (manually or other), you have the choices listed below. If you are using none of these, then you're allowing the BPMN engine to handle the exception and about all you can do is to delete the instance in Enterprise Manager.
1) You could add a catch error event to the boundary of the Service task and have that event designated to handle the exception thrown. From the boundary event, you might have a sequence flow to an Interactive activity that lets you hande the exception. Once handled, the instance can continue on with the process.
2) You could add an event subprocess in the same process as the Service activity that has a start error event and have that event designated to handle the exception thrown. From the event subprocess, you might have a sequence flow to an Interactive activity that lets you hande the exception. The difference between this scenario and the first is that the instance in the process has to terminate in the end event in the event subprocess.
3) If your process is invoked as an embedded subprocess, you could add a boundary event (1 above) or catch it in an event subprocess (2 above).
4) If your process is a reusable process invoked from a parent process using a Call activity, if the exception isn't caught inside the called subprocess you could add a boundary event to the Call activity in the parent process. This is similiar to 1 above and you'd need a sequence flow comingin out of the boundary catch error event on the Call activity to go somewhere in the process to handle the exception.
5) If your process is a reusable process invoked from a parent process using a Call activity, if the exception isn't caught inside the called subprocess and it is not caught by a boundary error event on the parent's call activity then you could add an event subprocess in the parent process that has a start error event and have that event designated to handle the exception thrown inside the child process.
6) There is a way to handle exceptions thrown inside a peer process but I'm guessing that might be too much for this post.
7) You can handle exceptions using a Policy outside of the processes. Rather than using the above to handle exceptions, you could use policy based exception handling where you give the policy the different types of faults you want to catch and if you want to retry, let it be handled by someone in Enterprise Manager and if you just want to abort the instance.
If the exception is not caught, then you're in the scenario you're in now and the BPMN engine is where it is unfortunately caught. Although you can see it, it is a non-recoverable exception and about all you can do is delete the instance in Enterprise Manager.
Hope this helps,
Dan -
Question: How to call a BPEL process from a PL/SQL procedure
Hi All,
Greetings to all BPEL people. I have a question on how can we call a BPEL process from a PLSQL procedure. It might be a stupid question but i wanted to know whether this fetaure is available in BPEL as our scenario requires us to explore if this functionality is available in BPEL.
Please let me know and also if possible please send me the links for the tutorials if it is available.
Thanks In Advance,
DibyaYes u can do it. there are two ways.
1) First one is using utl_http package of PL/SQL
In this case u can create SOAP request message & send it as Http request to your deployed BPEL process.
This package provides some methods like
set_header,write_text,get_response,read_text etc..
Following is part of code which may be helpful to you.
create or replace package body test_book_order_sub_pkg
is
FUNCTION test_book_order_sub(p_subscription_guid IN RAW,
p_event IN OUT WF_EVENT_T
Return VARCHAR2 IS
soap_request varchar2(30000);
soap_respond varchar2(30000);
http_req utl_http.req;
http_resp utl_http.resp;
launch_url varchar2(240) ;
begin
DBMS_OUTPUT.Put_Line('Subscription : Order has been booked');
soap_request:='<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body xmlns:ns1="http://xmlns.oracle.com/BES_BookOrder">
<ns1:BES_BookOrderProcessRequest>
<ns1:input>725</ns1:input>
</ns1:BES_BookOrderProcessRequest>
</soap:Body>
</soap:Envelope>';
http_req:= utl_http.begin_request
('http://172.28.5.191:8888/orabpel/default/BES_BookOrder/1.0',
'POST',
'HTTP/1.1'
utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
utl_http.set_header(http_req, 'SOAPAction', 'initiate');
utl_http.write_text(http_req, soap_request) ;
http_resp:= utl_http.get_response(http_req) ;
utl_http.read_text(http_resp, soap_respond) ;
utl_http.end_response(http_resp) ;
DBMS_OUTPUT.Put_Line(soap_respond);
return('SUCCESS');
end test_book_order_sub;
end test_book_order_sub_pkg;
2) Second way is make your BPEL process listening to some database Queue(use AQ Adapter). & then put some message in tht queue from ur Pl/SQL code . This will also initiate BPEL instance. Check out AQAdapter tutorials.
/mishit -
Calling Oracle BPM Process Web Service from Oracle Service Bus
Hi
I am using Oracle Service Bus 10gR3.
I have developed simple BPM process through Oracle BPM studio 10.3.1.0.I then followed steps below
1. Create a Process.
2. Expose the Process as a Web Service.
3. Run the project. This starts the Process Execution Engine.
4. Create an ALSB External Resource of type Management Host.
5. Create a second ALSB External Resource for registration.
6. Register the End Point
Until this point everything is fine. Then I created one project through Oracle Service Bus console. Under that created WSDL, Proxy Service and Business Service Folders. I am using the web service created through BPM studio as teh Business Service in SB . I then created one proxy service to route the request to the Business Service.
Finally when I try to test the Proxy Service by launching test console, I get the
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-380001</con:errorCode>
<con:reason>INTERNAL SERVER ERROR</con:reason>
<con:location>
<con:node>RouteNode1</con:node>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>
I also tried to debug through "Oracle Workshop for WebLogic Version 10.3 " . But I am not getting enough details as to why this is failing.
Please help me . Thanks In advance.
Thanks
Nilay
Edited by: user8950019 on Feb 1, 2010 4:11 AMHi,
When im calling wsdl created when BPM exposed as webservice in SOAP-ui, i first hit the startSession
Request is:-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
<soapenv:Header/>
<soapenv:Body>
<exp:startSession>
<password>Employee</password>
<user>Employee</user>
</exp:startSession>
</soapenv:Body>
</soapenv:Envelope>
Response i Get is:-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:startSessionResponse xmlns:ns1="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
<return>3782hecq1s85h</return>
</ns1:startSessionResponse>
</soapenv:Body>
</soapenv:Envelope
but when i put this sessionId in main request:-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
<soapenv:Header/>
<soapenv:Body>
<exp:expenseReport>
<sessionId>3782hecq1s85h</sessionId>
<reportArg>
<!--Optional:-->
<comments>yes</comments>
<!--Optional:-->
<costCenter>jaa</costCenter>
<!--Optional:-->
<description>aa</description>
<!--Optional:-->
<isApproved>y</isApproved>
<!--Zero or more repetitions:-->
<items>
<!--Optional:-->
<elements>
<!--Optional:-->
<amount>700</amount>
<!--Optional:-->
<date>?</date>
<!--Optional:-->
<description>?</description>
<!--Optional:-->
<receiptChecked>?</receiptChecked>
</elements>
</items>
<!--Optional:-->
<reviewedBy>?</reviewedBy>
<!--Optional:-->
<submitDate>?</submitDate>
<!--Optional:-->
<submittedBy>?</submittedBy>
<!--Optional:-->
<total>?</total>
</reportArg>
</exp:expenseReport>
</soapenv:Body>
</soapenv:Envelope>
Response coming is :-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.</faultstring>
<detail>
<ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.
at fuego.lang.Invokeable.invokeImpl(Invokeable.java:244)
at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
at fuego.lang.Invokeable.invoke(Invokeable.java:160)
at fuego.soaptype.SoapListener.invokeDynamic(SoapListener.java:104)
at fuego.lang.Invokeable.invoke(Invokeable.java:160)
at fuego.fengine.FEngineWebServiceExecutor$2.execute(FEngineWebServiceExecutor.java:133)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.fengine.FEngineWebServiceExecutor$1.run(FEngineWebServiceExecutor.java:65)
at fuego.component.Message.process(Message.java:576)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
at fuego.fengine.FEngineWebServiceExecutor$WebServiceExecutorPrincipal.processBatch(FEngineWebServiceExecutor.java:168)
at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
Caused by: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "jaa"
at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
... 21 more
Caused by: java.lang.NumberFormatException: For input string: "jaa"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.valueOf(Unknown Source)
at fuego.util.Conversion.tojava_lang_Integer(Conversion.java:934)
at fuego.xobject.runtime.ConversionUtilities.fromString(ConversionUtilities.java:56)
at fuegoblock.xml.XmlElementDeserializer.deserializeElement(XmlElementDeserializer.java:175)
at fuegoblock.xml.XmlElementDeserializer.deserialize(XmlElementDeserializer.java:81)
at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:160)
at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:119)
at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:17)
... 28 more</ns1:stackTrace>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">D-113014550</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
can anyone explain why this error is coming.?
Edited by: user8937128 on May 19, 2010 6:58 AM -
How to reuse a BPM Process in other DC
Hi
I have all generic reusable BPM Processes defined in a separate Process Composer DC. Now I am building specific BPM processes in sepearate DCs and want to use generic processes from other DC. How to do that?
Thanks
RaagsHi Raags,
What you need to do is set up a dependency from your specific process to your generic process.
You do this in the Development Infrastructure Perspective of the NWDS.
Open your generic process DC and create a Public Part. You can call it whatever you want - e.g. "api".
Then open your specific process DC and create a dependency from the specific process DC to the generic process DC and its public part.
Don't forget to check the Design Time/Deploy Time/ Runtime checkboxes in the Dependency details against the generic process DC and its public part.
If your DCs are in different software components you'll need a dependency at the software component level as well.
If your dependencies are set up correctly you should then be able to select the generic process from your specific process, e.g. when creating a referenced sub process task.
This works for all sorts of elements... e.g. it can be a handy way to share service groups or WDJ apps as UIs.
Regards,
Jocelyn
Maybe you are looking for
-
How build where clause in select statement in FM for Virtual provider
Hi I looking for example of FM for Virtual provider where I find code how assign to select statement "where" clause value from query variable. In following code how build t_r_custtype range and how assign value to it. CODE****************************
-
Will there be an iPod Touch 5G?
I want an ipod touch 4g as soon as possible but im afraid once i get it the ipod touch 5g will be out and i just felt like i wasted my money. So i'm wondering if when the ipod touch 5g will be out if it will be in sep 2011 or 2012
-
Failed messages need forwarded
The new phone messaging system was sending a users messages to [email protected] and it should have been going to [email protected] . There are about 12 messages that have failed to be delivered because there is no user account Bob. I can find the
-
I cannt download lion an error happend during installation..file corrupt
i cannt download lion an error happend during installation..file corrupt
-
Incorrect user and admin accounts showing when trying to apply patches
Hi folks, I have completed a (rather painful) install of the "main" component of BPC version 7 on my clients' server, with a domain user as the System Admin, and local accounts for the Admin and User accounts. This is a single-server install. Now, wh