Any Possibilities to Customize Oracle 11g BPM Worklist

Hi all,
My Requirement is to Customize the Oracle 11g BPM WorkList App. I realise that Oracle no longer provide the code for the worklist app like in 10g and i don't want to write a custom worklist app.
If Possible what will be the procedure actually to follow, If anybody could help me to make it possible it would be a great help.
What we're trying to do is to see if we can block some options on the screens. So we do not need all of the enhanced functionality.
Renuka

Hi Ashif
1. The source code for SOA 11g is NOT available. You cannot customize any files and redploy directly. The main difference for 10g and 11g is, earlier SOA 10g is on Oracle App Server, so not sure how they deployed and how they exposed the source code in the Expanded folder structure for each WAR file like Workspace etc.
But for SOA 11g, it is on Weblogic App Server. All the SOA modules are deployed as EARs, WARs, JARs. So all the source .java files are compiled inside JARs and most of the jsps and serverlets are compiled as .class files inside WARs. Some people do go to soa domain/servers/soa_server/tmp folder and try to modify files there after they are deployed. This is totally not recommended and not supported also. When any soa module is deployed, it goes into dynamically generated weirdly named folder structure and puts all files there. Its not worth to modify there.
Also in SOA 10g, there was like a workspace.properties file directly accessible. But in SOA 11g, now this file is deep inside in one JAR/WAR file which is inside another EAR file. Now some people do extract this JAR from EAR. And from JAR, extract the .properties file. Update the file manually. Put modified file in JAR. Put this updated JAR in EAR. Redploy EAR. This is OK approach, but still not recommended. Because when you apply any patch or upgrade soa env, this EAR will be overwritten. So you had to redo all the steps again.
For Workspace/Worklist customizations, Oracle has some good features in SOA 11.5 + FP (Feature Packe). Only if you apply FP, you will get these features. Since it is very common usecase, for customizations, Oracle is working hard in new releases to give more flexibility.
Also, SOA 11g has very good APIs exposed and good number of call back handlers like ITaskValidationCallback etc etc. You can pretty much control most of the things when a Task is worked on like set/update Payload manually, control task assignment/validation etc using Java code etc. So you can use these approaches also to customize. Say if you want to narrow down list of users who can work on a Task, you can do this.
Also there is something called Flex Fields and Custom Views which come very handy to expose custom search results to different users/groups etc.
Since you are above to migrate to SOA 11.5, first apply Feature Pack (FP) to SOA 11.5 and then migrate your old app.
Thanks
Ravi Jegga

Similar Messages

  • Oracle 11g BPM Worklist

    Hi all,
    Just wondering if anyone has attempted to customise the out of box Oracle 11g BPM worklist app? I realise that Oracle no longer provide the code for the worklist app like in 10g and i don't want to write a custom worklist app. What we're trying to do is to see if we can add a tab to the top where it already has "My Tasks", "Initiated Tasks", "Administration Tasks" etc. Or at the very least, have a link/button of some sort in the worklist app to redirect to another website.
    Thanks
    sk
    Edited by: user5535771 on Apr 15, 2010 5:23 PM

    Hi,
    Oracle doesn't provide the source code 11g Worklist. If you want to customize the existing worklistapp, then you can try modifying the jsfs in exploded directory, but that requires tedious knowledge in ADF.
    I would recommend to write your custom worklist app. Oracle provides various taskflows available in JDeveloper, you can just include them in the application to make things work.

  • Project Variable limitation in Oracle 11G BPM

    hi,
    Is there any limitation with Oracle 11G BPM on the number of project variable that can be created for a given BPMN processs ??
    example , instance is not getting created if the number of int Project variable is more than 10. If there are 10 INT project variable , instance getting created ...
    Thanks

    Hi,
    Oracle doesn't provide the source code 11g Worklist. If you want to customize the existing worklistapp, then you can try modifying the jsfs in exploded directory, but that requires tedious knowledge in ADF.
    I would recommend to write your custom worklist app. Oracle provides various taskflows available in JDeveloper, you can just include them in the application to make things work.

  • How to query Task via instanceId  as argument in Oracle 11g BPM Java API ?

    hi,
    Is any one successful of getting Task Object  with InstanceId as argument using TaskQueryService or InstanceMangementService ? If So please provide the API.
    I am actually looking to assign a task to participant via JAVA api .
    Thanks

    You will have to query the base tables which are
    OE_ORDER_HEADERS_ALL and
    OE_ORDER_LINES_ALL

  • Exploded Directory path for BPM Worklist Applications

    Hi All,
    If anybody could tell me the location of Exploded Directory where all the existing worklist apps related jsfs are available it would be a great help for me to do some sort of Customization to the out of box Oracle 11g BPM worklist app.
    Durga.

    Hi Durga
    1. Assuming you have a standard SOA/BPM Domain with one AdminServer and one SOA_SERVER1, here is the location where most of the modules are exploded and stored: /yourWeblogicSOAHome/user_projects/domains/yourSOABPMDomain1/servers/soa_server1/tmp. Under this tmp folder, you will see bunch of sub-folders and they have some more sub-folders. It is really tedious if you really want to cusotmize and modify files located at this location. I would strongly NOT recommend this. The files in tmp folders are not gauranteed. Afterall they are temporary file. And most of the times, when I restart my SOA SERVER, I always delete cache, tmp and logs folders. So you will loose all changes and you had to take back up of your changes and restore them.
    2. If you really want customizations like increase timeout say for example, you should use weblogic console, deployments, that war/ear and modify and store the changes in custom plan.xml file.
    3. If you really want to customize some jsff stuff, figure out which EAR/WAR is having that file. You can use general perception. Then directly go to the actual EAR and extract and get JAR/WAR. Then extract contenst of WAR and then modify jsff etc. Put jsff with same path back in war and put war back in EAR. Most of the soa modules are located at /yourWeblogicHome/Oracle_SOA1/soa/modules. The most important modules that has core files are like bpm-services which are at: /yourWeblogicHome/Oracle_SOA1/soa/modules/oracle.soa.workflow_11.1.1 and actual data controls/ui stuff in bpm-workflow-datacontrol.jar file in the same above module. ALWAYS take back up of original EAR/WAR/JAR before you extract and make changes.
    4. Last option is you create your own Custom Worklist app which is not very simple (I would say), unless you want very basic minimum stuff.
    Thanks
    Ravi Jegga

  • Installation of Oracle 11g 32 bit Client on Windows 7 (32 bit) laptop.

    Hi,
    I just got a new Laptop with Windows 7 (32 bit) operating system.
    Has any one successfully installed Oracle 11g client on in Windows 7 environment and if so what are the steps involved.
    In the past I have never had any trouble installing an Oracle client on a Windows work station.
    Thanks,
    Ashim.

    Oracle hasn't officially supported 11g on windows 7. folks have installed it successfully too. Check the below threads.
    Re: 11g R1 database installation is successful on windows 7 64-bit
    Oracle 11g on Windows 7
    Re: DB 11gR2 for Windows ??
    HTH
    -Anantha

  • Oracle 10gr2 locally is not working after  installing Oracle 11g

    hi ,
    Does anyone has any idea after installing oracle 11g in system, Oracle 10g locally is not working. I am getting below error.
    Forms session <2> failed during startup: no response from runtime process

    Generally this is because the software you install last updates the system environment variables with its information, thereby break products that use files with similar names. Specifically, look at PATH and ORACLE_HOME. Likely you will see that entries for your 11g installation will be displayed first. In order to use v10, you would need to change this or use script files to start executibles. For Forms runtime, be sure to properly set default.env to point to the desired PATH

  • Mapinfo 9.0 and Oracle 11g

    Hi,
    Has anyone managed to open any spatial data from Oracle 11g using Mapinfo 9.0?
    Thanks
    Pieter

    Hi all,
    My case is my MI 9.0 cannot access spatial data in Oracle Spatial 10gR2. But i thought it was just me, maybe i did not configure it correctly or other connection settings.

  • Customizing Reports In BPM Worklist

    Hi all
    I have a 11g BPM worklist. Inside the BPM worklist i find a Link called *"Reports"*,going into it iam able to find 5 reports which is defaulty available. Now my question is that how can i create my own reports inside BPM worklist. Where do i need to make changes to create my own reports other than these 5 default reports.
    Thanks

    The documentation has not been updated since early days of planning, I am not even sure if it is still valid as in my experience it is hardly ever used.
    If you are version 11.1.2 then I would assume it would be the file in the planning product installation directory.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to Customize home page of Oracle BPM Worklist

    Hello all,
    We are using SOA 11.1.1.5.
    When we open BPM Worklist http://IPAddress:7003/integration/worklistapp by default it is showing Home page(home.jspx) and it is showing 3 tabs :- My Tasks, Initiated Tasks, Administrative Tasks.
    (1) Our requirement is we want to hide Initiated Tasks and Administrative Tasks. We only want to show My Tasks tabs to the user.
    I tried but couldn't find any solution.
    Now when the user clicks on any task, It opens the task details in preview pane below and also it opens the same task details in new window.
    (2) One more requirement is to disable the preview pane which shows the task details below.
    Please Help.
    Thanks

    When i searched in deployments in 7001/console I found 1 worklist.war deployed.
    I found it at Oracle\Middleware\user_projects\domains\base_domain\servers\soa_server2\tmp\_WL_user\worklistapp\r8n7fr\worklist.war
    I also found home.jspx file at the location
    Oracle\Middleware\user_projects\domains\base_domain\servers\soa_server1\tmp\_WL_user\worklistapp\960vxc\war\home.jspx
    which is using some page templates.
    Can we modify these jspx pages as per our requirement ?
    How can we achieve this?
    Please Help.
    Thanks

  • BPM 11g : Custom BPM Worklist Application

    Hi ,
    I am trying to build a Custom BPM Worklist App using the instructions provided in
    http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/bp_worklistcust.htm#CIHDAABE
    The tutorial talks about building a URL similar to
    http://<soa_server>:8001/integration/worklistapp/TaskDetails?taskId=c848ca41-71ae-4852-b774-518e1354aa8e
    in order to navigate to the specific task.
    The above URL does not work for me. I get a 404 Error page.
    Please help me to get around this issue.
    Thanks
    Rakesh

    Hi,
    I also face the issue to port Worklist in JSP or portal other than using adf.
    I am using SOA 11.1.1.2 and using BPEL and Human workflow. I did a complete flow from JSP ->BPEL->Human worlist. Whenever i
    submit a form values in JSP, it hits BPEL and i am
    getting proper message list in Human worklist and wherein i can able to assign, escalate and delegate tasks.
    Now i need to customize the worklist in Weblogic Portal 10g or to JSP. My requirement now is to port the Worlist default skins to jsp or Portal.
    I also gone through SOA 11g developers guide and in worklist sections but no idea how to implement.
    If any body knows please advise.
    Thanks..
    -Bharathi

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

  • Oracle 11g SOA-BPM PS3 Installation Help

    I'm not a super techie, so installing the latest release from Oracle was a challenge, but I encountered a number of problems and kept notes of what I did to solve it. Many of these hints came from the Forum, but nothing had all of the relevant info under one thread. So here is what I pieced together. If this is helpful to anybody, I'd love to hear it - either on this thread or at my e-mail address of [email protected]. My thanks to Linus Chow of Oracle for some help and allowing me to think I could do this!
    Comments/Suggestions on Oracle 11g SOA-BPMN PS3 Installation_
    Suggest downloading all files into a common directory. I stuck this folder at the root (C:) drive. At collectively just over 5 GBs, the downloading will take several hours (for me it was a full day, as did the installation). You will need an OTN account to be able to download the software. A good overview of PS3 is at the following link: http://blogs.oracle.com/bpm/2011/01/bpm_suite_11gr1_ps3_released.html.
    General comment/suggestion. Be sure to name the aforementioned folder without any spaces (big problems if this is done because of how unzipped files do/don’t work with a path name with spaces in it). As the installs get started, note that an Oracle directory (under the root) with a default name for the middleware directory, named Middleware, is created as the default.
    The link with the installation is actually helpful, but it is incomplete (http://www.oracle.com/technetwork/middleware/bpm/downloads/index.html). Some of the detail needed is in the quick installation guide (http://download.oracle.com/docs/cd/E17904_01/install.1111/e14318/toc.htm, and I suggest downloading the PDF version), but the order conflicts with the previous information. I resolved this by using the latter for detail, but the former for the sequence. I also had to turn to several blogs/forums (the main one being: http://blogs.oracle.com/SOA/2009/08/installing_oracle_soa_suite_11.html) to get help on troubleshooting problems with the installation (see below for others).
    I have a Windows 7 Professional 64-bit version, but I ended up following the path for the 32-bit install path (see the main link cited above), mostly because it was unclear to me what the 64-bit path would be. I also already had the 32-bit version of the JRE installed. The following links cover identifying the differences and what you may have installed as well as alternative versions to download: http://www.java.com/en/download/faq/index_general.xml?user_os=Windows%207; http://www.java.com/en/download/faq/java_win64bit.xml; and http://www.java.com/en/download/manual.jsp.
    Another general comment/suggestion. I found it useful to reboot after each step. It shut down services that I would otherwise have to search for and shut down manually. Some of the installations require services activated by previous steps to be turned off, so you’re better off doing something like this rather than encountering such an error in a subsequent step.
    Step 1: Installing the XE database. The file is an .exe file, and will execute upon a double click. However, the instruction regarding RCU is best saved until the 3rd step, doing it just before you install the RCU. More importantly, there are some things to keep in mind about the database install. First, after installation, you should sign on to the DB, using the Go To DB Home Page option under the Express Edition (XE) folder or set of menu options (created as part of the installation), under the SYSTEM user account. During installation, you’ll have to have given a password for this account, so make sure it is one you can remember. After signing on as SYSTEM, give the SYS user account another (or same) password that you can remember. You will use the SYS account in subsequent steps. Second, there is a parameter for the database that must be changed from the default. This is covered in the links below: http://blogs.oracle.com/tridib_samanta/2010/03/rcu-6107db_init_param_prerequisite_failure_for_processes.html and http://cn.forums.oracle.com/forums/thread.jspa?threadID=1004605. To solve this, select SQL button on the DB home page, then SQL Commands button on the next page, paste/enter into the pane at the top the following command, “ALTER SYSTEM SET processes=300 SCOPE=SPFILE;” (but without the quotes), and then click on the Run button. (The parameter must be greater than or equal to 200, but I found references to setting in equal to 300 or 500.) Then you can log out and close the web page.
    At times, the DB might not be started when you are expecting it to be running (e.g., after a reboot), which is covered in this link: Oracle 10g database homepage not working? (You’ll know that it is isn’t running if you try to open the Go To DB Home Page option and it won’t open, displaying an error page instead.) I found that the simplest way to fix this was to go to the Control Panel, Administrative Tools, Services, and then look to see if the OracleServiceXE service is started. If not, then restart by right-clicking on that service listing and choosing the appropriate option to execute.
    Step 2: Installing WebLogic Server. Either before or during this process, you will need to set up an Oracle Support Account. However, you need a customer ID to be able to create a profile. I was thus not able to complete a profile, so the WLS installation defaulted to the Anonymous registration option. This still needed an e-mail address though, the same one with which you would create the Oracle Support profile, so you should have one at the ready. (It would not accept the e-mail address for my OTN account.) As far as I can tell, the consequence of this path is that I cannot automatically get patches and such. I figure this is a problem to be solved another day. The Oracle Support links are: https://support.oracle.com/CSP/ui/faq_en.html#SignIn and https://support.oracle.com/CSP/ui/flash.html.
    If you go with the default, the middleware directory is just Middleware under the Oracle directory. If you select a different name or location, you will need to remember where it is and what the name is. You should also note the folder name for where the JDK was stuck, which for me was JDK160_21 under the Middleware directory.
    Step 3:  Installing RCU. The trickiest of the steps. Unlike with the previous two steps, this installation first happens after the downloaded file is unzipped. You MUST unzip into a directory for which the full path name (and not just the one you create upon extraction) is without any spaces. (You can use the underscore symbol instead of a space to indicate separation.) Unzip the folder/files, and then open the Command Prompt window. Using the cd command, work your way to the full path name to where you just unzipped these files. Next, continue to work your way down to subfolders created during the extraction process. You want to end up at the rcuHome\BIN\ subfolder. THEN do the RCU-related command cited in Step 1. Type in at the prompt the following command and hit enter: set RCU_JDBC_TRIM_BLOCKS = TRUE. Then, type in rcu.bat at the prompt and hit enter, which will run the installation and configuration sequence. This is realized through a series of windows that open for you to input information and make selections. Use the document at the following link of specific guidance as to what the configuration screens should have entered on them: http://blogs.oracle.com/SOA/2009/08/installing_oracle_soa_suite_11.html. This includes things like the service name (XE) and the host name (localhost) to enter, assuming you are installing this on a laptop or PC for local use only. Some other helpful links for troubleshooting the RCU installation are located at: http://download.oracle.com/docs/cd/E12839_01/doc.1111/e14259/rcu.htm#CIHGHDBG; http://oraclebi.blogspot.com/2010/08/rcu-and-what-it-means-for-you.html ; Re: RCU 11.1.1.4 install fails on Oracle XE and http://cn.forums.oracle.com/forums/thread.jspa?threadID=2162409&tstart=0&messageID=9336791.
    The RCU sets up DB schemas and the like for the BPMN and SOA stuff. The screenshots in the previously mentioned document should be followed exactly. You can also refer to pp. 5-6 of the Quick Installation Guide. You should use the SYS user account (the default, I think), so have the password handy.
    I also found it more comforting to shutdown the RCU installation/configuration via the cancel option than to keep going back a screen to fix something. This may not have been necessary, but it made me feel better. Be prepared for interim screens that pop up to show that the installation/configuration is happening, which will also tell you there are errors. One such screen says that XE isn’t supported for RCU, but you can ignore that (as the supporting guidelines indicate).
    Step 4:  Installing JDev. This is an executable, and you just install with all of the defaults. This process will start the WLS as part of the installation, so you must turn it off before going to the next step. Again, I just rebooted to do this.
    Step 5:  Installing SOA Extensions for JDev. Instructions on the page at the main link are clear and correct. The 2 screen shots must be reviewed and adhered to completely in checking off options. The first selection defines the areas where updates are to be sought out, while the second selection is from the available option(s) from those areas. In this case, you are only installing the SOA Composite Editor, though there are several other updates/extensions from which to select (but don’t, at least for now).
    Step 6: Installing BPM Extensions for JDev. Same comment as for Step 5, except that the option you want to select is not as what is indicate (the BPM Composite Editor) but the BPM Process Studio! I would advise against doing these as part of the same update sequence. In fact, I closed out JDev completely (though I did not reboot) between Step 5 and Step 6.
    Step 7 and 8:  Installing SOA Suite. I suggest unzipping both of the downloaded zip files. Again, it is critical that the full path name into which files are extracted contains no spaces. Once unzipped, you should navigate to the Disk1 folder under the directory into which the first zip file was extracted, but you should do this with the Command Prompt window and the cd command. From this prompt, you should type in “setup.exe -jreLoc {location of JDK}” (without the quotes) and hit enter. The {location of JDK} is where the JDK was installed as part of the WLS installation. For me this was in folder JDK160_21 under the Middleware folder in the Oracle directory. Refer to pp. 12-15 of the Quick Installation Guide. This took me a couple of tries before I actually got the installation screen to show up correctly. Some of what this looks like is also in the following link: http://blogs.oracle.com/SOA/2009/08/installing_oracle_soa_suite_11.html.
    What you may eventually figure out is that 5 installation disks are stretched across two zip files. Once the installation of disks 1 and 2 are done, a popup window will ask you to browse to the folder where each of the next 3 disks are, which is in the folder created by the extraction of files/folders from the second zip file for the SOA Suite. As with previous steps, I rebooted after all of this was done.
    Step 9:  Installing the Business Process Converter. Unzip the downloaded file, and open the Installation Instructions Word file. It will instruct you to point JDev’s update sequence to another zip file extracted during the unzipping of the downloaded zip file for the converter. JDev will install this without much fuss or muss, but this installation is to the Studio and not to BPA. (For installation to BPA, you need to have installed BPA, and followed the other guidance in the instructions.) To get to JDev’s update sequence, follow the same first step as in Step 5, but check the option to browse for and upload from a local file. This local file will be the previously mentioned other zip file.
    -------------------------------------------------

    Create a new user oracle and proceed with the installation
    --> useradd -g oinstall oracle
    If your are forwarding your GUI using xming or vnc you would need to copy the xauth of root user and set it to oracle
    [server1:root] xauth list
    bangvmpllE.com/unix:11 MIT-MAGIC-COOKIE-1 b23d63374fe25a3577751b6b95b2210e
    [server1:root] sudo su - oracle
    [server1:oracle] export DISPLAY=localhost:10.0
    [server1:oracle] xauth add bangvmpllE.com/unix:11 MIT-MAGIC-COOKIE-1 b23d63374fe25a3577751b6b95b2210e

  • Task details in BPM worklist on SOA 11g could not retrieved.Experts plz adv

    Hi,
    This is regarding issues when I click on the Task details on the BPM worklist 11G. I am invoking a BPEL process using custom JSP and from the custom JSP form values are
    sent to BPEL and from BPEL i am invoking the Human workflow.
    Tech used: BPEL 11.1.1.2, RCU 11.1.1.2.1, WLS 10.3.2 and DB 10.2.0.4
    I am using one jsp named "myFlow.jsp" to call the BPEL process and i can able to get the Task in worklist but i click on "Task details" , i am getting "404 error".
    Note: There was no errors when i tried with ADF autogenerated form. I can able to approve, reassign and do all operations.
    I got one soultion for that, i mean i have to create another custom jsp(taskDetails.jsp) to fetch the values based on the Task Id and finally i have to give that URI in EM to fetch the details.Today i created that also but i dont know how to give the URI IN EM for the task details jsp. I am refering soa developes guide also to get the API's.
    My Ref: http://sqltech.cl/doc/oas11gR1/integration.1111/e10224/bp_worklistcust.htm
    http://docs.tpu.ru/docs/oracle/en/owl/E14571_01/integration.1111/e10224/bp_designtf.htm
    1. myFlow.jsp used - To initiate the BPEL to create a Task in worklist.(By mistake i gave this URI in EM and i am getting the same request page in the task details). Now i created another jsp which queries the task details based on the Task ID. i dont know how to give the URI in EM for this Jsp.
    2.taskDetails.jsp - Used to retrive the task details based on thr Task id.
    Both Jsp's are displayed below. Please advise how to fetch the task details.
    worklist API provided by oracle is used to fetch only the metadata on the Task details but i have to get all the form values also in the task details that has been submitted
    by my Jsp(myFlow.jsp)
    Both are shown below,
    *1. myFlow.jsp*
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%--
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.dispatch.IDeliveryService" %>
    --%>
    <%@page import="oracle.fabric.common.NormalizedMessage" %>
    <%@page import="oracle.fabric.common.NormalizedMessageImpl" %>
    <%@page import="oracle.soa.management.facade.Locator" %>
    <%@page import="oracle.soa.management.facade.LocatorFactory" %>
    <%@page import="oracle.soa.management.facade.Composite" %>
    <%@page import="oracle.soa.management.facade.Service" %>
    <%@page import="oracle.soa.management.facade.CompositeInstance" %>
    <%@page import="oracle.soa.management.facade.ComponentInstance" %>
    <%@page import="oracle.soa.management.util.CompositeInstanceFilter" %>
    <%@page import="oracle.soa.management.util.ComponentInstanceFilter" %>
    <%@page import="java.util.Hashtable" %>
    <%@page import="java.util.UUID" %>
    <%@page import="java.util.List" %>
    <%@page import="java.util.Map" %>
    <%@page import="javax.xml.transform.*" %>
    <%@page import="javax.xml.transform.dom.*" %>
    <%@page import="javax.xml.transform.stream.*" %>
    <%@page import="javax.naming.Context" %>
    <%@page import="org.w3c.dom.Element" %>
    <%@page import="java.io.*" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>myFlow</title>
    </head>
    <body>
    <%
    String ssn = request.getParameter("Name");
    if (ssn == null)
    %>
    <h3>Invoke BPEL Application</h3>
    <h4>NYC Application Form</h4>
    <form>
    <table>
    <tr>
    <td>NAME:</td>
    <td><input type="text" name="Name"></td>
    </tr>
    <tr>
    <td>NRIC Number:</td>
    <td><input type="text" name="NRIC" value="12345678"></td>
    </tr>
    <tr>
    <td>Gender:</td>
    <td><input type="text" name="Gender" value="Male"></td>
    </tr>
    <tr>
    <td>Race:</td>
    <td><input type="text" name="Race" value="Indian"></td>
    </tr>
    <tr>
    <td>Occupation:</td>
    <td><input type="text" name="Occupation" value="IT"></td>
    </tr>
    </table>
    <input type="submit" value="Submit">
    </form>
    <%
    else
    String Name = request.getParameter("Name");
    String NRIC = request.getParameter("NRIC");
    String Gender = request.getParameter("Gender");
    String Race = request.getParameter("Race");
    String Occupation = request.getParameter("Occupation");
    // 3. Initiate the BPEL process here
    //Locator locator = new Locator("default","bpel");
    //IDeliveryService deliveryService = (IDeliveryService) locator.lookupService(IDeliveryService.SERVICE_NAME );
    // Construct a normalized message and send to Oracle BPEL Process Manager
    //NormalizedMessage nm = new NormalizedMessage();
    // nm.addPart("payload", xml);
    // Initiate the BPEL process
    // deliveryService.post("myFlow", "initiate", nm);
    try {  
    Hashtable jndiProps = new Hashtable();
    jndiProps.put(Context.PROVIDER_URL, "t3://172.16.16.202:8001/soa-infra");
    jndiProps.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    jndiProps.put(Context.SECURITY_PRINCIPAL, "weblogic");
    jndiProps.put(Context.SECURITY_CREDENTIALS, "weblogic1");
    jndiProps.put("dedicated.connection", "true");
    out.println("====Got Values======" + jndiProps.get(Context.PROVIDER_URL));
    String inputPay = "<nycproject xmlns=\"http://xmlns.oracle.com/NycDesignApps_jws/NycDesignComp/NycDesignProcess\">\n"
    + "<Name>" + Name + "</Name>\n"
    + "<NRIC>" + NRIC + "</NRIC>\n"
    + "<Gender>" + Gender + "</Gender>\n"
    + "<Race>" + Race + "</Race>\n"
    + "<Occupation>" + Occupation + "</Occupation>\n"
    + "</nycproject>\n";
    Locator locator = null;
    //http://xmlns.oracle.com/TestDesignApp_jws/TestDesignComp/TestProcess
    //http://xmlns.oracle.com/NycDesignApps_jws/NycDesignComp/NycDesignProcess
    // connect to the soa server
    locator = LocatorFactory.createLocator(jndiProps);
    out.println("Connected after Locator - Available domains==>>" +locator.getDomains());
    // find composite
    String compositeDN = "default/NycDesignComp!1.0";
    Composite composite = locator.lookupComposite("default/NycDesignComp!1.0");
    out.println("Got Composite : "+ composite.toString());
    //out.println("Got Composite : "+ composite.getCompositeDN().toString());
    // find exposed service of the composite
    Service service = composite.getService("nycdesignprocess_client_ep2");
    out.println("Got serviceName : "+ service.toString());
    NormalizedMessage input = new NormalizedMessageImpl();
    //String uuid = "uuid:" + UUID.randomUUID();
    //input.addProperty(NormalizedMessage.PROPERTY_CONVERSATION_ID,uuid);
    input.getPayload().put("project", inputPay);
    Map payload = input.getPayload();
    out.println("Payload : "+ payload);
    out.println("input : "+ input);
    // process is the operation of the employee service
    //NormalizedMessage res = null;
    //NormalizedMessage input1 =null;
    try { 
    //res = service.request("process",input);
    //input1=service.request("process", input);
    service.post("process", input);
    } catch(Exception e) { 
    e.printStackTrace();
    out.println("Inside Catch1" + e.getMessage());
    //service.post(arg0, arg1);
    }catch(Exception e) {
    out.println("Inside Catch2" + e.getMessage());
    e.printStackTrace();
    %>
    </body>
    </html>
    *2.taskDetails.jsp*
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=EUC-KR"%>
    <%@page import="java.util.*" %>
    <%-- <%@ page import="com.oracle.jay.WorklistClient"%> --%>
    <%@page import="oracle.bpel.services.workflow.client.IWorkflowServiceClientConstants" %>
    <%@page import="oracle.bpel.services.workflow.client.IWorkflowServiceClient" %>
    <%@page import="oracle.bpel.services.workflow.verification.IWorkflowContext" %>
    <%@page import="oracle.bpel.services.workflow.client.WorkflowServiceClientFactory" %>
    <%@page import="oracle.bpel.services.workflow.query.ITaskQueryService" %>
    <%@page import="oracle.bpel.services.workflow.task.model.Task" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=EUC-KR"/>
    <title>TaskDetailsTest</title>
    </head>
    <body>
    <%
    String bpmWorklistTaskId = request.getParameter("bpmWorklistTaskId");
    String bpmWorklistContext = request.getParameter("bpmWorklistContext");
    Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String>
    properties = new HashMap<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String>();
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.MODE, IWorkflowServiceClientConstants.MODE_DYNAMIC);
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3://172.16.16.202:8001");
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS, "weblogic1");
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "weblogic");
    IWorkflowServiceClient client = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT, properties, null);
    IWorkflowServiceClient wfSvcClient =
    WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.SOAP_CLIENT, properties, null);
    //IWorkflowServiceClient wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.JAVA_CLIENT);
    IWorkflowContext ctx = null;
    ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
    ctx = querySvc.getWorkflowContext(bpmWorklistContext);
    Task humanTask = querySvc.getTaskDetailsById(ctx, bpmWorklistTaskId);
    out.println("<br>Task Number: " + humanTask.getSystemAttributes().getTaskNumber());
    out.println("<br>Task Id: " + humanTask.getSystemAttributes().getTaskId());
    out.println("<br>Title: " + humanTask.getTitle());
    out.println("<br>Priority: " + humanTask.getPriority());
    out.println("<br>State: " + humanTask.getSystemAttributes().getState());
    out.println("<br>Assignees: " + humanTask.getSystemAttributes().getAssignees());
    out.println("<br>AcquiredBy: " + humanTask.getSystemAttributes().getAcquiredBy());
    out.println("<br>Updated Date: " + humanTask.getSystemAttributes().getUpdatedDate());
    out.println("<br>Assigned Date: " + humanTask.getSystemAttributes().getAssignedDate());
    out.println("<br>Created Date: " + humanTask.getSystemAttributes().getCreatedDate());
    out.println("<br>Updated By: " + humanTask.getSystemAttributes().getUpdatedBy());
    out.println();
    %>
    </body>
    </html>
    Please Advise
    Kind Regards,
    -Bharathi

    It's too late but if someone need the answer..
    You can set if the outcome requires comments in General section of the Human Task.

  • How to Enable the Oracle BPM Worklist?

    Hi!
    Newbie here.
    So how do you enable the Oracle BPM Worklist?
    Sure there a tutorial for this found in http://docs.oracle.com/cd/E21764_01/doc.1111/e17366/chapter16.htm#BABHCICI
    and in section "16.2 How to Enable the Oracle BPM Worklist" it says
    "By default, Oracle BPM Worklist functionality is disabled. You can enable this functionality in AIAConfigurationProperties.xml.
    To enable the Oracle BPM Worklist:
    -Access AIAConfigurationProperties.xml located in <AIA_HOME>/aia_instances/$INSTANCE_NAME/AIAMetaData/config.
    -Set the EH.INVOKE.HWF property value to true.
    -Reload updates to the AIAConfigurationProperties.xml file."
    However upon searching for the file "AIAConfigurationProperties.xml" or even the directory "aia_instances" in our servers, I could not find them. Please help me!

    If you are talking about 11g Worklist app, then you won't be able to do that, since the source code is not shipped with the product. The better way is to create the custom worklist application using the Worklist APIs. Refer to the SOA Developers Guide.
    In case of 10g, you can access the source code of Worklist app, even in that case, you can do your requirement using the exposed APIs.

Maybe you are looking for

  • Difference Between Radio Button Group By Index and Key

    what is main difference between RadioButtonGroupByIndex and RadioButtonGroupByKey ? And In which situvation we go for RBGBIndex and RBGBKey?

  • Problem with  Firefighter logs after upgrade to 5.3 from 5.2

    Hello Gurus , just for 2 weeks we are running GRC 5.3 , which we updated from the 5.2 version . Unfortunately i could not make all the possible tests in one day and after i didnt check the FF reports . So after 10 days..after solving some issues from

  • How do I sort by sender?

    Usually, if I want to put messages in a folder, and I want to put all of them from "Smith" I would sort by sender name,making it easier to find all from that person, check the box and move together. How do I sort by name, subject, etc. They're only s

  • Restore Essbase Application between servers

    Hi all, i have come up with a new thing here as we have 2 different essbase servers in two machines. i have copied the app folder from machine1 which has got essbase server instance 1, and pasted to the machine2 which has got essbase server instance

  • Compile all invalid packages together + connect as sysdba only

    Hi I've installed a Ora 10.2, and imported a dump. This dump contained some users, a lot of tables and stored procs. My first question: There is an imported user with I can connect as sysdba only. I can't connect as normal... it is problem because th