Call subprocesses dynamically at runtime in BPM 11g

Hi
I have a requirement of executing a subprocess from a main process. The challenge I am facing is that, the name of the sub process to be executed is going to be known at runtime.Following is my scenario:
I have a main process which gets an XML input and contains a context based on which a search is made on the DB. The DB has the mappings of the context and the sub process names.
Now how can I implement this in BPM 11g (Jdeveloper 11.1.1.3). Is there any functionality provided to call a subprocess at runtime?
Thanks in advance

I am sorry Kshama, you are using BPM 11g and I did not notice it.
I am using BPM 10g based on eclipse IDE and those instructions provided by Daniel was for this version. I am not able to suggest you how to perform similar actions in 11g but I guess that except for the interface, the rationale behind is still the same. Maybe you could read that thread and use it to help point yourself in the right direction within the documentation.
Hope someone else who knows better the 11g platform came to help you.
Bye,
Luca

Similar Messages

  • Debugging BPM 11g Runtime

    Hi
    I have developed a BPM 11g flow in Jdev 11.1.1.3.0 and deployed it to the soa server.
    My flow works fine as my output is sent to a JMS queue and no fault occurs during the flow.
    However, if I have to track the Process Data Objects that have been defined, how can i do that?
    I am able to track the input/output params on the external service references using composite sensors.
    But in my process flow, I have a few process data objects(variables) that are modified,transformed etc before making the service calls.
    How will I know what are the values of these modified variables at runtime?
    Is there any way to log the process data objects that would help in debugging?
    How to set the logging level to debug mode?
    Thanks

    This may not be the best approach, but I've found it helpful in debugging data values:
    You can create a file adapter in your composite.xml, then you can place service call activities in your BPMN process to write out the values to a text/xml file on the server's filesystem.
    Choose the "Define operation and schema (specified later)" on the interface screen of the file adapter wizard, operation type as Write file on the next page, choose file location/naming on next page, then on the messages page you click the magnifying glass icon next to the URL field and choose an XSD from your project (associated with a WSDL or a Business Object). When you place the service call to the file adapter in your BPMN process, you then just map in the incoming data object using data associations.

  • Setting directory dynamically in File adapter in BPM 11g

    Hi,
    I am using file adapter in BPM 11g for writing perpose. While configuring, it is required to provide the directory location, which can be either physical path or logical. The location where the new file will be stored/saved is written in a text file. I want to fetch the location from that text file and want to store the new file in that particular location at run time. Please help !!!!

    Hi,
    You can dynamically set -among others- the outbound directory and outbound file name for a File Adapter. See: http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_file.htm#CIACICFD. If you need to retrieve the information beforehand from another file, you could use a synchronous read. See: http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_file.htm#BABDCEBE.
    Ronald

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

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

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

  • 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  ids:getUsersInAppRole  function

    Hello,
    I'm working on BPM 11g, and I'm trying to use the getUsersInAppRole function but it returns multiple nodes since there are more than one user in the role, then while trying to assign it to a XML list of strings it throws an exception. I think I should use a transformation to achieve the assignment, but what do I use as a source element since it is the result of a function and I don't know what type it returns?
    thanks

    Hi Josué,
    Let me preface this by saying I'm not especially proud of this solution. It's a workaround to a bug (at least I think it is a bug) in 11.1.1.5.
    Here are the steps I did. Let me know if one or more of these do not make sense.
    1. Before entering the subprocess, I populate a 'parts' variable (a component variable that is a Types.Participants) from my method call (know you're using 'getUsersInAppRole' - I'm using a different method that returns this type). This stores the array of userObject (a Types.UserObjects type component).
    2. Create the subprocess using the 'MultiInstance' loop characteristic and uncheck the 'Is Sequential' checkbox. For the subprocess's Loop Cardiality I used the XPath Expression
    count(bpmn:getDataObject('parts')/ns:userObject)In the Completion Condition box, check the Use Expression checkbox and enter the XPath Expression
    bpmn:getActivityInstanceAttribute('subprocess0', 'loopCounter')  <= count(bpmn:getDataObject('parts')/ns:userObject)3. In the Arguments Definition tab, the incoming needs to be (in my case anyway) a variable of the type 'Types.UserObjects'. This means that you're passing in the whole array of users instead of a single userObject. The reason I had to do this is because when you click the arguments 'Use Associations' checkbox and edit it and click the Expression Builder icon, the loopCounter is not present in the list of available variables (the loopCounter variable is used by the subprocess to keep track of the loop count that you're currently on). Because it is not in the list, you cannot just pass in the single UserObject.
    4. You can work around this problem by retrieving it using a Script activity (or using the incoming associations to any activity) and setting a 'part' variable (a variable of the type Types.UserObject) to
    parts.userObject[loopCounter]It's odd that you can get the loopCounter variable everywhere inside the subprocess activity you need it except for inside the incoming Arguments Definition tab.
    Hope this helps,
    Dan

  • Creating Forte FieldWidgets Dynamically at Runtime

    Hi Everyone,
    Could someone please help me with the following problem I have when
    creating Forte fieldwidgets dynamically at run-time. I am using Forte
    ver. 3.0.G.2.
    (-1-) I have a window class with an empty gridfield, <grfMain>, inside a
    viewport. The idea is to populate the gridfield with DataField
    fieldwidgets dynamically at runtime. Depending on some input criteria,
    sometimes some of the DataFields need to map to IntegerNullables, some
    to DoubleNullables and some to DateTimeNullables. (Please note that I
    cannot use the Forte window workshop to create these fieldwidgets,
    because different types of fieldwidgets will be needed at different
    times, in different numbers, at run-time. ) Here is a sample of how I am
    currently trying to achieve this:
    dfDate : DataField = new;
    dfDate.MaskType = MK_Template;
    dfDate.DateTemplate = new( value='dd/mm/yyyy' );
    dfDate.Row = 1;
    dfDate.Column = 2;
    dfDate.Parent = <grfMain>;
    dfInt : DataField = new;
    dfInt.MaskType = MK_INTEGER;
    dfInt.Row = 2;
    dfInt.Column = 2;
    dfInt.Parent = <grfMain>;
    dfReal : DataField = new;
    dfReal.MaskType = MK_FLOAT;
    dfReal.Row = 3;
    dfReal.Column = 2;
    dfReal.Parent = <grfMain>;
    The code above is called after the window has been opened with the
    Open() statement.
    Looking at the code above, one obvious omission is that the "Mapped
    Type" of the Datafields are not set up. In the Forte window workshop, an
    interface is provided to set up the "Mapped Type" of the Datafield
    widgets, but I'm not sure how to do that dynamically, and that is
    basically my biggest problem here.
    (-2-) If I now run the window class, the Datafield widgets get created,
    and they all have the correct input maks, but no validation gets done
    when one tabs away from the field. For example, Datafields with
    MaskType=MK_INTEGER will gladly accept '--1--0++7', while Datafields
    created in the window workshop (mapping to IntegerNullables) will do a
    validation, and not allow one to tab out of the field before the extra
    minus and plus signs are not removed.
    I have the same problem with the Datafields which have
    MaskType=MK_Template and DateTemplate='dd/mm/yyyy'. For the date, one
    can enter something like '2*\**\****', and leave the field, while the
    same type of datafield created in the window workshop (mapped to a
    DateTimeNullable), will not allow you to leave the field before a valid
    date has not been entered. To summarise, the input masks of my
    dynamically created Datafields work fine, but no validation gets done
    when the field looses the focus.
    (-3-) As a test, I used the Forte debugger ("view"-"local variables") to
    look at the differences between Datafields created dynamically, and
    those created in the Forte window workshop. One very obvious difference
    was that Datafield attribute "MapTypeName" was filled in for the window
    workshop Datafields, but not for my dynamically created Datafields. The
    problem is that Forte does not allow me to set this attribute
    dynamically in my code. How else can I setup the Mapped Type
    dynamically?
    (-4-) In order to have a consistent look-and-feel throughout our Forte
    project, we are making use of Domain classes for DATE and DECIMAL data
    entry fields. My questions are:
    (4.1) How must I go about creating Datafields dynamically that make use
    of these Domain classes?
    (4.2) Is it also a matter of setting up the "MapTypeName" attribute,
    which I cannot seem to do?
    (4.3) Is the mapping done differently for Domain classes?
    (-5-) Another interesting thing to note for Datafields created in the
    Forte Window Workshop, is that if the mapped type is IntegerNullable
    with Input Mask = Integer, or DoubleNullable with Input Mask = Float,
    then the Object that the Datafield widget maps to, must first be
    instantiated before the Loose-Focus validations will start to work. For
    example, if a Datafield widget called "dfTestInt" was created in the
    Forte window workshop, which maps to an IntegerNullable, and Input Mask
    = Integer, then the following line is needed before the window is
    displayed: dfTestInt = new;
    Without this line, one can enter something like '2---3+++7', and leave
    the field.
    This is not true for Datafields where the mapped type is
    DateTimeNullable with say Input Mask Template='dd\mm\yyyy'. In this case
    validations are done even thought the object being mapped to, has not
    been instantiated yet. In other words you will never be able to enter
    '2*/**/****', and leave the field for datafield created in the window
    workshop. Maybe in this case the validation is being done by the
    template itself?
    Thanks in advance
    Riaan
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    what I mean is rendering JSF components on the fly, becuase some time you don't know things at design time. Lets say I am designing a page in creator that shows the total number of dependants that belongs to a primary inusrance member in text boxes. Of course we don't know in advance how many dependants we have for a specific member unless we go to databse and fetch all the data at runtime. Desiging some thing dynamic like that is very easy in CGI or ASP/JSP but JSF model seems very static due to it's design time feature.
    So is it possible with JSF or not?

  • 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

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

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

  • How to separate BPM 11g from ADF

    Hi all,
    we are facing with a huge issue about how to separate BPM 11g ADF Task page components from SOA/BPM to a new non-soa ADF managed server.
    We are ready to move on pre-production server from development enironment and the new environment has two different servers, one for Soa/Bpm and the second for a non-soa ADF server.
    We have deployed all and it seems work fine but...when we call:
            SecurityContext securityContext =  ADFContext.getCurrent().getSecurityContext();
            String username = securityContext.getUserName();
    got: username  = anonymous.
    Tried with this also:
                 String userName = "";            
                //read name from security context
                ADFContext adfCtx = ADFContext.getCurrent();
                SecurityContext secCntx = adfCtx.getSecurityContext();
                userName = secCntx.getUserName();      
                //read name from bpmWorklistContext context
                FacesContext context = FacesContext.getCurrentInstance();
                String ctx = (String)context.getApplication().evaluateExpressionGet(context, "#{pageFlowScope.bpmWorklistContext}", String.class);
                IWorkflowServiceClient workflowSvcClient = ADFWorklistBeanUtil.getWorkflowServiceClient();
                ITaskQueryService wfQueryService = workflowSvcClient.getTaskQueryService();
                IWorkflowContext wfContext;           
                try {
                    wfContext = wfQueryService.getWorkflowContext(ctx);
                    userName = wfContext.getUser();
                    logger.info("UserName from Oracle:" + userName);
                } catch (WorkflowException e) {
                    logger.info(e.getMessage());
                    e.printStackTrace();
                return userName;
    And received this error:
    "Oracle | Invalid Token Error in Verification Service.
    Invalid Token Error in Verification Service. Received invalid token in .
    Verify that correct token is passed."
    I have followed this blogs but no luck:
    Onkar's SOA, BPM and ADF Blog: How to separate BPM 11g ADF Task page components from SOA/BPM to a new ADF managed server
    http://blog.dreamix.eu/oracle-2/ultimate-guide-separating-bpm-adf
    Notes about Oracle: How to configure local integrated WebLogic non-SOA domain to access BPM worklist on separate SOA-ena…
    I do not understand where the error is. Why the SecurityContext is getting lost.
    Can you help me? Any suggestions will be welcome.
    Thanks.
    Fairlie

    Ok, these are the lines of code you can use to create a method that returns the authenticated user name:
    try {
    IWorkflowServiceClient wfSvcClient;
    ITaskQueryService queryService;
    IWorkflowContext wfContext;
    // Get username of User Login
    String contextStr = ADFWorklistBeanUtil.getWorklistContextId();
    wfSvcClient = WorkflowService.getWorkflowServiceClient();
    queryService = wfSvcClient.getTaskQueryService();
    wfContext = queryService.getWorkflowContext(contextStr);
    userId = wfContext.getUser();
    } catch (Exception e) {
    e.printStackTrace();
    And you can add it to the backing bean of your page (a Java Class that you can declare to handle ADF Page components). Let me know if this helps.
    Jorge

Maybe you are looking for

  • ITunes no longer plays TV Shows one after another (Continual Playback)

    iTunes is no longer playing TV episodes back to back for me, even in a list. It has actually stopped moving to the next show when I hit the forward to next item button (the third arrow pointing right with the line adjacent to it), so I suspect a sett

  • Cannot connect to Airport Extreme. Did I buy wrong product?

    Hello I am having a problem connecting my Airport Extreme Base Station. I have an iMac flat screen PowerMac G4 running Tiger 10.4.11. I purchased the Airport Extreme Base Station in hopes to connect this and other Mac computers in my house to a wirel

  • Disable a test socket during execution (Batch Mode)

         We are running a Batch Model with Batch Synchronization.   I am wondering if it is at all possible to totally disable one or more of the test socket during execution.  I know that the opening screen allows you to choose which sockets are active,

  • Partition hotfix issue

    I just opened up my new Yoga, and literally the first thing I tried to do was install the partition hotfix. After I typed "Y" to accept, I got the message "You have changed the default partition layout. The process was failed. Press any key to contin

  • How can I add a solid shape over my image in Pages?

    I can make a solide image, I made my phot's solid, bute when I put a square shape on it, it will not stay put. The same thing with an arrow to point at a specific place in my photo. Anyone an idea?