Stale Tasks - BPM 11g

Hi,
Wanted to know, how can i retrieve Stale tasks after redeployment...
use case is :
1) I have a application A with Version 1 which i running fine...
2) I created 10 instances and they are mid-way into process.
3) Now, i have a Code upgrade which i did and i have do a redployment...
And my main concern is that 10 instances which are in mid-way for Process should not be stale...they should be active...
JDev & SOA Version - 11.1.1.5

Thats correct. Whenever you redeploy a composite with the same revision or undeploy the composite, it will mark the running instances as STALE. This is by design.
If you want the instances to complete, then you need to redeploy as the new version.
Migrating inflight instances (deploying using the same revision and preserving the instances) is not yet supported in 11g

Similar Messages

  • Hide ADF components in email notification Human Task BPM 11g

    How can I hide ADF components in email notification?
    I what to hide some buttons and comments section.
    I'm using BPM 11g 11.1.1.6
    Thanks everybody.

    Hi Frank,
    Just wanted to know if someone has already tried a usecase similar to this as it also involves ADF DI. :)
    Posted in SOA Suite forum : ADF DI integration with SOA Human Task
    Thanks,
    Anoop
    Edited by: Anoop Kumar Shukla on Jan 29, 2013 2:32 AM

  • Filter database lookup based on human task (BPM 11g)

    Using BPM/SOA 11g PS3
    I have a business case where a field is pulling data from an external table and the user would like to filter the return based on the current step in the flow. For example:
    Database would return: A, B, C, D, E, F
    Human task 1 should show: A, B, C
    Human task 2: A, B, E, F
    Human task 3: C, D, E
    Human task 4: D, E, F
    Human task 5: E, F
    The BA would also like the ability to change this (if possible) without us having to redeploy. If I can avoid it, I don't want to hardcode these into the JSPX.
    Thoughts on how best to implement something like this?

    I was looking into using a business rule and using a decision table. I thought first, could I put the business rule in my task ADF...but then how do I know what task I am on, how do I pull that into my decision table?

  • Display the status of parallel human tasks in ADF web page (BPM 11g)

    Hi,
    We create a BPMN process (BPM 11g) which splits into parallel branches. Each branch has its own user activity. We want to show the task status of ALL the parallel user activities (running or completed) in the ADF web page implemented for the user activity so the user would have the whole picture of the process.
    In another words, we are able to check the status of the component instances associated with the process instance in the Oracle EM. We want to provide the similar information (in our case, we only want to show the status of the human task components) to the user when they access the human task page.
    I wonder if the only solution is to write Java code with the API to lookup the BPMN process instance. We try to avoid Java coding if possible. Please advise. Also, so far, I have not found any complete instruction/document on how to access the BPMN process instance and check the tasks etc. through the API. Please help if you know where I could get such information.
    Thanks a lot,
    Helen

    sorry!!
    http://www.esnips.com/doc/dca05e99-d5ca-49ce-80c8-5bedfe27a24a/screenshot-2

  • BPM 11g - Human task not removed when interrupting boundary event fired

    In BPM 11g (11.1.1.1.3), I am testing a message catch event on the boundary of a human task. It is set for interrupting, so it should, when the event fires, remove the human task from the work list and follow the flow out of the event. The event flow is being followed, but the human task is being left active in the user's work list. I would expect the human task to be removed when the interrupting boundary message event occurs.
    I think this is a bug, but would welcome any suggestions on how to solve it. Does anyone know if this works in the latest release (11.1.1.1.4)? We might upgrade pretty soon. Has anyone else tried boundary message events and gotten them to work properly in BPM 11g?
    Just FYI....in order to make the BPM message event occur and provide instance correlation, we had to add a mediator and BPEL correlation. We followed process documented in a previous post to do this (http://blog.andrade.inf.br/2011/01/implementing-correlation-in-bpm-11gr1.html). Thanks to whomever posted that...it got us a few steps further along!

    I do not think this is bug based on
    Oracle® Fusion Middleware Modeling and Implementation Guide for Oracle Business Process Management
    23.1.1 Understanding the Relationship Between SOA Composites and SOA Components
    "In a similar way, when an interrupting timer or message boundary event arrives to a user task, the BPMN process instance leaves the user task but the associated Human Task remains available. Because the interrupting timer or message boundary event arrived before the user completes the user task, the human task remains unfinished, and you can still access it thought the Worklist application. However running that human task does not have any effect on the BPMN process."
    This also gives us big trouble. I am looking for the solution.
    Helen

  • BPM 11G comments and file attachments issue on human tasks

    Hi all,
    We have used JDeveloper 11G and SOA suite 11G + BPM (with PS1,PS2) to create and deploy a simple BPM process. The process consists of two swim-lanes ( Business Analyst and Snr Executive). The BA swim-lane has a human task which which initiates the process and the second swim-lane (SE) has a voting task. Both forms were auto generated.
    ------ Process steps ----
    step 1. The initiator of the process( Business analyst) submits a document and adds comments on the form. (1st swim lane)
    step 2. The task is received by the Snr Executive group and they need to accept or reject the document.
    step 3. If any of the Snr Execs rejects the document, the process flow goes back to the Business analyst(the requester or initiator) for review.
    (the voting group is able to share comments and the file attachments).
    step 4. The business analyst receives a task on her list. This task list should have the comments made by the Snr Execs who rejected the document. ---This is where we are having a problem. The business Analyst, receives the task, but the document and comments are not updated. This still shows the original document and comments, she sent when initiating the process.
    We have opened a SR with My Oracle support and it was suggested we apply a hot fix 9958661, which was done (see output below). Unfortunately this did not solve the problem.
    Questions:
    1. Is the default behavior of BPM 11G ?
    2. How can we change this behavior to do what we want ?
    ---------------------------------------opatch update output -----------------------------------------------------------
    ApplySession adding interim patch '9958661' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 9958661 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 9958661 are present in Oracle Home.
    The local system has been patched and can be restarted
    I any suggestions would be welcome.
    Thanks
    Mocheche

    Ok, this is what i did:
    - I have a Process Data Object called CustomComments with just 1 attribute called comments.
    - I have added that object to my user screens (adf page)
    - Changed its columns att to 65 and rows to 8 (i chose that layout)
    - Used a tableLayout to add an icon next to this text area to allow the user to add comments:
    <af:commandImageLink shortDesc="addCommentImage" id="addCommentImage" partialSubmit="true" icon="/hw_images/new_ena.png">
         <af:clientListener method="myFunction" type="click"/>
         <af:clientAttribute name="attributeName" value="attributeValue"/>
    </af:commandImageLink>
    I use that clientAttribute to send the logged user to the javascipt.
    - I added this after the af:document on top of the page to make the customComments readonly to the user (you need to do it here because if you set it in the properties the element is not updated later), so the user has to use the button i put to add comments:
    <f:facet name="metaContainer">
         <f:facet name="metaContainer">
         <af:resource type="javascript">
              function readOnly(){
                   var comms = document.getElementById("it1::content");
                   comms.setAttribute("readOnly","true")
         </af:resource>
    </f:facet>
    <af:clientListener method="readOnly" type="load"/>
    - Somewhere i added the javascript the commandLink calls:
    <trh:script id="myScripts">
         function addComment(evt){
              var commentArea = document.getElementById("it1::content");
    var user = evt.getSource().getProperty("user");
    var comm = prompt("Please enter your comment: ","");
              if (comm != null) {
                   if (comm != ""){
                        if (commentArea.value !=""){commentArea.value = commentArea.value + "\n"}
                        commentArea.value = commentArea.value + "user.value" + " : " + comm;
    </trh:script>
    After all this, you have an object that carries the comments from one screen (UI project) to another and is updated each time.
    I know it may not be the perfect solution and that it could be improved a lot, but so far it does what i need so i use it.
    If there is anything i wasnt clear enough, please let me know. Hope this helps.

  • "Call Activity" task not available in Jdeveloper BPM 11G Beta2 ?

    Hi,
    The "Call Activity" task is no longer available in Jdeveloper component palette (as of 11.1.1.3.PS2_GENERIC_100302.2020.5629)
    But this task is still available in BPM Composer (BPM 11G Beta 2 same delivery as Jdeveloper).
    We are currently in the modelizaion phase of a Business Process and for the flexibility , lisibilty it's really important for us to use this feature.
    Could you provide us a patch or a new version of Jdeveloper where this issue is fixed ?
    Thanks.

    The Call Activity was removed because this feature is not ready to be released as part of R1. It will return soon! It should also be removed from Process Composer.
    In the meantime, the functionality is nearly the same if you use a separate process and call it using the Service activity.
    Heidi.

  • BPM 11g deployment error when include Human Task

    During deployment, when I include a Human Task in my BPM 11g project, the deployment fails.  The error message in JDeveloper is:
    Weblogic Server Exception: weblogic.application.ModuleException:
    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: [unixODBC][Driver Manager]Data source name not found, and no default driver specified
    If I don't include the Human Task application in deployment, it's fine.  I used the Auto Create feature to generate the ADF project/form.  I've deleted and recreated the Human Task, but that hasn't helped.
    What can cause this error?  I've googled for days, but have not found anything similar.

    Kunwar - Thank you very much for your reply.  I checked in EM under Applications, and there is no application with the name of my Human Task application that is part of my BPM project.  To be sure, I just rebooted the server and checked again, but it is not there, and the reboot did not solve the problem.
    I'm not sure if this is related to the problem, but here is some other information.  A few days ago when I tried to redeploy just the BPM project (keeping save revision, and checking "Overwrite any existing composites"), I received a null pointer exception error.  Since then, I must Undeploy the BPM Application using EM to then redeploy it using JDeveloper.  Here is the error I was getting:
    [08:03:59 AM] Sending archive - sca_PERAC91A_rev1.0.jar
    [08:04:07 AM] Received HTTP response from the server, response code=500
    [08:04:07 AM] Error deploying archive sca_PERAC91A_rev1.0.jar to partition "default" on server AdminServer [http://soabpm-vm:7001]
    [08:04:07 AM] HTTP error code returned [500]
    [08:04:07 AM] Error message from server:
    There was an error deploying the composite on AdminServer: Error occurred during deployment of component: PERAC91A to service engine: implementation.bpmn, for composite: PERAC91A: java.lang.NullPointerException.
    [08:04:07 AM] Check server log for more details.
    [08:04:07 AM] Error deploying archive sca_PERAC91A_rev1.0.jar to partition "default" on server AdminServer [http://soabpm-vm:7001]
    [08:04:07 AM] ####  Deployment incomplete.  ####
    [08:04:07 AM] Error deploying archive file:/D:/Data/consulting/AllStar/PERAC/Dev/JDeveloper/PERAC91A/PERAC91A/deploy/sca_PERAC91A_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

  • BPM 11g - FYI task to send a copy to each member of a group

    In BPM 11g I am trying to send an FYI task to each member of a group. They should each get their own copy of the task so that it does not get removed from their inbox when the first person dismisses it.
    I was not successful in getting multiple copies of the task using FYI type even when multiple users were defined in the participant list. So, I changed the participant type to parallel. This was successful in sending mulitiple copies when I defined a participant list of hard coded users, but the process stopped and waited until at least one of the users dismissed it (so the FYI only behavior changed, but I can get around that with a parallel process flow).
    Still using parallel participant type, I have been trying to change from my hard coded list of users to a security group of users. If I set assignment to the group, only one task is created for the group. So, I have been trying to assign to users and use the expression ids:getUsersInGroup('LoanAnalyticGroup') to get the users in this group. I have tried several approaches to this expression but can't get it to work.
    Has anyone else successfully implemented sending tasks to all members of a group in 11g? Any advice?

    Hi all,
    We are also facing same issue.
    The function ids:getUsersInGroup doesnt return value.
    Even i imported identityservice.xsd and is_config .xsd and created variable using the *"users"* element of identityservice.xsd schema and assigned the value to this variable.
    But Audit always says
    *"XPath query string returns multiple nodes.*
    *According to BPEL4WS spec 1.1 section 14.3, The assign activity part and query should not return multipe nodes.*
    *Please check the BPEL source at line number "72" and verify the part and xpath query "*
    Help me to resolve this issue.

  • 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.

  • 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

  • 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.

  • 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>

  • Getting user name of person logged into workspace in BPM 11g.

    What API and method calls can we use to determine who is logged into BPM 11g? Since many people can be assigned a role or human task (using dynamic task assignments) how can we determine who the actual user is?
    The use case is a user logs into the workspace and executes human tasks assigned to him/her. In the ADF UI, we are using database controls to view, update and create records in database associated with this task. The tables have audit information like, LAST_MODIFIED_BY and MODIFIED_DATE. These fields or columns need to be updated with the user ID and current system date when data changes in the tables.
    The problem is that I know how to get the user who the task is assigned to, but if the user is a delegate or process owner, how do we know? Also if many people are assigned to the human task, how do we find which one is actually working on the human task? In other words the current logged in user?
    In the ADF task flow, I have access to an object SystemAttributesType that contains a lot of useful information, like the list of assignees. The problem is it doesn't seem to give me information about who is actually working on it (logged in user). Here's a code snippet for how I got this object. It is a method in a managed bean associated with the task flow.
    public List getAssignees() throws IOException {
    FacesContext context = FacesContext.getCurrentInstance();
    String ctx = (String) context.getApplication().evaluateExpressionGet(context,
    "#{pageFlowScope.bpmWorklistContext}", String.class);
    String tskId = (String)context.getApplication().evaluateExpressionGet(context,
    "#{pageFlowScope.bpmWorklistTaskId}", String.class);
    IWorkflowServiceClient workflowSvcClient = WorkflowService.getWorkflowServiceClient();
    ITaskQueryService wfQueryService = workflowSvcClient.getTaskQueryService();
    IWorkflowContext wfContext;
    List assignees= "";
    try {
    wfContext = wfQueryService.getWorkflowContext(ctx);
    Task myTask = wfQueryService.getTaskDetailsById(wfContext, tskId);
    Element xmlPayload = (Element) myTask.getPayloadAsElement();
    SystemAttributesType systemAttributes = myTask.getSystemAttributes();
    assignees = systemAttributes.getAssignees();
    return aissignees;
    Thanks in advance for your help.

    Hi.
    Plz find the link below, it might hep you.
    11g how to get participant information
    Bibhu

  • BPM 11g Process Hierarchy?

    Hi,
    In the BPA Suite I can define a process hierachy by assigning a BPMN process diagram to a function like a subprocess.
    (How) can I do this in the BPM Suite 11g?

    I believe you have to use the Send/Receive tasks now in order to call a reusable subprocess in BPM 11g. This requires the sub process to be message based where as the Call activity allowed non message based processes.

Maybe you are looking for

  • How do I encrypt a folder for email

    I'd like to encrypt, ideally compress and encrypt a series of pdfs and mail them to a Windows person. I know stuffit does that but it is cumbersome and I have an old version. Any ideas on a modern utility - or using OSX

  • What's wrong with the XML output?

    I got an XML page in IE browser with XSQL Servlet&XSL. But its format is often disordered, for instance there are blank lines between two sequential tags, or the tags at the same level display from different start point. So the whole file seems fall

  • Easiest way to transfer photos from my old Windows desktop to new MacBook?

    I am an Apple newbie. What is the easiest way to transfer 7 years of photos from my old Windows desktop (Vista operating system) to my brand-new MacBook Air (OS 10.9.5)? Please answer in specific and simple terms. I'm not a techie. Thanks.

  • Computer Name changes

    I am moving a computer to a new use and need to change the computer name. After reformatting the hard drive and installing OSX and running all updates I was surprised to see the original computer name in the Sharing preference pane. So I changed it t

  • A SIMple ..erRor ... ...help

    ITZ A LONG CODE...BUT THIS ERROR IS PROPPIN UP.....THNK U GUYZ WOULD BE ABLE TO CARCK IT ....PLZ HELP.....ALLL BRACKETS WHERE CHECKED BUT STILL GIVES ONE ERROR....PLZ HELP...GOIN NUTS ... C:\j2sdk1.4.2_08\bin\New Folder> "C://j2sdk1.4.2_08\bin\javac"