Question on BPM 11g Workflow Services

Hi,
There was no out of the box support feature which would enable the end users ( agents ) to fetch a work item one at a time from some queue . This allocation/fetch would be done on the basis of some algorithm ( SLA, Priority etc ) . We developed this custom feature through the APIs provided in BPM 10g - Process API ( aka PAPI ). Now we have to port this custom feature to Oracle BPM 11g and there is no equivalent support for PAPI available in BPM 11g . There is another API - workflow services , but we are not sure if it will support the same feature as we are struggling to get Oracle BPM 11g installed. Request you to kindly help us in identifying if the same functionality can be achieved in BPM 11g.
Regards,
CC

Hi Chandu,
Were you able to close the same? If yes, please help me also...

Similar Messages

  • BPM 11g ADF BC Web Service

    I've created, tested and successfully deployed an ADF BC Web Service to the SOA server using JDeveloper 11.1.1.7.  Using the BPM 11g Process Composer tool, how do I access the deployed ADF BC Web Service?  I would like to use the named view criteria of the ADF BC Web Service to populate a Process Composer web form.  The add new service function of the BPM Business Catalog is not accepting the JDeveloper generated WSDL file. 

    That's the end goal, but I haven't gotten that far.  I'm using the 11.1.1.7 versions of ADF JDeveloper and the BPM suite.  I'm attempting to consume an ADF BC web service from my BPM process using the Composer tool, but I first need to figure out how to publish/register the ADF BC web service with the BPM so that I can reference the ADF BC web service in the implementation of the BPM Service Task as a Service Call.  I thought I could register the ADF BC web service with the BPM using the BPM business catalog but when I attempt to add a new service and give it the WSDL generated from JDeveloper I get this error:
    BPM-71536: BCModelsService.wsdl has a dependency to BCModelsService.xsd that cannot be resolved.

  • Bpm 11g with ADF R2 UI  for Human Workflow UI

    Hi
    Would like to check if it is possible to develop the ui conponent of an bpm 11g flow in Adf R2, and integrate the developed ui using bpm workspace?

    Would like to check if it is possible to develop the ui conponent of an bpm 11g flow in Adf R2, and integrate the developed ui using bpm workspace?No. the documentation for ADF 11gr2 specifically says use it only if you aren't using any of the SOA/BPM /Webcenter components.
    Having said that, it may not be impossible, but you'd have a number of challenges -
    - Your BPM workspace application would need the ADF 11g R1 runtime so if your human task UI is in 11g r2, you might have to use a custom built worklist app in 11gr2 (just like you'd do in a non-ADF technology).
    - In your ADF 11gR2 UI, you'd need to use the human workflow API's (unless you develop your human task UI in 11g R1 first and then migrate it - which defeats the whole purpose of using R2..)...
    JV

  • Exposing a process as web service on Oracle BPM 11g

    Hi!
    Does somebody know how can I expose a process as a web service on Oracle BPM 11g? How does it works?
    In the version 10.3, when we exposed a process as web service it always had 3 default methods: startSession, getInstanceStatus and discardSession, is it the same in the 11g version?
    Where can I found some info about it? Any tutorial?
    Thanks a lot!
    Ana

    Typically you would use a Message Start event to start the process in conjunction with a Message End event. This will allow your process to be called as an asynchronous web service.
    In the "Implementation" section for the start event, you specify the input parameters. You can specify "Define Interface" to directly define the interface, or use an existing interface from the BPM Catalog (the From Catalog option).
    For further details on the different event types and their use cases, refer to the modeling and implementation guide:
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15176/toc.htm
    You can test the web service and examine the WSDL and endpoints by using FMW control (Enterprise Manager). In the menu on the left hand side: expand SOA -> SOA-Infra -> <Partition Name> -> Composite Name, then click the "Test" button at the top.

  • Invoking bpel process from java in oracle soa/bpm 11g

    Hi,
    We have some java code to invoke bpel process in oracle BPM 10g following the instructions in http://download-east.oracle.com/docs/cd/B14099_19/integrate.1012/b14448/invoke.htm.
    Basically the steps are:
    1) get a Locator (com.oracle.bpel.client.Locator)
    2) get IDeliveryService (com.oracle.bpel.client.delivery.IDeliveryService) reference from locator
    3) call IDeliveryService method request or post with input message and get the response back.
    Recently we want to migrated from oracle bpm 10g to oracle soa/bpm 11g. But I can not find the similar API in 11g. It seems now some adapter/binding need to be added in exposed service lane in soa composite view, for example, ADF-BC, direct binding etc, in order to allow java to invoke a bpel process. Here are two very useful links from Edwin about the detail how this is implemented.
    http://biemond.blogspot.com/2009/11/invoking-soa-suite-11g-service-from.html
    http://biemond.blogspot.com/2009/11/calling-soa-suite-direct-binding.html?showComment=1285198033913#comment-c1055322845511794252
    My question is:
    1) what are the choices and the official/best way to invoke a bpel process in oracle soa/bpm 11g from java?
    2) does user need to add an adapter/binding in exposed service lane in order to let the bpel service be called in java?
    3) what is the real difference between a bpm application and soa application in 11g?
    I will really appreciate any expert's opinion.
    Thanks,
    Bin

    Thanks for your reply and confirmation, really appreciate it.
    Yes, I found the difference of the invoking process API and was able to invoke bpel process using direct and ADF-BC binding by following Edwin's blog. But I have not found any official reference to compare this API difference between 10g and 11g ( I will mark this question as answered if anyone can find an official source from oracle, need to prove it to the team). The API to work with human task workflow seems pretty much the same between 10g and 11g.

  • Custom Escalation in Human Task in Oracle SOA BPM 11g

    This is a sample that demonstrates custom escalation in Human Task in Oracle SOA BPM 11g.
    package oracle.bpel.services.workflow.assignment.dynamic.patterns;
    import java.util.Map;
    import oracle.bpel.services.workflow.assignment.dynamic.DynamicAssignmentException;
    import oracle.bpel.services.workflow.assignment.dynamic.IDynamicTaskEscalationFunction;
    import oracle.bpel.services.workflow.task.impl.WorkflowUtil;
    import oracle.bpel.services.workflow.task.model.Task;
    import oracle.tip.pc.services.identity.LocalIdentityService;
    public class CustomEscalation implements IDynamicTaskEscalationFunction {
    public CustomEscalation() {
    super();
    public String getTaskEscalationUser(Task task) throws DynamicAssignmentException {
    String currentAssignee;
    try
    currentAssignee = WorkflowUtil.getCurrentAssignee(task);
    return getTaskEscalationUser(currentAssignee);
    } catch (Exception e) {
    throw new DynamicAssignmentException(e);
    public String getTaskEscalationUser(String user) throws DynamicAssignmentException {
    try
    if (user == null)
    return null;
    String manager = null;
              * Replace below code with your acutal logic.
    // if( user.equalsIgnoreCase("john")){
    // manager="jcooper" ;
    return manager;
    } catch (Exception e) {
    throw new DynamicAssignmentException(e);
    public void setInitParams(Map map) {
    public String getFunctionName() {
    return "CUSTOM_ESCALATION";
    public String getDescription() {
    return "Custom Escalation";
    Please refer below link to register above custom escalation class on SOA Server.
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/bp_hwfmodel.htm
    regards.

    Thanks for your reply and confirmation, really appreciate it.
    Yes, I found the difference of the invoking process API and was able to invoke bpel process using direct and ADF-BC binding by following Edwin's blog. But I have not found any official reference to compare this API difference between 10g and 11g ( I will mark this question as answered if anyone can find an official source from oracle, need to prove it to the team). The API to work with human task workflow seems pretty much the same between 10g and 11g.

  • BPM 11G : Business Catalog : Java JAR Files

    Folks,
    We have invested a lot of effort & time in developing Business Processes in ALBPM 6.5. One of the critical features in ALBPM 6.5 was the Business Catalog - if I had a set of Java Utility Classes bundled in a JAR Archive, I could " catalog " it & reference & reuse the classes via the PBL Code.
    We are now evaluating our Migration Approach to Oracle SOA 11G & we have a few questions :-
    1. Does Oracle BPM 11G also have the facility of directly " cataloging " Java JAR Archives ?
    2. If no, what is the best approach, in your viewpoint, to migrate business logic that is present in many such JAR archives.
    We are looking at abstracting the business logic in Web Services - however, the ideal path we are looking at is to retain our investment in the Business Catalog JAR Files.
    Please do let me know your thoughts & opinions.
    Thanks in advance,
    Sandeep Seshan

    There are 2 options you have:
    1. If you access the java code from within a BPEL process instead you can use the java embedding activity to call these classes directly.
    2. You expose your java classes through a spring context and use the spring component to expose the required classes as services within your composite which you can wire directly to your BPMN process.
    Thanks,
    Adam DesJardin

  • Primavera P6 8.2 - BPM 11g link

    I need help, got stuck following Connecting BPM 11g to P6 8.2 Guide.
    What kind of groups needs to be created on BPM side? What about users?
    I created one user on both sides with the same pwd. and installed Intitation Workflow, but I cant see it or start it through P6 (I have workflow portlet)
    In the P6Webaccess.log I get:
    <td title="com.primavera.pvweb.pm.workflows.ProjectWorkflowsDelegate category">com.primavera.pvweb.pm.workflows.ProjectWorkflowsDelegate</td>
    <td>?:?</td>
    <td title="Message">Failed loading BPM processes.</td>
    </tr>
    <tr><td bgcolor="#993300" style="color:White; font-size : xx-small;" colspan="6">com.primavera.bpm.common.BPMServiceException: Error while fetching process instances for database 1
    <br>         at com.primavera.bpm.BPMConnectorImpl.getProcessInstances(BPMConnectorImpl.java:699)
    <br>         at com.primavera.infr.srvcs.bpm.BPMNServiceImpl$3.command(Unknown Source)
    <br>         at com.primavera.infr.srvcs.bpm.BPMNServiceImpl$3.command(Unknown Source)
    <br>         at com.primavera.bpm.common.BPMCommandRunner$a.run(Unknown Source)
    <br>         at java.lang.Thread.run(Thread.java:619)
    <br>    Caused by: com.primavera.bpm.common.BPMServiceException: Could not load human tasks associated with worklow
    <br>         at com.primavera.bpm.BPMConnectorImpl.getHumanTaskAssociatedWithBPMInstances(BPMConnectorImpl.java:1236)
    <br>         at com.primavera.bpm.BPMConnectorImpl.getProcessInstances(BPMConnectorImpl.java:599)
    <br>         ... 4 more
    <br>    Caused by: ORABPEL-9708
    <br>    
    <br>    Error while querying workflow task WFTask .
    <br>    Error while querying workflow task WFTask.
    <br>    Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services. .
    <br>    
    <br>         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    <br>         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    <br>         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    <br>         at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_1035_WLStub.queryTasks(Unknown Source)
    <br>         at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.queryTasks(TaskQueryServiceRemoteClient.java:313)
    <br>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    <br>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    <br>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    <br>         at java.lang.reflect.Method.invoke(Method.java:597)
    <br>         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:133)
    <br>         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:72)
    <br>         at $Proxy100.queryTasks(Unknown Source)
    <br>         at com.primavera.bpm.BPMConnectorImpl.getHumanTaskAssociatedWithBPMInstances(BPMConnectorImpl.java:1232)
    <br>         ... 5 more
    <br>    Caused by: java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
    <br>    
    <br>         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
    <br>         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    <br>         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
    <br>         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
    <br>         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
    <br>         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    <br>         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
    <br>         at oracle.jdbc.driver.T4CCallableStatement.executeForDescribe(T4CCallableStatement.java:920)
    <br>         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
    <br>         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
    <br>         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
    <br>         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
    <br>         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
    <br>         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
    <br>         at oracle.bpel.services.workflow.repos.driver.WFTask.getWFTask(WFTask.java:2210)
    <br>         at oracle.bpel.services.workflow.repos.driver.PersistencyService.getWFTask(PersistencyService.java:932)
    <br>         at oracle.bpel.services.workflow.query.impl.TaskQueryService.queryTasks(TaskQueryService.java:797)
    <br>         at sun.reflect.GeneratedMethodAccessor1056.invoke(Unknown Source)
    <br>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    <br>         at java.lang.reflect.Method.invoke(Method.java:597)
    <br>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    <br>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    <br>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    <br>         at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:91)
    <br>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    <br>         at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
    <br>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    <br>         at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    <br>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    <br>         at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    <br>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    <br>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    <br>         at $Proxy239.queryTasks(Unknown Source)
    <br>         at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.queryTasks(TaskQueryServiceBean.java:120)
    <br>         at sun.reflect.GeneratedMethodAccessor1272.invoke(Unknown Source)
    <br>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    <br>         at java.lang.reflect.Method.invoke(Method.java:597)
    <br>         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    <br>         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    <br>         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    <br>         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    <br>         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    <br>         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    <br>         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    <br>         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    <br>         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    <br>         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    <br>         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    <br>         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    <br>         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    <br>         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    <br>         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    <br>         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    <br>         at $Proxy296.queryTasks(Unknown Source)
    <br>         at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.__WL_invoke(Unknown Source)
    <br>         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    <br>         at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.queryTasks(Unknown Source)
    <br>         at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_WLSkel.invoke(Unknown Source)
    <br>         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    <br>         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    <br>         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    <br>         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    <br>         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    <br>         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    <br>         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    <br>         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    <br>         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    </td></tr>
    Edited by: user10874200 on Dec 2, 2012 3:11 PM

    1. BPM is 11.1.1.5 is installed
    2. I don't see any application in the BPM Workspace
    3. I have errors in EM (there are two different ones), the first one is triggered when I log in to P6 (or refresh Workspace port let):
    Message Level     1
    Relationship ID     1:18562
    Component     soa_server1
    Module     oracle.soa.services.workflow.common
    Host     localhost.localdomain
    Host IP Address     127.0.0.1
    User     weblogic
    Thread ID     [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'
    ECID     11d1def534ea1be0:4dd5e613:13b5da4d610:-8000-00000000000002c8
    Message     <.> Error while querying workflow task WFTask .
    Supplemental Detail     Error while querying workflow task WFTask.
    Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services. .
    ORABPEL-9708
    Error while querying workflow task WFTask .
    Error while querying workflow task WFTask.
    Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services. .
    at oracle.bpel.services.workflow.repos.driver.WFTask.getWFTask(WFTask.java:2238)
    at oracle.bpel.services.workflow.repos.driver.PersistencyService.getWFTask(PersistencyService.java:932)
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.queryTasks(TaskQueryService.java:797)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:91)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy239.queryTasks(Unknown Source)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.queryTasks(TaskQueryServiceBean.java:120)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy296.queryTasks(Unknown Source)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.queryTasks(Unknown Source)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
    at oracle.jdbc.driver.T4CCallableStatement.executeForDescribe(T4CCallableStatement.java:920)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
    at oracle.bpel.services.workflow.repos.driver.WFTask.getWFTask(WFTask.java:2210)
    ... 54 more
    Message Level     1
    Relationship ID     0
    Component     soa_server1
    Module     oracle.bpm.common
    Host     localhost.localdomain
    Host IP Address     127.0.0.1
    User     <anonymous>
    Thread ID     weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@5e4c792e
    ECID     0000JhU1xg1Fw000jzwkno1Giy_R000002
    Message     unexpected element (uri:"http://www.omg.org/spec/BPMN/20100524/MODEL", local:"definitions"). Expected elements are <{http://xmlns.oracle.com/bpm/OracleExtensions}Annotations>,<{http://xmlns.oracle.com/bpm/OracleExtensions}AttributeExpression>,<{http://xmlns.oracle.com/bpm/OracleExtensions}BooleanFeature>,<{http://xmlns.oracle.com/bpm/OracleExtensions}BusinessAttributes>,<{http://xmlns.oracle.com/bpm/OracleExtensions}BusinessDataRange>,<{http://xmlns.oracle.com/bpm/OracleExtensions}BusinessIndicator>,<{http://xmlns.oracle.com/bpm/OracleExtensions}BusinessIndicators>,<{http://xmlns.oracle.com/bpm/OracleExtensions}BusinessRuleTaskData>,<{http://xmlns.oracle.com/bpm/OracleExtensions}Counter>,<{http://xmlns.oracle.com/bpm/OracleExtensions}DataAssignment>,<{http://xmlns.oracle.com/bpm/OracleExtensions}DataObjectType>,<{http://xmlns.oracle.com/bpm/OracleExtensions}Description>,<{http://xmlns.oracle.com/bpm/OracleExtensions}Documentation>,<{http://xmlns.oracle.com/bpm/OracleExtensions}Expression>,<{http://xmlns.oracle.com/bpm/OracleExtensions}ExternalTransformation>,<{http://xmlns.oracle.com/bpm/OracleExtensions}FeatureSet>,<{http://xmlns.oracle.com/bpm/OracleExtensions}GraphicsAttributes>,<{http://xmlns.oracle.com/bpm/OracleExtensions}HiddenAnnotations>,<{http://xmlns.oracle.com/bpm/OracleExtensions}HumanTask>,<{http://xmlns.oracle.com/bpm/OracleExtensions}IntegerFeature>,<{http://xmlns.oracle.com/bpm/OracleExtensions}Label>,<{http://xmlns.oracle.com/bpm/OracleExtensions}LaneAttributes>,<{http://xmlns.oracle.com/bpm/OracleExtensions}Localization>,<{http://xmlns.oracle.com/bpm/OracleExtensions}LocalizedContent>,<{http://xmlns.oracle.com/bpm/OracleExtensions}LocalizedItemsContainer>,<{http://xmlns.oracle.com/bpm/OracleExtensions}MeasurementMark>,<{http://xmlns.oracle.com/bpm/OracleExtensions}OracleExtensions>,<{http://xmlns.oracle.com/bpm/OracleExtensions}OtherRef>,<{http://xmlns.oracle.com/bpm/OracleExtensions}Participant>,<{http://xmlns.oracle.com/bpm/OracleExtensions}Position>,<{http://xmlns.oracle.com/bpm/OracleExtensions}Positions>,<{http://xmlns.oracle.com/bpm/OracleExtensions}SequenceFlowAttributes>,<{http://xmlns.oracle.com/bpm/OracleExtensions}ServiceProperties>,<{http://xmlns.oracle.com/bpm/OracleExtensions}ServicePropertiesContainer>,<{http://xmlns.oracle.com/bpm/OracleExtensions}ServiceProperty>,<{http://xmlns.oracle.com/bpm/OracleExtensions}Size>,<{http://xmlns.oracle.com/bpm/OracleExtensions}StringFeature>,<{http://xmlns.oracle.com/bpm/OracleExtensions}TypeRef>,<{http://xmlns.oracle.com/bpm/OracleExtensions}UseCaseDocumentation>,<{http://xmlns.oracle.com/bpm/OracleExtensions}UserAnnotations>,<{http://www.omg.org/bpmn20}activity>,<{http://www.omg.org/bpmn20}adHocSubProcess>,<{http://www.omg.org/bpmn20}artifact>,<{http://www.omg.org/bpmn20}assignment>,<{http://www.omg.org/bpmn20}association>,<{http://www.omg.org/bpmn20}auditing>,<{http://www.omg.org/bpmn20}baseElement>,<{http://www.omg.org/bpmn20}baseElementWithMixedContent>,<{http://www.omg.org/bpmn20}boundaryEvent>,<{http://www.omg.org/bpmn20}businessRuleTask>,<{http://www.omg.org/bpmn20}callActivity>,<{http://www.omg.org/bpmn20}callChoreographyActivity>,<{http://www.omg.org/bpmn20}callableElement>,<{http://www.omg.org/bpmn20}cancelEventDefinition>,<{http://www.omg.org/bpmn20}catchEvent>,<{http://www.omg.org/bpmn20}category>,<{http://www.omg.org/bpmn20}categoryValue>,<{http://www.omg.org/bpmn20}choreography>,<{http://www.omg.org/bpmn20}choreographyActivity>,<{http://www.omg.org/bpmn20}choreographySubProcess>,<{http://www.omg.org/bpmn20}choreographyTask>,<{http://www.omg.org/bpmn20}collaboration>,<{http://www.omg.org/bpmn20}compensateEventDefinition>,<{http://www.omg.org/bpmn20}complexBehaviorDefinition>,<{http://www.omg.org/bpmn20}complexGateway>,<{http://www.omg.org/bpmn20}conditionalEventDefinition>,<{http://www.omg.org/bpmn20}conversation>,<{http://www.omg.org/bpmn20}conversationLink>,<{http://www.omg.org/bpmn20}conversationView>,<{http://www.omg.org/bpmn20}correlationSet>,<{http://www.omg.org/bpmn20}dataAssociation>,<{http://www.omg.org/bpmn20}dataInput>,<{http://www.omg.org/bpmn20}dataInputAssociation>,<{http://www.omg.org/bpmn20}dataObject>,<{http://www.omg.org/bpmn20}dataOutput>,<{http://www.omg.org/bpmn20}dataOutputAssociation>,<{http://www.omg.org/bpmn20}dataState>,<{http://www.omg.org/bpmn20}definitions>,<{http://www.omg.org/bpmn20}documentation>,<{http://www.omg.org/bpmn20}endEvent>,<{http://www.omg.org/bpmn20}endPoint>,<{http://www.omg.org/bpmn20}error>,<{http://www.omg.org/bpmn20}errorEventDefinition>,<{http://www.omg.org/bpmn20}escalation>,<{http://www.omg.org/bpmn20}escalationEventDefinition>,<{http://www.omg.org/bpmn20}event>,<{http://www.omg.org/bpmn20}eventBasedGateway>,<{http://www.omg.org/bpmn20}eventDefinition>,<{http://www.omg.org/bpmn20}exclusiveGateway>,<{http://www.omg.org/bpmn20}expression>,<{http://www.omg.org/bpmn20}extension>,<{http://www.omg.org/bpmn20}flowElement>,<{http://www.omg.org/bpmn20}flowNode>,<{http://www.omg.org/bpmn20}formalExpression>,<{http://www.omg.org/bpmn20}gateway>,<{http://www.omg.org/bpmn20}globalBusinessRuleTask>,<{http://www.omg.org/bpmn20}globalChoreographyTask>,<{http://www.omg.org/bpmn20}globalManualTask>,<{http://www.omg.org/bpmn20}globalScriptTask>,<{http://www.omg.org/bpmn20}globalTask>,<{http://www.omg.org/bpmn20}globalUserTask>,<{http://www.omg.org/bpmn20}group>,<{http://www.omg.org/bpmn20}handler>,<{http://www.omg.org/bpmn20}humanPerformer>,<{http://www.omg.org/bpmn20}import>,<{http://www.omg.org/bpmn20}inclusiveGateway>,<{http://www.omg.org/bpmn20}inputSet>,<{http://www.omg.org/bpmn20}interface>,<{http://www.omg.org/bpmn20}intermediateCatchEvent>,<{http://www.omg.org/bpmn20}intermediateThrowEvent>,<{http://www.omg.org/bpmn20}ioSpecification>,<{http://www.omg.org/bpmn20}lane>,<{http://www.omg.org/bpmn20}laneSet>,<{http://www.omg.org/bpmn20}linkEventDefinition>,<{http://www.omg.org/bpmn20}loopCharacteristics>,<{http://www.omg.org/bpmn20}manualTask>,<{http://www.omg.org/bpmn20}message>,<{http://www.omg.org/bpmn20}messageEventDefinition>,<{http://www.omg.org/bpmn20}messageFlow>,<{http://www.omg.org/bpmn20}monitoring>,<{http://www.omg.org/bpmn20}multiInstanceLoopCharacteristics>,<{http://www.omg.org/bpmn20}operation>,<{http://www.omg.org/bpmn20}outputSet>,<{http://www.omg.org/bpmn20}parallelGateway>,<{http://www.omg.org/bpmn20}parameter>,<{http://www.omg.org/bpmn20}parameterBinding>,<{http://www.omg.org/bpmn20}participant>,<{http://www.omg.org/bpmn20}participantAssociation>,<{http://www.omg.org/bpmn20}participantMultiplicity>,<{http://www.omg.org/bpmn20}partnerEntity>,<{http://www.omg.org/bpmn20}partnerRole>,<{http://www.omg.org/bpmn20}peopleAssignment>,<{http://www.omg.org/bpmn20}peopleAssignmentExpression>,<{http://www.omg.org/bpmn20}peopleAssignmentLiteral>,<{http://www.omg.org/bpmn20}peopleAssignmentPeopleGroup>,<{http://www.omg.org/bpmn20}peopleGroup>,<{http://www.omg.org/bpmn20}performer>,<{http://www.omg.org/bpmn20}potentialOwner>,<{http://www.omg.org/bpmn20}process>,<{http://www.omg.org/bpmn20}processRole>,<{http://www.omg.org/bpmn20}property>,<{http://www.omg.org/bpmn20}receiveTask>,<{http://www.omg.org/bpmn20}relationship>,<{http://www.omg.org/bpmn20}rendering>,<{http://www.omg.org/bpmn20}rootElement>,<{http://www.omg.org/bpmn20}script>,<{http://www.omg.org/bpmn20}scriptTask>,<{http://www.omg.org/bpmn20}sendTask>,<{http://www.omg.org/bpmn20}sequenceFlow>,<{http://www.omg.org/bpmn20}serviceReference>,<{http://www.omg.org/bpmn20}serviceTask>,<{http://www.omg.org/bpmn20}signal>,<{http://www.omg.org/bpmn20}signalEventDefinition>,<{http://www.omg.org/bpmn20}standardLoopCharacteristics>,<{http://www.omg.org/bpmn20}startEvent>,<{http://www.omg.org/bpmn20}structureDefinition>,<{http://www.omg.org/bpmn20}subProcess>,<{http://www.omg.org/bpmn20}task>,<{http://www.omg.org/bpmn20}terminateEventDefinition>,<{http://www.omg.org/bpmn20}text>,<{http://www.omg.org/bpmn20}textAnnotation>,<{http://www.omg.org/bpmn20}throwEvent>,<{http://www.omg.org/bpmn20}timerEventDefinition>,<{http://www.omg.org/bpmn20}transaction>,<{http://www.omg.org/bpmn20}userTask>

  • BPM 11g Workspace Audit Trail not showing Sub process inner activities

    Hi all,
    I have been developing some BPM Process in JDev 11.1.1.5 and have deployed them in BPM Suite 11.1.1.5 over Windows Server 2003. I've found the following and would like to hear your opinion:
    1- The Process audit trail in BPM 11g Workspace shows the activities of the process but the Sub-Process call activity appears as just a single activity and you can not see the inner activities of the sub-process... making impossible to track the sub-process.
    2- In the EM Instance trail you can track the subprocess activities, but they appear wrong; diffrent names, diferente types (ex: interactive activity shown as service call)..etc..
    Are these known issues? is this the expected behaviour? Is it just some configuration I missed?
    Thanks for your time.

    For anyone with the same question, I got this from Oracle support about both questions:
    1- I checked with our Engineering team and regarding the expanding of the subprocess activity , it is planned to be released in 12g. So right now , it is a work in progress feature being addressed by our developers.
    2- Thanks a lot. I have reported a bug 12909848 to our Engineering team. You can track the status of the bug from the SR.

  • BPM 11g API

    Has anyone been able to find documentation on the BPM 11g API? I thought there was a Java-based API available so I can integrate a Java-based web app into my BPM project. Anyone found a link for it?
    Thanks,
    Mark

    Since the activies of process in BPM11g is implemented by Human Task component, we can control the task with Workflow Service API.
    http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e10660/toc.htm
    However, this is not a real BPM API. Some process scale function is not exposed.
    Hope oracle will release something like PAPI soon.

  • BPM 11g: JAVA API and Webservice API

    Who knows BPM 11g: JAVA API and Webservice API?
    Customer want to call BPM 11g between Heterogeneous systems, such .net framework. One way is use webservice API, I think, but where can find it? thank you

    When you create a BPM application in 11g, you're actually creating a SOA composite application with a BPMN component in the composite. From within the BPMN editor, you can specify the interface (parameters) of each start node in the process. If you select a start node, look at the implementation tab, you'll see a properties group that lets you define the interface one property at a time, or by selecting an interface from the catalog.
    By defining these properties you're also defining the shape of the Web Service interface that will automatically be created in the composite. If you switch to the composite view, you'll see your BPMN process with a wire to it from a Web Service that's generated from the interface defined in the BPMN editor. The naming convention is the BPMN process name with ".service" appended. When you deploy the BPMN process, the web service will also be deployed, since it's also part of the composite. From Enterprise Manager (EM) you can test the service and get the WSDL, which could be used by other applications (e.g. .NET) to start and interact with a process instance.
    This is one of the advantages of the 11g architecture. The composite exposes services to consumers/clients. The implementation could have been BPEL, BPMN, a Mediator, Java/EJBs, or any combination working together. To the consumer, it's just a web service.
    In case your next question was about security ... you won't see properties about security in the BPMN editor. You use Web Service Manager to apply security or other constraints to the web service endpoint.

  • Rules of thumb for sizing an Oracle BPM 11g deployment

    Anyone out there have some rules of thumb they are using to size out an environment for Oracle BPM 11g? I know processing power can vary widely for process complexity and amount of data floating around. Still, I get asked questions like how much processing power do I need for this solution? I have a current client looking at 2500+ potential human workflow users with 1000 concurrent at peak load. Short of running some performance test myself and extrapolating numbers I am at a loss. Hoping some others can chime in with some thoughts.

    an update... my rule of thumb for 50 users has proven to be a bit high. Looks to be 30-40 per core when you split out the BPMN engine from other computing intensive processes such as the ESB. Without splitting up overall SOA/BPM functionality over multiple servers concurrent user counts of various technology really takes a hit.

  • Calling External Application from BPM 11g

    I am new to BPM 11g and need to create the ability to call an external application (UCM) from within BPM. Will a web service adapter, with a type of Reference, accomplish this? How can I add security to this web service.
    The second question is how can I add an adapter that alllows me to specify our own source code? In this scenario we would write the Java to formulate the SOAP call directly, thus allowing us to add the security into the call directly.
    Any information is much appreciated.
    Thanks,
    Randy

    Hi Randy,
    You can call an external application using a spring component integration, I was just able to get that to work with a help from another forum member here is a viewlet that demos the spring integration:
    http://bpel.us.oracle.com/BPM/11gR1/howtos/spring-component/oow-2010-Beijing-viewlet/springdemo_v2_viewlet_swf.html
    Alex.

  • Supporting PAPI in Oracle BPM 11g ?

    Hi All,
    For Oracle BPM 11g , Is "PAPI" still support for Oracle BPM 11g ?
    Furthermore, Is there any Hand-on Tutorials for Oracle BPM 11g ?
    Many Thanks in Advance...
    Pearapon S.

    I think with 11g, the starting point for dealing with a Process* should be the Composite [http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10659/oracle/soa/management/facade/Composite.html] .
    From Composite::getComponents() you should be able to get handle(s) to the process(es) deployed in the composite.
    *IMHO, in most common usecases you really need to just interact with the human workflow services referred to earlier in this thread.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to get the assignees for a specific role in process in BPM 11g

    Hi, Gurus,
    I am using BPM 11g. I am trying to retrieve all the assignees for a a specific role in process. It will be a parameter for a business rule to do further routing rule. But it seems there is no way to get the information. I found that there are Identity Service Functions in Human Task Assignment. But Identity Service Functions are not listed in Business Rule Activity, neither listed in other activities except Human Task Assignment. I cannot get the assignees in my process.
    Is there any way to get all the assignees for a role? I also tried to retrieve the assignees out engine with Worklist API, but it cannot get either. Actually we can get all the assignees information in automatic activity in OBPM 10g. Maybe I am still not familiar with 11g. Any advice is appreciated.
    FYI:
    My scenario:
    Suppose we have a role named ApprovalTeam. In this role, there will be several different department manager (BPM User) added in the role through Workspace. At run time, a request (With department info) with go through the approval by ApprovalTeam. A Business Rule Activity with decide which department manager will approve this request. Different department request will be dispatched dedicate managers, not all the managers in the role. I have an external JavaBean to get the department information from LDAP. To do the routing, I also need know all the department managers (BPM User) in the ApprovalTeam role. Then I can compare which department manager is matched with the request and assign the task to him.
    Thanks a lot,
    James
    Edited by: James Piao on May 31, 2010 6:25 PM

    or this?
    SQL> select text from ALL_VIEWS
      2  where VIEW_NAME
      3  ='EMP_VIEW';
    TEXT
    SELECT empno,ename FROM EMP
    WHERE empno=10

Maybe you are looking for