Bpel callbacks(human task)

Hi,
i have a human task assigned to sequential list of users(2 users).On outcome updated by 1st user,i need to manipulate the task before it is routed to 2nd user.I thought the bpel callbacks would be helpful...but i could not..
By default,the onAssigned callback is called when 1st user updates the outcome and routed to 2nd user..But it is late when we want to manipulate the task in onAssigned callback,bcoz it is already been assigned...
OnTaskUpdated or OnTaskCompleted is not invoked..
...can anybody give some idea???

Here is the is_config file :
<?xml version="1.0" encoding="UTF-8" ?>
- <ISConfiguration xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig">
- <configurations>
- <configuration realmName="corp" displayName="corp Realm">
- <provider providerType="JAZN" name="OID" service="Identity">
<connection url="ldap://172.18.172.71:389" binddn="cn=orcladmin" password="KvrRqlQCeHrPqC60eG26eQ==" encrypted="true" />
</provider>
</configuration>
</configurations>
<property name="caseSensitive" value="false" />
</ISConfiguration>

Similar Messages

  • Invoking Web Service from BPEL PM Human Task

    Hello,
    I have done the following tasks
    Create a BPel PM , Add a Human task and customized it.
    Create a Web service Proxy and Generate a Jar File from that classes like "wsCallRegions.jar".
    First issue : Where can i put my Jar File ? i don't have any WEB-INF\lib directories to add this Jar to my Webcontent on the human Task.
    Second Issue : I imported the library and all dependencies Using Jdev / import Libraries tool. But when i try to call this Web service in my Paylod-body.jsp say it does´t find the class of WS that i´m using ( I can rebuild it with no errors and deploy it to the server ), this just happen when load the payload-body.jsp page customized.
    How can i make my ant deployment description to load a Lib directories or add this jar to my human task customized ??
    can somebody help me please ?
    Many Thank,
    Vitor

    The problem is that now, with Weblogic Server the project is divided in two...
    And the import goes with the BPEL.JAR and not with EAR files to Weblogic SoaDomain.
    Someone knows where I can find some documentation about this issue ? This maybe could be a "bug" when deploying Human Tasks to Weblogic Appserver ?
    Thanks

  • BPEL custom human task form

    Hi , i try to run the userTaskSampleUI , but the displaytask.jsp throw that exception , you have any idea for this exception ???
    Thanks
    java.lang.NullPointerException
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.getTaskDetailsById(TaskQueryService.java:435)
    at displayTask.jspService(_displayTask.java:99)
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:701)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:405)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher
    .java:711)

    Responded to your other post Suicide .... TaskQueryService.getTaskDetailsById     S.O.S

  • BPEL with human using task forms (customization in task display).

    All,
    I have deployed a BPEL with human task with task forms (customization in task display).
    For above customization Jdev automatically generates set of jsp files like Header1.jsp,Footer1.jsp,payload-body.jsp and <task name .jsp> and build an ear which includes war file.
    I have deployed ear as j2ee app using em console.
    It got deployed but when I check em console I could not see any active jsps listed.
    due to this task customizations are not displayed properly.
    but for same app in production instance, it is listing all jsp files in EM console
    Any idea where I am missing
    Thanks,
    Praveen

    I got it.
    If there are no active jsp/servlets listed means they are never invoked.
    I invoked them explicitly then they started coming in the list
    Regards,
    Praveen

  • Error while deploying Human Task

    Hi All,
    I am getting the following error while deploying a simple Human Task
    Error while deploying the form on server "Tom-latitude" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:141)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:785)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:578)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:849)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:875)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         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:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Thanks
    Tom....

    For deploying a bpel with human task, you need a bpel engine. oc4j_soa instance has the BPEL engine. Thats why.

  • Human Task form deployment issue

    Dear Experts,
    How to deploy Human Task form WAR file to the BPEL OC4J container through SOA em console. I have viewed through em console but i cant see any option for (war or ear ) work flow deployment. Please suggest.
    Thanks
    Rajesh A

    That i understood, depends upon client's request we are going to deploy. But i'm concerning my case here. To run a sample application whether it is enough to deploy both bpel process & Human task work floe form from JDeveloper or I have to use SOA server suite.
    Even I'm trying to deploy the whole Bpel process (includes both process & form) from JDeveloper to BPEL PM Server. I am getting following errors.
    | Deploying bpel process VR on anne, port 9700
    [deployProcess] Deploying process E:\jdev\work\VR\output\bpel_VR_1.0.jar
    [deployProcess] Successfully deployed the process "VR" on server "anne" and port "9700"
    deployTaskForm:
    [echo]
    | Deploying workflow form for VR on anne, port 9700
    [deployTaskForm] Exception occurred during event dispatching:
    [deployTaskForm] java.lang.NullPointerException
    [deployTaskForm]      at oracle.ide.view.View.isVisible(View.java:136)
    [deployTaskForm]      at oracle.ideimpl.ActiveViewHandlerImpl.getVisibleViews(ActiveViewHandlerImpl.java:468)
    [deployTaskForm]      at oracle.ideimpl.MainWindowImpl.getVisibleViews(MainWindowImpl.java:509)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.fireUpdate(IdeMainWindow.java:635)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.actionPerformed(IdeMainWindow.java:624)
    [deployTaskForm]      at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    [deployTaskForm]      at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    [deployTaskForm]      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    [deployTaskForm]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
    [deployTaskForm]      at java.awt.Dialog$1.run(Dialog.java:515)
    [deployTaskForm]      at java.awt.Dialog.show(Dialog.java:536)
    [deployTaskForm]      at java.awt.Component.show(Component.java:1300)
    [deployTaskForm]      at java.awt.Component.setVisible(Component.java:1253)
    [deployTaskForm]      at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    [deployTaskForm]      at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    [deployTaskForm]      at oracle.javatools.dialogs.ExceptionDialog.reallyShowExceptionDialog(ExceptionDialog.java:306)
    [deployTaskForm]      at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:229)
    [deployTaskForm]      at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:323)
    [deployTaskForm]      at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:342)
    [deployTaskForm]      at oracle.javatools.dialogs.ExceptionDialog.showExceptionDialog(ExceptionDialog.java:355)
    [deployTaskForm]      at oracle.ide.cmd.OpenCommand.openWithNoProject(OpenCommand.java:281)
    [deployTaskForm]      at oracle.ide.cmd.OpenCommand.mav$openWithNoProject(OpenCommand.java:51)
    [deployTaskForm]      at oracle.ide.cmd.OpenCommand$1.run(OpenCommand.java:206)
    [deployTaskForm]      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    [deployTaskForm]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    [deployTaskForm]      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    [deployTaskForm] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    [deployTaskForm]      at oracle.ide.view.View.isVisible(View.java:136)
    [deployTaskForm]      at oracle.ideimpl.ActiveViewHandlerImpl.getVisibleViews(ActiveViewHandlerImpl.java:468)
    [deployTaskForm]      at oracle.ideimpl.MainWindowImpl.getVisibleViews(MainWindowImpl.java:509)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.fireUpdate(IdeMainWindow.java:635)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.actionPerformed(IdeMainWindow.java:624)
    [deployTaskForm]      at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    [deployTaskForm]      at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    [deployTaskForm]      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    [deployTaskForm]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    [deployTaskForm]      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    [deployTaskForm] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    [deployTaskForm]      at oracle.ide.view.View.isVisible(View.java:136)
    [deployTaskForm]      at oracle.ideimpl.ActiveViewHandlerImpl.getVisibleViews(ActiveViewHandlerImpl.java:468)
    [deployTaskForm]      at oracle.ideimpl.MainWindowImpl.getVisibleViews(MainWindowImpl.java:509)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.fireUpdate(IdeMainWindow.java:635)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.actionPerformed(IdeMainWindow.java:624)
    [deployTaskForm]      at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    [deployTaskForm]      at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    [deployTaskForm]      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    [deployTaskForm]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    [deployTaskForm]      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    [deployTaskForm] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    [deployTaskForm]      at oracle.ide.view.View.isVisible(View.java:136)
    [deployTaskForm]      at oracle.ideimpl.ActiveViewHandlerImpl.getVisibleViews(ActiveViewHandlerImpl.java:468)
    [deployTaskForm]      at oracle.ideimpl.MainWindowImpl.getVisibleViews(MainWindowImpl.java:509)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.fireUpdate(IdeMainWindow.java:635)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.actionPerformed(IdeMainWindow.java:624)
    [deployTaskForm]      at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    [deployTaskForm]      at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    [deployTaskForm]      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    [deployTaskForm]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    [deployTaskForm]      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    [deployTaskForm] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    [deployTaskForm]      at oracle.ide.view.View.isVisible(View.java:136)
    [deployTaskForm]      at oracle.ideimpl.ActiveViewHandlerImpl.getVisibleViews(ActiveViewHandlerImpl.java:468)
    [deployTaskForm]      at oracle.ideimpl.MainWindowImpl.getVisibleViews(MainWindowImpl.java:509)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.fireUpdate(IdeMainWindow.java:635)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.actionPerformed(IdeMainWindow.java:624)
    [deployTaskForm]      at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    [deployTaskForm]      at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    [deployTaskForm]      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    [deployTaskForm]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    [deployTaskForm]      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    [deployTaskForm] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    [deployTaskForm]      at oracle.ide.view.View.isVisible(View.java:136)
    [deployTaskForm]      at oracle.ideimpl.ActiveViewHandlerImpl.getVisibleViews(ActiveViewHandlerImpl.java:468)
    [deployTaskForm]      at oracle.ideimpl.MainWindowImpl.getVisibleViews(MainWindowImpl.java:509)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.fireUpdate(IdeMainWindow.java:635)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.actionPerformed(IdeMainWindow.java:624)
    [deployTaskForm]      at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    [deployTaskForm]      at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    [deployTaskForm]      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    [deployTaskForm]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    [deployTaskForm]      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    [deployTaskForm] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    [deployTaskForm]      at oracle.ide.view.View.isVisible(View.java:136)
    [deployTaskForm]      at oracle.ideimpl.ActiveViewHandlerImpl.getVisibleViews(ActiveViewHandlerImpl.java:468)
    [deployTaskForm]      at oracle.ideimpl.MainWindowImpl.getVisibleViews(MainWindowImpl.java:509)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.fireUpdate(IdeMainWindow.java:635)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.actionPerformed(IdeMainWindow.java:624)
    [deployTaskForm]      at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    [deployTaskForm]      at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    [deployTaskForm]      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    [deployTaskForm]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    [deployTaskForm]      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    [deployTaskForm] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    [deployTaskForm]      at oracle.ide.view.View.isVisible(View.java:136)
    [deployTaskForm]      at oracle.ideimpl.ActiveViewHandlerImpl.getVisibleViews(ActiveViewHandlerImpl.java:468)
    [deployTaskForm]      at oracle.ideimpl.MainWindowImpl.getVisibleViews(MainWindowImpl.java:509)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.fireUpdate(IdeMainWindow.java:635)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.actionPerformed(IdeMainWindow.java:624)
    [deployTaskForm]      at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    [deployTaskForm]      at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    [deployTaskForm]      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    [deployTaskForm]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    [deployTaskForm]      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    [deployTaskForm] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    [deployTaskForm]      at oracle.ide.view.View.isVisible(View.java:136)
    [deployTaskForm]      at oracle.ideimpl.ActiveViewHandlerImpl.getVisibleViews(ActiveViewHandlerImpl.java:468)
    [deployTaskForm]      at oracle.ideimpl.MainWindowImpl.getVisibleViews(MainWindowImpl.java:509)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.fireUpdate(IdeMainWindow.java:635)
    [deployTaskForm]      at oracle.ide.IdeMainWindow$UpdateVisibleActions.actionPerformed(IdeMainWindow.java:624)
    [deployTaskForm]      at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    [deployTaskForm]      at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    [deployTaskForm]      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    [deployTaskForm]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    [deployTaskForm]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    [deployTaskForm]      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    [deployTaskForm] java.io.FileNotFoundException: E:\jdev\work\UserTasks\bpel\bpel\bpel.xml (The system cannot find the path specified)
    [deployTaskForm]      at java.io.FileInputStream.open(Native Method)
    [deployTaskForm]      at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [deployTaskForm]      at java.io.FileInputStream.<init>(FileInputStream.java:66)
    [deployTaskForm]      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
    [deployTaskForm]      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
    [deployTaskForm]      at java.net.URL.openStream(URL.java:1007)
    [deployTaskForm]      at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2551)
    [deployTaskForm]      at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:285)
    [deployTaskForm]      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:260)
    [deployTaskForm]      at oracle.tip.tools.ide.pm.ide.bpel.jdeveloper.JDevBPELProject.getDeploymentFile(JDevBPELProject.java:242)
    [deployTaskForm]      at oracle.tip.tools.ide.common.ide.bpel.BPELProjectUtil.setPartnerLinkWSDLLocations(BPELProjectUtil.java:636)
    [deployTaskForm]      at oracle.tip.tools.ide.pm.ide.bpel.jdeveloper.JDevBPELProject.setPartnerLinkWSDLLocations(JDevBPELProject.java:354)
    [deployTaskForm]      at oracle.tip.tools.ide.pm.addin.PMModel.createProcessFromDocument(PMModel.java:227)
    [deployTaskForm]      at oracle.tip.tools.ide.pm.addin.JDevBPELEditor$4.run(JDevBPELEditor.java:394)
    [deployTaskForm]      at java.lang.Thread.run(Thread.java:595)

  • BPEL Test waits forever to receive callback from human task service

    Hi,
    I've created a test (CreditCardInvalidTest.xml) to test a bpel process (testbpel.bpel) which contains a call to a human task service. The problem is when the test executes it waits forever to receive the response message from the human task service but clearly i've emulated it! Would appreciate help.
    I've attached both files and highlighted the relevant sections. Thanks.
    testbpel.bpel
    <process name="testbpel" targetNamespace="http://xmlns.oracle.com/testbpel"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns7="http://xmlns.oracle.com/testbpel/creditFault"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    xmlns:ns5="http://oracle.com/esb/namespaces/Fufillment"
    xmlns:client="http://xmlns.oracle.com/testbpel"
    xmlns:ns6="http://www.creditcardagency.com/CreditCardService"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:ns9="http://xmlns.oracle.com/testbpel/orderRejected"
    xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns2="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns8="http://xmlns.oracle.com/testbpel/genericFault">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:testbpel"
    myRole="testbpelProvider" partnerRole="testbpelRequester"/>
    <partnerLink name="ShipmentService" partnerRole="execute_pptProvider"
    partnerLinkType="ns5:execute_pptLT"/>
    <partnerLink name="CreditCardService"
    partnerRole="CreditCardServiceProvider"
    partnerLinkType="ns6:CreditCardService"/>
    <partnerLink myRole="TaskServiceCallbackListener" name="TaskService"
    partnerRole="TaskService"
    partnerLinkType="taskservice:TaskService"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="inputVariable"
    messageType="client:testbpelRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:testbpelResponseMessage"/>
    <variable name="n" type="xsd:integer"/>
    <variable name="Invoke_ShipmentService_execute_InputVariable"
    messageType="ns5:orderRequest_request"/>
    <variable name="paymentFault"
    messageType="client:testbpelFaultMessage"/>
    <variable name="ApproveOrder_1_globalVariable"
    messageType="taskservice:taskMessage"/>
    <variable name="orderRejectedFault"
    messageType="client:testbpelFaultMessage"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <sequence name="Sequence_6">
    <throw name="Throw_AllFaults"
    faultName="ns8:testbpelGenericFault"
    faultVariable="paymentFault"/>
    </sequence>
    </catchAll>
    </faultHandlers>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in testbpel.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:testbpel" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    <scope name="CheckForApproval">
    <sequence name="Sequence_4">
    <sequence name="Sequence_5">
    <scope name="ApproveOrder_1"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    wf:key="ApproveOrder_1_globalVariable">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:workflow"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="initiateTaskInput"
    messageType="taskservice:initiateTaskMessage"/>
    <variable name="initiateTaskResponseMessage"
    messageType="taskservice:initiateTaskResponseMessage"/>
    </variables>
    <correlationSets>
    <correlationSet name="WorkflowTaskIdCor"
    properties="taskservice:taskId"/>
    </correlationSets>
    <sequence>
    <assign name="ApproveOrder_1_AssignTaskAttributes">
    <copy>
    <from expression="concat(ora:getProcessURL(), string('/ApproveOrder/ApproveOrder.task'))"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
    </copy>
    <copy>
    <from expression="number(3)"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:priority"/>
    </copy>
    <copy>
    <from>
    <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    </from>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </copy>
    </assign>
    <assign name="ApproveOrder_1_AssignSystemTaskAttributes">
    <copy>
    <from expression="ora:getInstanceId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:instanceId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processName"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessVersion()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processVersion"/>
    </copy>
    <copy>
    <from expression="ora:getDomainId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:domainId"/>
    </copy>
    <copy>
    <from expression="string('BPEL')"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processType"/>
    </copy>
    </assign>
    <invoke name="initiateTask_ApproveOrder_1"
    partnerLink="TaskService"
    portType="taskservice:TaskService"
    operation="initiateTask"
    inputVariable="initiateTaskInput"
    outputVariable="initiateTaskResponseMessage">
    <correlations>
    <correlation initiate="yes"
    set="WorkflowTaskIdCor"
    pattern="in"/>
    </correlations>
    </invoke>
    *<receive name="receiveCompletedTask_ApproveOrder_1"*
    partnerLink="TaskService"
    portType="taskservice:TaskServiceCallback"
    operation="onTaskCompleted"
    variable="ApproveOrder_1_globalVariable"
    createInstance="no">
    *<correlations>*
    *<correlation initiate="no"*
    set="WorkflowTaskIdCor"/>
    *</correlations>*
    *</receive>*
    </sequence>
    </scope>
    <switch name="taskSwitch">
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'REJECT'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is REJECT</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <assign name="AssignOrderRejected">
    <copy>
    <from expression="string('Order rejected by manager')"/>
    <to variable="paymentFault"
    part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowOrderRejected"
    faultName="ns9:orderRejectedFault"
    faultVariable="orderRejectedFault"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'APPROVE'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is APPROVE</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_1"/>
    </sequence>
    </case>
    <otherwise>
    <bpelx:annotation>
    <bpelx:pattern>Task is outcome is EXPIRED, STALE, WITHDRAWN or ERRORED</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_2"/>
    </sequence>
    </otherwise>
    </switch>
    </sequence>
    </sequence>
    </scope>
    <scope name="CheckCreditCard">
    <variables>
    <variable name="InvokeCreditCardService_process_InputVariable"
    messageType="ns6:CreditCardServiceRequestMessage"/>
    <variable name="InvokeCreditCardService_process_OutputVariable"
    messageType="ns6:CreditCardServiceResponseMessage"/>
    </variables>
    <sequence name="Sequence_2">
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:testbpelProcessRequest/client:CreditCardNumber"/>
    <to variable="InvokeCreditCardService_process_InputVariable"
    part="payload"
    query="/ns6:CreditCardServiceProcessRequest/ns6:CreditCardNumber"/>
    </copy>
    </assign>
    <scope name="Scope_1">
    <compensationHandler>
    <sequence name="Sequence_7">
    <empty name="Empty_3"/>
    </sequence>
    </compensationHandler>
    <invoke name="InvokeCreditCardService"
    partnerLink="CreditCardService"
    portType="ns6:CreditCardService" operation="process"
    inputVariable="InvokeCreditCardService_process_InputVariable"
    outputVariable="InvokeCreditCardService_process_OutputVariable"/>
    </scope>
    <switch name="CheckCreditCardValid">
    <case condition="bpws:getVariableData('InvokeCreditCardService_process_OutputVariable','payload','/ns6:CreditCardServiceProcessResponse/ns6:result') = 'false'">
    <sequence name="Sequence_3">
    <assign name="AssignCreditFault">
    <copy>
    <from expression="string('Invalid credit card number')"/>
    <to variable="paymentFault" part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowCreditFault"
    faultName="ns7:CreditCardNumberFault"
    faultVariable="paymentFault"/>
    </sequence>
    </case>
    </switch>
    </sequence>
    </scope>
    <assign name="AssignInitial">
    <copy>
    <from expression="string('Select Manufacturer')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:result"/>
    </copy>
    <copy>
    <from expression="1"/>
    <to variable="n"/>
    </copy>
    <copy>
    <from expression="0.0"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('n') &lt;= count(bpws:getVariableData('inputVariable','payload','/client:testbpelProcessRequest/client:input'))">
    <sequence name="Sequence_1">
    <assign name="DoCalculation">
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload', concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:quantity')) * bpws:getVariableData('inputVariable','payload',concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:bookPrice')) + bpws:getVariableData('outputVariable','payload','/client:testbpelProcessResponse/client:price')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('n') + 1"/>
    <to variable="n"/>
    </copy>
    </assign>
    </sequence>
    </while>
    <assign name="Transform_2">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="Invoke_ShipmentService_execute_InputVariable"
    part="orderRequest"/>
    </copy>
    </assign>
    <invoke name="Invoke_ShipmentService" partnerLink="ShipmentService"
    portType="ns5:execute_ppt" operation="execute"
    inputVariable="Invoke_ShipmentService_execute_InputVariable"/>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:testbpelCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>
    CreditCardInvalidTest.xml
    <BPELTest processName="testbpel"
    xmlns="http://xmlns.oracle.com/bpel/instancedriver"
    xmlns:client="http://xmlns.oracle.com/testbpel">
    <initiate operation="initiate">
    <inboundMessage>
    <part fileName="testInput.xml" name="payload"/>
    </inboundMessage>
    </initiate>
    <activityDriver name="callbackClient">
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="false" patternMatch="false">
    <message>Expected "Select Manufacturer"</message>
    <actualPath>/client:testbpelProcessResponse/client:result</actualPath>
    <expected>Select Manufacturer</expected>
    </assertValue>
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="true" patternMatch="false">
    <message>Expected price of "1"</message>
    <actualPath>/client:testbpelProcessResponse/client:price</actualPath>
    <expected>1</expected>
    </assertValue>
    </activityDriver>
    *<activityDriver name="receiveCompletedTask_ApproveOrder_1">*
    *<emulate duration="PT">*
    *<inboundMessage>*
    *<part fileName="approverResponse.xml" name="payload"/>*
    *</inboundMessage>*
    *</emulate>*
    *</activityDriver>* <--- it waits FOREVER at this bit to receive the approverResponse.xml :s
    <activityDriver name="InvokeCreditCardService">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="creditCardServiceResponse.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    <activityDriver name="initiateTask_ApproveOrder_1">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="getApproval.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    </BPELTest>

    RaviKiran,
    I agree that the explanation oracle provided in the attach link, is a bit confusing. The main goal there is to describe the behavior of processes, when there is a need to combine, or split the transactions within those processes (or in some cases the processes themselves).
    The thing is - The default transaction for a synchronous process is requiresNew. That was until version 11.1.1.6. On this last version, you are asking to enter a Transaction parameter when creating a new synchronous bpel process. The default value being prompt is required and that's what causing the problem – You automatically accept the default.
    The assumption is, that developing bpel processes, should come with understanding of all those behaviors.
    The problem for my understanding is that some of those behaviors were not so cleared until now.
    Arik

  • Configuring Callbacks in BPEL Human Task

    Hi,
    I'm trying to configure a callback on OnTaskAssigned ,OnTaskUpdated in human workflow.
    I defined my custom java class implementing IRoutingSlipCallBack Interface (I also tried with ITaskServiceCallBack) in the .task file and also enabled callback in BPEL activity.
    I tried modifying some attributes (like title and comments) of the task to see if my callbacks are really being called. however i see no changes made by me are reflected.
    Am I missing some steps here ?
    Thanks in advance
    Pradeep

    There are two check boxes that have to be checked to get this feature working. One is under the first advanced tab of the human task wizard icon (green thingamajig). The second is in the human task editor itself again under the advanced area. Check them both.
    I found that when the first one was check it expanded the bpel code in the human task process to show the new messages. They didn't actually get invoked until I added the second checkbox.
    To date I still only see the onUpdate and onCompletion messages get invoked (there are four possible).
    hth.

  • Test waits forever for a callback from a human task

    Hi,
    I've create a test to test a BPEL process. Now within the BPEL process there is a call to a human task service. I've emulated the task initiation message which is fine. I also tried to emulate the receive message from the human task service but during the test execution, the test waits forever to receive the callback from the human task service, even though i've specified the return message. Would appreciate help with this! I've posted my testbpel.bpel and the test case (CreditCardInvalidTest.xml) below. For both these files I've highlighted in bold the relevant bits of code that's giving me problems. Thanks
    testbpel.bpel:
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="testbpel" targetNamespace="http://xmlns.oracle.com/testbpel"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns7="http://xmlns.oracle.com/testbpel/creditFault"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    xmlns:ns5="http://oracle.com/esb/namespaces/Fufillment"
    xmlns:client="http://xmlns.oracle.com/testbpel"
    xmlns:ns6="http://www.creditcardagency.com/CreditCardService"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:ns9="http://xmlns.oracle.com/testbpel/orderRejected"
    xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns2="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns8="http://xmlns.oracle.com/testbpel/genericFault">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:testbpel"
    myRole="testbpelProvider" partnerRole="testbpelRequester"/>
    <partnerLink name="ShipmentService" partnerRole="execute_pptProvider"
    partnerLinkType="ns5:execute_pptLT"/>
    <partnerLink name="CreditCardService"
    partnerRole="CreditCardServiceProvider"
    partnerLinkType="ns6:CreditCardService"/>
    <partnerLink myRole="TaskServiceCallbackListener" name="TaskService"
    partnerRole="TaskService"
    partnerLinkType="taskservice:TaskService"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="inputVariable"
    messageType="client:testbpelRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:testbpelResponseMessage"/>
    <variable name="n" type="xsd:integer"/>
    <variable name="Invoke_ShipmentService_execute_InputVariable"
    messageType="ns5:orderRequest_request"/>
    <variable name="paymentFault"
    messageType="client:testbpelFaultMessage"/>
    <variable name="ApproveOrder_1_globalVariable"
    messageType="taskservice:taskMessage"/>
    <variable name="orderRejectedFault"
    messageType="client:testbpelFaultMessage"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <sequence name="Sequence_6">
    <throw name="Throw_AllFaults"
    faultName="ns8:testbpelGenericFault"
    faultVariable="paymentFault"/>
    </sequence>
    </catchAll>
    </faultHandlers>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in testbpel.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:testbpel" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    <scope name="CheckForApproval">
    <sequence name="Sequence_4">
    <sequence name="Sequence_5">
    <scope name="ApproveOrder_1"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    wf:key="ApproveOrder_1_globalVariable">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:workflow"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="initiateTaskInput"
    messageType="taskservice:initiateTaskMessage"/>
    <variable name="initiateTaskResponseMessage"
    messageType="taskservice:initiateTaskResponseMessage"/>
    </variables>
    <correlationSets>
    <correlationSet name="WorkflowTaskIdCor"
    properties="taskservice:taskId"/>
    </correlationSets>
    <sequence>
    <assign name="ApproveOrder_1_AssignTaskAttributes">
    <copy>
    <from expression="concat(ora:getProcessURL(), string('/ApproveOrder/ApproveOrder.task'))"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
    </copy>
    <copy>
    <from expression="number(3)"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:priority"/>
    </copy>
    <copy>
    <from>
    <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    </from>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </copy>
    </assign>
    <assign name="ApproveOrder_1_AssignSystemTaskAttributes">
    <copy>
    <from expression="ora:getInstanceId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:instanceId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processName"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessVersion()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processVersion"/>
    </copy>
    <copy>
    <from expression="ora:getDomainId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:domainId"/>
    </copy>
    <copy>
    <from expression="string('BPEL')"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processType"/>
    </copy>
    </assign>
    <invoke name="initiateTask_ApproveOrder_1"
    partnerLink="TaskService"
    portType="taskservice:TaskService"
    operation="initiateTask"
    inputVariable="initiateTaskInput"
    outputVariable="initiateTaskResponseMessage">
    <correlations>
    <correlation initiate="yes"
    set="WorkflowTaskIdCor"
    pattern="in"/>
    </correlations>
    </invoke>
    *<receive name="receiveCompletedTask_ApproveOrder_1"*
    partnerLink="TaskService"
    portType="taskservice:TaskServiceCallback"
    operation="onTaskCompleted"
    variable="ApproveOrder_1_globalVariable"
    createInstance="no">
    *<correlations>*
    *<correlation initiate="no"*
    set="WorkflowTaskIdCor"/>
    *</correlations>*
    *</receive>* </sequence>
    </scope>
    <switch name="taskSwitch">
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'REJECT'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is REJECT</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <assign name="AssignOrderRejected">
    <copy>
    <from expression="string('Order rejected by manager')"/>
    <to variable="paymentFault"
    part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowOrderRejected"
    faultName="ns9:orderRejectedFault"
    faultVariable="orderRejectedFault"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'APPROVE'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is APPROVE</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_1"/>
    </sequence>
    </case>
    <otherwise>
    <bpelx:annotation>
    <bpelx:pattern>Task is outcome is EXPIRED, STALE, WITHDRAWN or ERRORED</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_2"/>
    </sequence>
    </otherwise>
    </switch>
    </sequence>
    </sequence>
    </scope>
    <scope name="CheckCreditCard">
    <variables>
    <variable name="InvokeCreditCardService_process_InputVariable"
    messageType="ns6:CreditCardServiceRequestMessage"/>
    <variable name="InvokeCreditCardService_process_OutputVariable"
    messageType="ns6:CreditCardServiceResponseMessage"/>
    </variables>
    <sequence name="Sequence_2">
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:testbpelProcessRequest/client:CreditCardNumber"/>
    <to variable="InvokeCreditCardService_process_InputVariable"
    part="payload"
    query="/ns6:CreditCardServiceProcessRequest/ns6:CreditCardNumber"/>
    </copy>
    </assign>
    <scope name="Scope_1">
    <compensationHandler>
    <sequence name="Sequence_7">
    <empty name="Empty_3"/>
    </sequence>
    </compensationHandler>
    <invoke name="InvokeCreditCardService"
    partnerLink="CreditCardService"
    portType="ns6:CreditCardService" operation="process"
    inputVariable="InvokeCreditCardService_process_InputVariable"
    outputVariable="InvokeCreditCardService_process_OutputVariable"/>
    </scope>
    <switch name="CheckCreditCardValid">
    <case condition="bpws:getVariableData('InvokeCreditCardService_process_OutputVariable','payload','/ns6:CreditCardServiceProcessResponse/ns6:result') = 'false'">
    <sequence name="Sequence_3">
    <assign name="AssignCreditFault">
    <copy>
    <from expression="string('Invalid credit card number')"/>
    <to variable="paymentFault" part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowCreditFault"
    faultName="ns7:CreditCardNumberFault"
    faultVariable="paymentFault"/>
    </sequence>
    </case>
    </switch>
    </sequence>
    </scope>
    <assign name="AssignInitial">
    <copy>
    <from expression="string('Select Manufacturer')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:result"/>
    </copy>
    <copy>
    <from expression="1"/>
    <to variable="n"/>
    </copy>
    <copy>
    <from expression="0.0"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('n') &lt;= count(bpws:getVariableData('inputVariable','payload','/client:testbpelProcessRequest/client:input'))">
    <sequence name="Sequence_1">
    <assign name="DoCalculation">
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload', concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:quantity')) * bpws:getVariableData('inputVariable','payload',concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:bookPrice')) + bpws:getVariableData('outputVariable','payload','/client:testbpelProcessResponse/client:price')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('n') + 1"/>
    <to variable="n"/>
    </copy>
    </assign>
    </sequence>
    </while>
    <assign name="Transform_2">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="Invoke_ShipmentService_execute_InputVariable"
    part="orderRequest"/>
    </copy>
    </assign>
    <invoke name="Invoke_ShipmentService" partnerLink="ShipmentService"
    portType="ns5:execute_ppt" operation="execute"
    inputVariable="Invoke_ShipmentService_execute_InputVariable"/>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:testbpelCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>
    CreditCardInvalidTest.xml:
    <?xml version='1.0' encoding='utf-8'?>
    <BPELTest processName="testbpel"
    xmlns="http://xmlns.oracle.com/bpel/instancedriver"
    xmlns:client="http://xmlns.oracle.com/testbpel">
    <initiate operation="initiate">
    <inboundMessage>
    <part fileName="testInput.xml" name="payload"/>
    </inboundMessage>
    </initiate>
    <activityDriver name="callbackClient">
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="false" patternMatch="false">
    <message>Expected "Select Manufacturer"</message>
    <actualPath>/client:testbpelProcessResponse/client:result</actualPath>
    <expected>Select Manufacturer</expected>
    </assertValue>
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="true" patternMatch="false">
    <message>Expected price of "1"</message>
    <actualPath>/client:testbpelProcessResponse/client:price</actualPath>
    <expected>1</expected>
    </assertValue>
    </activityDriver>
    *<activityDriver name="receiveCompletedTask_ApproveOrder_1">*
    *<emulate duration="PT">*
    *<inboundMessage>*
    *<part fileName="approverResponse.xml" name="payload"/>*
    *</inboundMessage>*
    *</emulate>*
    *</activityDriver>* <activityDriver name="InvokeCreditCardService">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="creditCardServiceResponse.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    <activityDriver name="initiateTask_ApproveOrder_1">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="getApproval.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    </BPELTest>

    Hi hi, on a hunch I previewed the page in the browser, and copy pasted the faces/untitled1 portion of the URL there and pasted on the http://<server_address>:8001/BasicAPPDemo_Root therefore ending with http://<server_address>:8001/BasicAPPDemo_Root/faces/untitled1 and lo and behold I saw the little text box saying "Hello World" ;D
    So with that i escalated, switched to the application where the page from BPM was located, deployed it and did the same trick.
    But it borked it gave this error:
    JBO-29115 Unable to construct the error message due to error java.lang.NullPointerException. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-.
    I figured that the Default generation could be faulty so i created a new page and only recycled the data controls, created everything in read mode, just to test and deployed, when i tested, i was optimistic as the 1st tab didn't had any error (also does not have anything related to the HumanTask, even the data controls) the problem was in the other tabs as I show here.
    Many thanks sirs, and sorry for wasting thy time.

  • Problem in BPEL Human task

    I am developing the BPEL process in jdeveloper11g. I used Human task for serial approvers.
    When I test the service I was able to see the Recive and Callback of human task.
    I want to Invoke partner link (used for DB adapter) whenever first approval approves the task . So that I can update the status of current approval as approved ( second approval status should be Pending), after approving from second approver only the second approver status should be updated as approved.
    but the procedure of updating status i.e.. Invoking partner link is executed after approved by all approvals.
    Please let me what I am missing.
    Thanks in advance.
    Sandeep.

    I am using Invoke activity to retrive data from data adapter . After that I am using While activity to iterate from the retrived data. And in While activity I placed Assign activity along with Invoke Activity to update retrived data.
    but here insted of iterating from each record it goes infinite loop.
    I have given "true () " as expression for While activity.
    please let me where I am missing. Please its very urgent.
    Thank you.

  • Human task callback error.

    We create a human task end add code to assign human task to a user.
    We want to catch and use additional operation when task assigned.
    But even we assign task to a user onTaskUpdated event triggeed against onTaskAssigned
    How can we correct this error.
    Thanks.

    The following is the reassignment task messege.
    why is it couses ontaskupdate fires?
    <?xml version="1.0" encoding="UTF-8" ?>
    - <taskUpdatedMessage xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    <action>REASSIGN</action>
    <updatedBy>B60712030</updatedBy>
    - <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <title>Bim Görev40555</title>
    - <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    - <bim_gorevProcessRequest xmlns="http://xmlns.oracle.com/bim_gorev">
    <ns1:GorevId xmlns:ns1="http://xmlns.oracle.com/bim_gorev">40555</ns1:GorevId>
    <ns1:iskiGorevId xmlns:ns1="http://xmlns.oracle.com/bim_gorev">40555</ns1:iskiGorevId>
    <ns1:NextUser xmlns:ns1="http://xmlns.oracle.com/bim_gorev">B60711410</ns1:NextUser>
    <ns1:NextGrup xmlns:ns1="http://xmlns.oracle.com/bim_gorev" />
    <ns1:TalepEdenUserId xmlns:ns1="http://xmlns.oracle.com/bim_gorev" />
    <ns1:TalepTarihi xmlns:ns1="http://xmlns.oracle.com/bim_gorev" />
    <ns1:BitenIsYuzde xmlns:ns1="http://xmlns.oracle.com/bim_gorev" />
    </bim_gorevProcessRequest>
    </payload>
    <taskDefinitionURI>http://vms:8888/orabpel/default/bim_gorev/1.2/BimGorevHumanTask/BimGorevHumanTask.task</taskDefinitionURI>
    <ownerUser>bpeladmin</ownerUser>
    <priority>3</priority>
    <identityContext>jazn.com</identityContext>
    - <processInfo>
    <domainId>default</domainId>
    <instanceId>10027</instanceId>
    <processId>bim_gorev</processId>
    <processName>bim_gorev</processName>
    <processType>BPEL</processType>
    <processVersion>1.2</processVersion>
    </processInfo>
    - <systemAttributes>
    <assignedDate>2008-05-14T08:37:58.930+03:00</assignedDate>
    - <assigneeUsers>
    <id>B60711410</id>
    </assigneeUsers>
    <createdDate>2008-05-14T08:37:58.930+03:00</createdDate>
    <digitalSignatureRequired>false</digitalSignatureRequired>
    - <fromUser>
    <id>B60712030</id>
    </fromUser>
    <hasSubTasks>false</hasSubTasks>
    <inShortHistory>false</inShortHistory>
    <isGroup>false</isGroup>
    <numberOfTimesModified>5</numberOfTimesModified>
    <passwordRequiredOnUpdate>false</passwordRequiredOnUpdate>
    <pushbackSequence>-1</pushbackSequence>
    <secureNotifications>false</secureNotifications>
    <state>ASSIGNED</state>
    <substate>REASSIGNED</substate>
    <taskId>0d520f0e3c7afdaf:45b85ed5:119bd8836aa:-72ee</taskId>
    <taskNumber>10116</taskNumber>
    - <updatedBy>
    <id>B60712030</id>
    </updatedBy>
    <updatedDate>2008-05-14T08:41:09.765+03:00</updatedDate>
    <version>5</version>
    <versionReason>TASK_VERSION_REASON_REASSIGNED</versionReason>
    <taskDefinitionId>default_bim_gorev_1.2_BimGorevHumanTask</taskDefinitionId>
    <taskDefinitionName>BimGorevHumanTask</taskDefinitionName>
    </systemAttributes>
    <systemMessageAttributes />
    <callback />
    <identificationKey>40555</identificationKey>
    </task>
    </taskUpdatedMessage>

  • Human Task Events's Validation Callback Errored out  while using EJB method

    Hi All,
    We are using weblogic version 10.3.5. and Jdev 11.1.1.5.0
    In our BPM Process we have human tasks,in human task Events,we are using Validation Callback to save and get some information.To save and get information we are ejb.
    1)We have created one BaseTaskValidator.java which implements ITaskValidationCallback.
    2)we have override the validateTaskOperation() method in BaseTaskValidator.java
    3)We have created one more TaskReminderService.java extends BaseTaskValidator
    4)In TaskReminderService.java,when we trying to get information from Database with help of EJB we are getting the below error.
    [2012-10-14T21:05:47.610+05:30] [soa_server1] [ERROR] [] [oracle.soa.services.workflow.task] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: Amar.Kant] [ecid: 1416ca41dee3590b:5c59d6e4:13a59f6159b:-8000-0000000000021e0b,0] [APP: soa-infra] [composite_name: ARCN] [component_name: CNRequestTask] [component_instance_id: 204583] [composite_instance_id: 1470009] <.> Error in invoking task validation callbacks.[[
    Error in invoking task validation Java callback com.atc.arcn.callbacks.BaseTaskValidator.performCallbacks for task 204583. The task is associated with workflow default/ARCN!1.0/CNRequestTask.
    Make sure that the task validation callback class is specified correctly without any errors. The class name should be fully qualified. Also make sure that the class and its dependencies are available in the classpath.
    ORABPEL-30099
    Error in invoking task validation callbacks.
    Error in invoking task validation Java callback com.atc.arcn.callbacks.BaseTaskValidator.performCallbacks for task 204583. The task is associated with workflow default/ARCN!1.0/CNRequestTask.
    Make sure that the task validation callback class is specified correctly without any errors. The class name should be fully qualified. Also make sure that the class and its dependencies are available in the classpath.
         at oracle.bpel.services.workflow.task.impl.TaskValidationCallbackInvoker.executeJavaCallback(TaskValidationCallbackInvoker.java:195)
         at oracle.bpel.services.workflow.task.impl.TaskValidationCallbackInvoker.performCallbacks(TaskValidationCallbackInvoker.java:104)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:1190)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:666)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:614)
         at sun.reflect.GeneratedMethodAccessor4268.invoke(Unknown Source)
         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 $Proxy250.initiateTask(Unknown Source)
         at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.initiateTask(TaskServiceBean.java:70)
         at sun.reflect.GeneratedMethodAccessor4267.invoke(Unknown Source)
         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 $Proxy280.createProcessInstanceTask(Unknown Source)
         at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl.createProcessInstanceTask(Unknown Source)
         at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl_1035_WLStub.createProcessInstanceTask(Unknown Source)
         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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy404.createProcessInstanceTask(Unknown Source)
         at oracle.bpm.papi.ora.util.ApplicationExecution11G.beginExecution(ApplicationExecution11G.java:50)
         at fuego.papi.utils.ApplicationExecution.beginExecution(ApplicationExecution.java:29)
         at oracle.bpm.workspace.model.common.ExecutionBean.handleExternalInstanceExecution(ExecutionBean.java:171)
         at oracle.bpm.workspace.model.application.ApplicationBean.execute(ApplicationBean.java:148)
         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.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.reflect.InvocationTargetException
         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 oracle.bpel.services.workflow.task.impl.TaskValidationCallbackInvoker.executeJavaCallback(TaskValidationCallbackInvoker.java:191)
         ... 344 more
    Caused by: java.lang.NullPointerException
         at com.atc.arcn.util.TaskReminderService.getTaskDetails(TaskReminderService.java:72)
         at com.atc.arcn.util.TaskReminderService.setReminderDuration(TaskReminderService.java:64)
         at com.atc.arcn.util.TaskReminderService.setReminderDuration(TaskReminderService.java:56)
         at com.atc.arcn.callbacks.BaseTaskValidator.processInitiate(BaseTaskValidator.java:96)
         at com.atc.arcn.callbacks.BaseTaskValidator.validateTaskOperation(BaseTaskValidator.java:52)
         ... 349 more
    Please help on this issue.It is little bit urgent for us to resolve.
    Thanks in advanced.

    Thanks for reply Ravi.
    The NullPointerException is beacuse of JNDI problem,we resolved that issue.We are able to create the ejb instance but with that instance when we are trying to call ejb method,we are getting the below error in console and the BPM instance is not getting created.
    We are able to create the instance of the EJB Bean.But when we try to call the method of EJB Bean(getTaskDetailsByTaskName(taskName)),the BPM instance is not getting created from BPM workspace.If we comment the code for the method of EJB Bean(getTaskDetailsByTaskName(taskName)) able to create the instance from BPM workspace.When we checked the log file this error,it is
    Caused by: fuego.papi.exception.CannotCreateInstanceException: Cannot create instance in process 'default/ARCN!1.0*/ARCN'.
         at oracle.bpm.papi.ora.helper.ExceptionHelper.wrapException(ExceptionHelper.java:58)
         at oracle.bpm.papi.ora.util.ApplicationExecution11G.beginExecution(ApplicationExecution11G.java:56)
         at fuego.papi.utils.ApplicationExecution.beginExecution(ApplicationExecution.java:29)
         at oracle.bpm.workspace.model.common.ExecutionBean.handleExternalInstanceExecution(ExecutionBean.java:171)
         ... 102 more
    Caused by: BPM-70204
    Exception
    exception.70204.type: error
    exception.70204.severity: 2
    exception.70204.name: Error creating process instance.
    exception.70204.description: Error creating instance for target process default/ARCN!1.0*/ARCN.
    exception.70204.fix: Verify server log to find the problem cause.
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl_1035_WLStub.createProcessInstanceTask(Unknown Source)
         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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy407.createProcessInstanceTask(Unknown Source)
         at oracle.bpm.papi.ora.util.ApplicationExecution11G.beginExecution(ApplicationExecution11G.java:50)
         ... 104 more
    Could you please suggest me on this issue.
    Thanks,
    Narasimha

  • Missing Task Outcomes in ADF Project for BPEL Human Task

    Hi
    I am using SOA Suite 11g (11.1.1.5) and have created a Human Task in my composite application and then auto-generated the appropriate task form using the wizard which has been successful and created the ADF project.
    My task has 3 outcomes the responses of which are then mapped out in the BPEL process.
    When the human task is raised it puts a notification in the BPM worklist as expected however the 'Actions' list on the notification is blank? I was expecting there to be 3 values in the Actions list one for each of my outcomes.
    I have tried re-building the ADF project from scratch from the task flow but still no joy.
    I have not changed the ADF project over its default.
    My next step is to look into the binding on the Actions picklist but I thought this was standard functionality and that the wizard handled this at the point of form generation.
    Any assistance greatly appreciated.

    Hi
    I am using SOA Suite 11g (11.1.1.5) and have created a Human Task in my composite application and then auto-generated the appropriate task form using the wizard which has been successful and created the ADF project.
    My task has 3 outcomes the responses of which are then mapped out in the BPEL process.
    When the human task is raised it puts a notification in the BPM worklist as expected however the 'Actions' list on the notification is blank? I was expecting there to be 3 values in the Actions list one for each of my outcomes.
    I have tried re-building the ADF project from scratch from the task flow but still no joy.
    I have not changed the ADF project over its default.
    My next step is to look into the binding on the Actions picklist but I thought this was standard functionality and that the wizard handled this at the point of form generation.
    Any assistance greatly appreciated.

  • Migrating 10g Human Task Bpel process to 11g - No task flow

    Hi All,
    I have migrated a bpel process that has a human task to 11g. I need to stipulate the uri so that it will show on the worklist.
    Apparently there is a file in the WEB-INF folder that i must reference. I went into the folder and there is many xml files(adfc-config.xml,faces-config.xml,trindad-config.xml, web.xml, weblogic.xml) there is no file generated from the migration. Hence how do i go about to get the correct uri and for the worklist to show.
    Below is an incomplete uri
    /workflow/ExceptionHandlerTaskForm//faces/adf.task-flow?_id=ExceptionHandler_WF_1_TaskFlow&_document=WEB-INF/

    failed to get solution

  • How to map payload from Human Task to BPEL

    Hi,
    I have created a human task form for which I send two parameters from the BPEL process.
    The user is able to update the fields containing the sent parameters and then click 'APPROVE' or 'REJECT'. However, I need the values of the updated fields to be returned and not the 'APPROVE' or 'REJECT strings.
    Can anybody help me with this?
    Alex

    Hi Alex,
    If you checked the Editable via worklistapp box then you dont need to update the values.
    These values automatically update the values of these parameters in human task if you properly mapped the values.
    Regards,
    Priyanka

Maybe you are looking for

  • Sort downloads by file name not type?

    Wondering if anyone can help me here. I'm trying to either make a script or automator workflow that will sort my downloads by file name, not file type. To cut to the point, I'd like say Reno 911, The Daily Show and the Colbert Report to go to a Comed

  • Retaining folder structure on imported photos.

    Thank you for reading this.  I just purchased an Ipad to be used as a sales device for our design team.  I have a folder of thousands of pre sorted and categorized pictures on my PC desktop that i want to import to the ipad while retaining the folder

  • Maintaining subtypes  for 210 infotype federal withholding

    Hi Gurus, I would like to know, if subtypes are not maintained for infotype 210? will this impact calculation of federal taxes for any state? .Help is appreciated. Thanks, Fred

  • J2se bluetooth application ...

    HI All i am trying to make file transfer application in j2me with bluetooth.. server is my mobile and client is pc. after acceptAndOpen my midlet stops means hangs and exception also not thrown on both the side. Also 1 problem is that i am printing u

  • Strange ipod recognition issues?

    using my macbook pro, my 1st gen shuffle is recognised as an old 3rd gen windows ipod with no serial number or software version showing. when i dock it to my other machines (a macbook and another macbook pro) it shows up fine and as an up to date shu