Completing a BPM process activity externally via API
Does the new BPM 11g have a way to complete an activity from another application via API?
Thanks.
-muktech
Hi Muktech,
Currently there is no API for BPM 11g. There is an API for the human task but this will not be sufficient for completing a process activity.
Hope this helps.
Kind Regards,
Nils
Similar Messages
-
Dear Friends,
I have below few querys related to AR Receipts process via API.
1) Can we change the receipt status (APPROVED CONFIRMED REMITTED REVERSED/ CLEARED) through any API? Any one can explain how it is happening in real world?
2) Can we change the receipts accounting through any API. I want to mean here, the receipts GL accounts are defaulted from Receipt Method & MISC receipt activity (in case of MISC receipt). Can we change those defaulted accounts through any API?
3) In case of MISC receipt can we populate the “Paid By” field thought the MISC receipt creation API?
Thanks & Regards
VBHi Muktech,
Currently there is no API for BPM 11g. There is an API for the human task but this will not be sufficient for completing a process activity.
Hope this helps.
Kind Regards,
Nils -
BPM Process triggered externally
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,
SomnathHi Somnath,
u will get the fault message , when u test the services in ws navigator for trigerring the BPM Process. check this article for Starting the BPM process
[http://help.sap.com/saphelp_nwce711/helpdata/en/59/b2af840e67514f8e8973d97d494c9b/content.htm]
Hope it helps
Thanks and regards -
Hi All
I have some queries regarding BPM.Please respond.
Can we create / modify BPM processes using any Webservices / APIs available
Is it possible to edit template used for notification mails in BPM?
Do we have any way to transform BPM process design to standards like XPDL and BPMN. ?
Thanks
Monika
Edited by: Monika Jain on Jan 5, 2010 1:42 PM
Edited by: Monika Jain on Jan 5, 2010 1:45 PMHi Monika,
Regarding which version ob BPM is your question for notifications?
In NW BPM 7.11, you can not edit the text of the notifications, only the link to Task and UWL is configurable.
In NW BPM 7.2, there is a new type of Notification activity, where you have the freedom to edit the text of the notification, also to add dynamic variables from process context, but for the generic notifications(like "New Tasks") the functionality is the same as in NW BPM 7.11.
Please find a link to NW BPM 7.11 documentation for configuring Notifications.
http://help.sap.com/saphelp_nwce711/helpdata/en/e4/32ff7865fa483dba3686160f5c6dd0/frameset.htm
Best regards,
Radost -
Regarding BPM Object Retrieval in PAPI API
Hi,
I am using Oracle BPM10gR3 to develop BPM processes. I am having external connectivity of BPM processes with external Java application through PAPI API. I am having a BPM Object defined as "ApplicationObject" under Module which consists of instanceID and activityID. A instance variable is defined of this BPMObject type with Array i.e. insAppObject of type ApplicationObject[]. I have now loaded this instance variable with array length 5.
Now, I need to retrieve BPMObject[] in PAPI API which I am unable to perform. Usually, we do the following to load a BPM Object in PAPI API.
Class c = Class.forName("xobject.Module.BPMObject");
instanceinfo.getData("instanceVariableID");
To Retrieve BPMObject[], I have tried this but no luck.
Class c = Class.forName("[Lxobject.Module.BPMObject;");
Using this class, I am getting "Class Not Found Exception".
Can anyone suggest on the above.
Thanks in advance,
AbhishekHi Avishek,
There is workaround for this...you can save the instance as Object/DynaObj then go for toString() call that will give your biusiness object as XML msg in string format..from there you can extract a xml node value using x-path....i tried this once and worked for me....but i m not getting the code snipetnow ..else i would have pasted here....:(
Rgds,
Biltu -
Hi,
I am new to oracle BPM. I want to invoke the oracle bpm process from my Java API and want to use my screens (jsp) pages for taking user inputs. Is it possible with oracle bpm.
Please help!!!!!!!!!!!!!!!!
regards,
Anurag
Edited by: Anurag on Jul 6, 2009 9:24 PMRe: External task - prepare method - decode-encode
-
How to trigger the BPM process from WD Application
Hello All,
I have a simple business process with two ui activities. I am able to start the process from NWA -> Process Repository.
But, I need to start the process from the application. Here is the requirement:
User opens the application. ON completion, the BPM process for approval needs to be triggered. How do i access/obtain process?
If I need to call a particular task in process, How do i do that?
Kindly assist.
Thank you.
Regards,
Sharathif you want to know the whole story, please refer to the doc
http://help.sap.com/saphelp_nwce72/helpdata/en/44/4d2bb1c6b00597e10000000a155369/frameset.htm
the profile, provider system,endpoint。。。。。
search this doc in sdn, it is a good example regarding the configuration.
How to Use SOA Configuration to Call RFCs and Web Services from within SAP NetWeaver BPM
hope those may help. -
BPM process interactive activity(JSP) - external webservice method interac
I am using Oracle BPM studio 10.3.1.0.
I have one external web service published on glassfish application server, I have introspected it in my BPM process using its WSDL.
Now one of my BPM process interactive activity is there, which is represented by one JSP, I am giving some input to my JSP.
I want this input to be passed to the web service method as a parameter, and it should fetch the output, so basically I want to invoke the web service method, could you please guide me how to do it?
Thanks & Regards
AshishHy Ashih
I dont know if this is best way to do that, but I have a similar situation here, and I'm using AJAX do call the webservice method by BPM and retrieve data.
Something like this:
1 - Create the XMLHttpRequest() object in your jsp (if you need I have the entire code)
2 - Create the a JavaScript method for to call the OBPM method in your component
function mymethod(arg1, arg2, arg3)
xmlhttp.onreadystatechange=function()
if( xmlhttp.readyState==4 )
document.getElementById("AnyDIV").innerHTML = xmlhttp.responseText;
var resp = "<f:invokeUrl var='YourComponenteName' methodName='YourMethodName'/>";
//Incude how many args your need here
resp+="&arg1=" + arg1;
resp+="&arg2=" + arg2;
resp+="&arg3=" + arg3;
xmlhttp.open("POST",resp,true);
xmlhttp.send(null);
3 - You'll need a div html tag called "AnyDIV" to receive the BPM answer
4 - On you BPM component, in YourMethodName method (needs to be ServerSide = no), create two args, the first is httpRequest type (name request), and the second is httpResponse type (name response) (fuego lib)
5 - Type the code below in your BPM method to send info back to the JSP
//getting the args
String arg1 = request.getParameter(string : "arg1");
String arg2 = request.getParameter(string : "arg2");
String arg3 = request.getParameter(string : "arg3");
//Do the webservice call here, prepare the html answer and put it into an string variable
strReturn = "bla bla bla";
//Send the anwser back to the jsp
response.bodyTextContent(arg1 : strReturn);
Or you can do this using xml answer and deal with the tags with javascript
that's it -
Automated activity not executing in BPM process
Hi All,
We have created a BPM process in NWCE72, and it was executing fine.
When we added an automated activitiy and assigned a Web Service created from a rule and run the process, it is possible to run the process till the automated activity only. The automated activity is throwing error a snapshot of the same pasted belw
If anyone has encountered simllar problem kindly let us know how to overcome.
Lookforward for help in overcoming this problem
Down below it is saying that "You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed. "
=====================================================================================================
An error occurred while executing transition AUTOMATED_ACTIVITY_Determine_Criticality(Token_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{64810061-7973-11df-872e-02004c4f4f50}(Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{4be7da15-7973-11df-b824-02004c4f4f50}(?),1,null,operator,ff12474b71b3fa29a516e53e125eaa18), Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{4be7da15-7973-11df-b824-02004c4f4f50}(null,null,null,false), Context_0_DO_IssueTrackingProcess_2baa0100a79b04782f33bbea2160cdf3{4be7da30-7973-11df-c7a0-02004c4f4f50}(Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{4be7da15-7973-11df-b824-02004c4f4f50}(?),Scope_14_Equipment_Issue_Reporting_2baa0100a79b04782f33bbea2160cdf3{4be7da2f-7973-11df-cc05-02004c4f4f50}(?),1,true,false,null)): com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_Equipment_Issue_Reporting:AUTOMATED_ACTIVITY_Determine_Criticality(
com.sap.glx.adapter.BPMNAdapter:Token_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3 token,
com.sap.glx.adapter.BPMNAdapter:Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3 parent,
com.sap.glx.adapter.internal.ContainerAdapter:Context_0_DO_IssueTrackingProcess_2baa0100a79b04782f33bbea2160cdf3 context_1){
exit=new com.sap.glx.adapter.BPMNAdapter:Exit();
exit:onActivation("E01DFA6EF00BAFC0797011DFB05502004C4F4F50", parent, token);
delete exit;
controller=new com.sap.glx.adapter.internal.ExceptionAdapter:ExceptionController();
controller:setContext(token);
delete controller;
callscope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_7_Equipment_Issue_Reporting_2baa0100a79b04782f33bbea2160cdf3(parent);
call=new com.sap.glx.adapter.UnifiedConnectivityAdapter:Call_0_Determine_Criticality_2baa0100a79b04782f33bbea2160cdf3(callscope);
ppUsername=token:ppUsername;
ppHash=token:ppHash;
call:setPrincipal(ppHash, ppUsername, token);
request=callscope:instantiate("http://www.sap.com", "#RulesTypes-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet");
mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
data=context_1:getData();
yves_in:setData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", data, "C000F957BEB5AA9E0E98E96A67EE2D06");
yves_out:setData("http://www.sap.com", "$http://www.sap.com:Request-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", request, "8F3954721A11A18DF1A2321F9544700D");
mapper:map("E01DFA6EF00DF9B0797011DFC8A002004C4F4F50_2baa0100a79b04782f33bbea2160cdf3", yves_in, yves_out);
request=yves_out:getData("http://www.sap.com", "$http://www.sap.com:Request-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", "8F3954721A11A18DF1A2321F9544700D");
delete yves_in;
delete yves_out;
delete mapper;
call:setInputData("http://www.sap.com", "$http://www.sap.com:Request-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", request);
response=callscope:instantiate("http://www.sap.com", "#RulesTypes-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet");
call:setOutputData("http://www.sap.com", "$http://www.sap.com:Response-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", response);
call:invoke();
response=call:getOutputData("http://www.sap.com", "$http://www.sap.com:Response-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet");
mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
yves_in:setData("http://www.sap.com", "$http://www.sap.com:Response-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", response, "8F3954721A11A18DF1A2321F9544700D");
data=context_1:getData();
yves_in:setData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", data, "C000F957BEB5AA9E0E98E96A67EE2D06");
bind context_1;
data=context_1:getData();
scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "C000F957BEB5AA9E0E98E96A67EE2D06");
copy=scope:copy(data);
delete scope;
yves_out:setData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", copy, "C000F957BEB5AA9E0E98E96A67EE2D06");
mapper:map("E01DFA6EF0106AB0797011DFBC6D02004C4F4F50_2baa0100a79b04782f33bbea2160cdf3", yves_in, yves_out);
data=yves_out:getData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", "C000F957BEB5AA9E0E98E96A67EE2D06");
context_1:setData(data);
delete yves_in;
delete yves_out;
delete mapper;
delete call;
delete callscope;
token:state=0;
at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:68)
at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:138)
at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:126)
at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:121)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:337)
at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:118)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:169)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:277)
Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script command "call:invoke()"
at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:796)
at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:63)
... 11 more
Caused by: java.lang.RuntimeException: com.sap.glx.adapter.api.AdapterException: com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name b51513b6-379d-4c0b-be2a-a3b13d7fe23b, component name demo.sap.comreportissueprocessdcBPMcomponent, application name demo.sap.com/reportissueprocessdc.
at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject$PropagatedCall.run(UnifiedWebServiceCallObject.java:127)
at com.sap.glx.core.login.LoginPersisterProxy$1.run(LoginPersisterProxy.java:76)
at com.sap.glx.core.resource.impl.j2ee.J2EELoginPersisterImpl$1.run(J2EELoginPersisterImpl.java:80)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.sap.glx.core.resource.impl.j2ee.J2EELoginPersisterImpl.invokeAsPropagated(J2EELoginPersisterImpl.java:74)
at com.sap.glx.core.login.LoginPersisterProxy.invokeAsPropagated(LoginPersisterProxy.java:72)
at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject.invokeWebServiceOperation(UnifiedWebServiceCallObject.java:93)
at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallClass.invoke(UnifiedWebServiceCallClass.java:174)
at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:528)
at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:245)
at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:791)
... 12 more
Caused by: com.sap.glx.adapter.api.AdapterException: com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name b51513b6-379d-4c0b-be2a-a3b13d7fe23b, component name demo.sap.comreportissueprocessdcBPMcomponent, application name demo.sap.com/reportissueprocessdc.
at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:151)
at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject$PropagatedCall.run(UnifiedWebServiceCallObject.java:125)
... 23 more
Caused by: com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name b51513b6-379d-4c0b-be2a-a3b13d7fe23b, component name demo.sap.comreportissueprocessdcBPMcomponent, application name demo.sap.com/reportissueprocessdc.
at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:362)
at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:116)
... 24 more
Caused by: com.sap.engine.interfaces.sca.config.exception.ESBConfigurationException: Configuration not found for application: demo.sap.com/reportissueprocessdc,composite:reportissueprocessdc,component:demo.sap.comreportissueprocessdcBPMcomponent,reference:b51513b6-379d-4c0b-be2a-a3b13d7fe23b,bindingType:WS
at com.sap.esi.esp.service.server.ESPServiceInterfaceImpl.getConfiguration(ESPServiceInterfaceImpl.java:450)
at com.sap.engine.services.sca.plugins.ws.WebServiceImplementationInstance.initWsdas(WebServiceImplementationInstance.java:193)
at com.sap.engine.services.sca.plugins.ws.WebServiceImplementationInstance.accept(WebServiceImplementationInstance.java:76)
at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:335)
... 25 more
Caused by: com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/reportissueprocessdc,composite:reportissueprocessdc,component:demo.sap.comreportissueprocessdcBPMcomponent,reference:b51513b6-379d-4c0b-be2a-a3b13d7fe23b,bindingType:WS
at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:276)
at com.sap.esi.esp.service.server.ESPServiceInterfaceImpl.getConfiguration(ESPServiceInterfaceImpl.java:443)
... 28 more
Caused by: com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/reportissueprocessdc,serviceRefId:reportissueprocessdc_demo.sap.comreportissueprocessdcBPMcomponent_b51513b6-379d-4c0b-be2a-a3b13d7fe23b_WS. Please check the configuration details from the NWA. You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed.
at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:334)
at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:263)
... 29 more
Date: 2010-06-16
Time: 19:17:16:800
Category: com.sap.glx.core.kernel.execution.LeaderWorkerPool
Location: com.sap.glx.core.kernel.execution.LeaderWorkerPool
Application: sap.com/com.sap.glx.process.ear
Thread: Galaxy 340 / Follower Worker
Data Source: j2ee\cluster\server0\log\defaultTrace_00.trc
Arguments:
DSR Transaction: c6a0ff48796211dfca1602004c4f4f50
Message ID: com.sap.BPM.core_svc.000047
Session: 0
Transaction:
User: SAP_BPM_Service
Time Zone: +0100
Customer Message Component: BC-BMT-BPM-SRV
DC Name: com.sap.glx.core.svc
Correlation ID: 5164050000004002
DSR Root Context ID: C6A0FF48796211DFCA1602004C4F4F50
DSR Connection: c6a0ff48796211dfca1602004c4f4f50
DSR Counter: 0
Host: dcwwwx11871
System: CE2
Instance: J00
Node: server0
Log ID: 02004C4F4F50039E000000010000162CHi,
Your Error Says
You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed. at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration
Procedure to Create Provide System
https://cw.sdn.sap.com/cw/docs/DOC-101203 (From the service where you are consuming)
Procedure to Create and Assign ServiceGroup
While importing the Enterprise Service into Automated Activity it will ask the name of Service Group.Please check what is the Service Group Name and Assign the Service Group to the Provider System by following the Below Procedure.
https://cw.sdn.sap.com/cw/docs/DOC-109461
Thanks
Srikanth -
Initiating BPM Process Instances from External Web Service Call
I'm attempting to update the HelloWorld example so that I can create an instance of the process from an External Web Services Call rather than via the Workspace. Our current SOA Architecture is configured so that all BPM instances are managed through a .NET SmartClient via the Service Bus and the use of PAPI W/S and so I'm wishing to recreate this capability in the new BPM.
I understand the replacement for PAPI W/S is Human Workflow so I've therefore updated and republished the HelloWorld Example with an Exposed 'TaskService' Service for the Human Task within the BPM Process.
I've then attempted to reference the TaskService through our existing BPM, and have been able to import a number of generic WSDL's as follows:
Task Service
http://vmaquatestapp2:7001/integration/services/TaskService/TaskServicePort?WSDL
Task Metadata Service
http://vmaquatestapp2:7001/integration/services/TaskMetadataService/TaskMetadataServicePort?WSDL
Task Query Service
http://vmaquatestapp2:7001/integration/services/TaskQueryService/TaskQueryService?WSDL
When I examine the available operations for these generic services, there are quite a lot, each of which have a fairly complex schema. I believe I should be using the TaskService: InitiateTask Operation to create an instance of my BPM Process but my questions are:
- Is the above the correct method of interacting with BPM Instances from an external system such as the Service Bus?
- Does anyone have any examples of a basic XML payload that would initiate a process instance?I created an process with a message start event and can call it from an external web service call. I can also pass input arguments and map those to process data objects. However I can not find how to return data as response to the external web service call as e.g. the process instance id.
Is it possible to this?
Gr,
Gert Jan Kersten -
Can we call an Standard API from the BPM process
Hi,
Can we call a Public API from within a BPM Process. Can you please suggest the procedure for achieving the same.
Also wanted to know the procedure to insert into Standard Interface tables and called Standard Interface program to Create objects like Employees, Employee assignments, etc.
Please send any documents / writeup to achieve the above.
Thanks & Regards,
MuraliYou will have to catalog the API (refer to the Studio help files for the details). Once you catalog the api you can use it in a method. The method can then be used in an activity in the process.
-
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
ArunHi 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 -
Why does a BPM Process fail at the Start Activity?
Hello All,
We're currently working on a Dev environement (WLS 10.3), where we're experiencing issues with BPM Processes that fail at the start node. The error observed is a "Null Pointer Exception" despite there definteily being parameters passed into the process.
I've observed the trace in the EM after invoking the process and notice that the process fails as soon as it enters the start activity.
One of the possible explanations could be an out of memory issue. Has anyone experienced this before?
BPM : SOA Suite 11g.
Thank you.If you have memory - issues, you should look at the Weblogic-logs.
-
Data objects supported in the BPM Process Composer by Activity ?
Hi,
In BPMN 2.0 normalization, data objects are artefacts which show the reader which data is required or produced in an activity.
How is the data objects supported in the BPM Process Composer?
Thanks,
Grégoire.Select the activity and then select the Data Associations button. You can associate existing data objects and create new ones.
Heidi. -
Substitute variables for external process activity in process flows
Has anyone used with success substitute variables such as ${Working.Rootpath} for external process activity?
I can't get it working. Variables aren't substituted and my scripts fail.
Sample value for parameter_list parameter for external process I use is:
|${Working.Rootpath}|
and in the script I get:
${Working.Rootpath}
which is of course not what I expected.In documentation is Working.Rootpath so there is a bug in documentation. It is ugly because it's hard to guess.
Thank's for your reply Michael. I checked all that you described. Previously I had Working location set to "Use default location". When I changed it to actual location substitute variables started to work properly.
If I correctly understand "Use default location" means: use location associated with process module. And for execution it works but for substitute variables doesn't. So I think it is a bug.
Next thing is variables in the script itself. From examples sent by Mark (script: cd ${Working.RootPath}...) they should be set in environment and accessible to shell. This doesn't work for me but it is not described in documentation and can be easily achieved by passing parameters. So that's not a problem.
One more question: Should I open tars and file bugs describing what we found?
Maybe you are looking for
-
Hi, Where to find Sales and Finance reports in SAP-R/3 and how to use that reports in BW. Thanks Asim Edited by: asim khan on Oct 11, 2009 9:44 AM
-
Custom Template for Third Party Balance Summary Report(Java type executable
Hi Al,l we have a requirment to have a layout with some of the fields from Third Party Balance Summary Report( Which is a Java type executable and Data definition has Data Template attached(.xml)). I tried in below way. Coppied the Third Party Balanc
-
Using AsyncEventHandlers as a RTJ buildin thread pool
Hi David 1. I would like to use AsyncEventHandler mechanism as a thread pool. Would there be a way in future version to access the AsyncEventHandler's RT Thread pool API ? 2. I am using the BoundAsyncEventHandler for long duration task (since the Bou
-
I post F-04 for incoming payment, for revenue account, I didn't create cost element, but in the screen, it asks for cost center. how to correct this? thanks
-
Dear All, After clicking "Copare and Adjust" button several other buttons show up. One of them is "Complete" button. My question is what this button does? What this button is for? Sincerely,