Can external ADF application write to BPM Payload structures?

Hi all
New to BPM and trying to understand the best practices here.
We have Oracle BPM 11.1.1.6.0.
We have an external ADF application that will be used for online data entry, that comes in via public user. This data then needs to be reviewed and approved/rejected by the internal users and for this we are using BPM interface.
I have many concerns implementing above scenario in BPM
a) Can we login to BPM workspace via ADF application? If so, can you experts share with us some examples to look at?
b) We dont want to use temp tables in the database, when user is doing online entry. We need to push this into BPM payload structures, when a user saves the data partially. When he does submit for approval, we need to initiate a task on the BPM side(for the reviewer). Is this possible? , especially saving the data into BPM payload structures from ADF application? Is this recommended or a good practice? Is there an example or how this can be achieved?
I know this is a long list of questions, but going thru the web, really did not help us much. So checking with the community for the best way to get good reliable answers.
Thanks
SR
Edited by: libran on Feb 28, 2013 1:29 PM

Hi SR
a) Can we login to BPM workspace via ADF application? If so, can you experts share with us some examples to look at?
Not directly. BPM Application itself is a WebApplication. In high level it has 2 main things. List of Tasks with different status like Assigned, completed, active etc et.c And for each Task, click on that opens the task details page. This task details page is the ONE that can contain ACTUAL Data. Now this actual Data can be part of the process itself we call as Payload. Or this entire data can be in any other existing application or database. But the payload will just have like main PKs (Primiary keys) like order id, salesid, customer id, projectid etc etc. Using these IDs and some APIs you can use your existing application data. Coming to screen, you cannot use the existing screens as it is.
b) We dont want to use temp tables in the database, when user is doing online entry. We need to push this into BPM payload structures, when a user saves the data partially. When he does submit for approval, we need to initiate a task on the BPM side(for the reviewer). Is this possible? , especially saving the data into BPM payload structures from ADF application? Is this recommended or a good practice? Is there an example or how this can be achieved?
1) NO. I would NOT recommend to put your existing data filled out from online form into Payload. There is NO need for this. From online when user clicks on Submit for Approval, just pass the key information like IDs, some names, status etc. Just the core and it should like 2 or 3 at the most. Any complex data will have only couple of main primary master keys and rest are all the internal relations. Once these IDs are in paylosd, you can use ADF components to pull the full entire data set for display in the TaskForms (mostly display only). Use ManagedBeans or DataControls/EJBs that takes these IDs.
2) From online web on Submit, YES, you can invoke automatically a BPM Process. BPM Process can be initiate in many ways: Using Workspace application, Email, scheduler, WebServices, Java based APIs etc. The ideal way is WebServices. I guess you want to do first some validation and then only create an approval instance.
Giving a ready made example is tough. I do not have any old links on top of my head for reference. I will see if I can find them.
My suggestion, leave the Payload as light as possible unless and untill if there is no other go.
Thanks
Ravi Jegga

Similar Messages

  • How to invoke ADF application URL from OAF?

    Hi guru's,
    We have a developed a custom ADF application using Fusion Middleware 11g.
    We would like to integrate this ADF with existing EBS/OAF application.
    We were able to invoke ADF URL from EBS responsibility with a special function type "ADFx" in R12.1.3.
    Now we need to pass context/profile level parameters from EBS to external ADF application. Like logged in userId/RespId etc...
    We are running ADF application also in same EBS DB and hence want to use same fnd_user/Resp concept in ADF.
    Can anyone help me on how to pass these parameters like userId/RespId from EBS to ADF while invoking ADF application URL?
    If we can append the values to ADF URL, we would be bale to parse them in ADF context. But, i am stuck at passing parameters from EBS.
    How Can we invoke ADF URL from OAF page? is there any specific function available or is it just URL invoke?
    Also, in OAF the logged in user session information is maintained in cookies(if i am correct), is there any way that we can pass the session level values from OAF to ADF?
    Any help in this regard would be a great help!!!
    Thanks

    May be the following link will help you ->
    http://www.oracle-latest-technology.com/2010/12/how-to-dynamically-open-external-url.html

  • 3rd party payment integration with ADF application

    Hi ADF experts,
    We have a requirement to integrate our ADF application with 3rd party payment gateway.
    For this we have created 2 servlets(one to post data, and one for relay response) which will talk to payment gateway.
    Since we are using servelts, we wont have access to bindings or any of ADF features. We manage the handshake between servlets and ADF app by passing data through session variables.
    I am not happy with this solution, even though it works in our test environment. I would prefer a complete ADF soultion rather than using servelts/jsps.
    Is there a standard way(either inbuilt in ADF or extensions) to integrate 3rd party gateway with ADF application which is safe and secure?
    Jdev used: 11.1.1.1.5
    Payment gateway used: authorize.net
    thanks
    -Venkat

    You can access adf application module from a servlet. All you have to do its to setup a pagedef for the servlet.Check out my blog http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/ Which shows how to do this.
    I'm not aware of standard integration to a payment service.
    Timo

  • Oracle BPM 11g  workspace: how to add a link to an external ADF app?

    Hi all,
    I have a process for which all the data is persisted in the db, and for Human tasks, I use ADFBC component.
    For an existing instance, I would like to provide a link access (available from the workspace) to users (with right privileges) to be able to update some data ...
    I thought implementing a new process with an Initiator HT...but this means, any time a user click the link, it will generate an new instance...
    Then I thought maybe it will be easier to just implement a new ADF application to update my process data using ADF BC...
    but once the application is deployed... I need to provide an access link to users from the workspace????
    how can I do this?
    Globally, how to add an external link to an ADF app from the workspace application.
    Thank you.

    Were you able to achieve this . Maybe this can help -
    Check hbuelow's reply @ Unable to see the application in BPM Workspace for Sales Quote tutorial
    Edited by: Sudipto Desmukh on May 9, 2012 7:02 PM

  • How can i create datasource on apache server for ADF application?

    Hi All,
    i my use case i have created simple adf application using ADF BC and want to deploy on Apache server 6.x.
    So my question is that  how can i create Data Source i have goggling and find  two different way to do this.
    1. write following line of code on apache server conf/Context.xml file.
    <Resource name="jdbc/TestDB" auth="Container"
                  type="javax.sql.DataSource"
                   driverClassName="oracle.jdbc.OracleDriver"
                  url="jdbc:oracle:thin:@localhost:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"/>
    but when i have used this way i got following exception.
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
    check link-
    https://forums.oracle.com/thread/2564233
    2. write following line of code apache conf/Server.xml file
    <GlobalNamingResources>
        <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
        -->
        <Resource name="UserDatabase" auth="Container"
                  type="org.apache.catalina.UserDatabase"
                  description="User database that can be updated and saved"
                  factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                  pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/TestDB" auth="Container"
                  type="oracle.jdbc.pool.OracleDataSource"
                  description="User database that can be updated and saved"
                  driverClassName="oracle.jdbc.driver.OracleDriver"
                  factory="oracle.jdbc.pool.OracleDataSourceFactory"
                  url="jdbc:oracle:thin:@//172.31.43.207:1521:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"   />
      </GlobalNamingResources>
    and add this line in context.xml file inside <context> tag
    <ResourceLink global="jdbc/TestDB" name="jdbc/TestDB" type="oracle.jdbc.pool.OracleDataSource"/>
    but when i have run application i have got following error
    log-
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Aug 2, 2013 5:17:21 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    so what is the solution how to create datasource on apche server which suitable for adf application?
    when i test data source using  following code used 1. way as i mentioned above  its running fine bt not for second.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/TestDB">
    select empname from pay_emphdr where empcd='JK1306'
    </sql:query>
    <html>
      <head>
        <title>DB Test</title>
      </head>
      <body>
      <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
        Foo ${row.empname}<br/>
    </c:forEach>
      </body>
    </html>
    please help me. it is very urgent.
    thanks in Advance
    Manish

    Hi Lindalnci
    i have already tried  this tutorial and in my post i have defined first way to do using this procedure.
    in that case i have got following exception as i have mentioned above
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection

  • I have an external hard drive that was formatted by a PC and has files and directories etc. I want to format it and use it on my IMAC for backup but I can't seem to write to it nor can I delete current content. How do I initialize it for use with the MAC?

    I have an external hard drive that was formatted by a PC and has files and directories copied to it etc. I want to use it on my IMAC for backup. I see it on my my IMAC . I can open files etc.  But I can't seem to write to it nor can I delete current content. I don't care if I lose current content. How do I initialize it for use with the MAC?

    You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
    http://www.macupdate.com/app/mac/24481/ntfs-3g
    If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.)

  • How to move ADF HumanTask (ADF Project) from One BPM Application to ANother

    Good DAy!
    Problem
    We've created huge Project on ADF with difficult form and now we have to create the same (95%) form in another BPM Application
    Is it possible to migrate ADF Project from one BPM Application to Another???

    Hi,
    You can deploy the ADF Project as an ADF Library Jar file and reuse the taskflow from that jar file in another BPM Application.

  • Help. External Hard drive "In use," can't read or write

    I was copying files from my iMac desktop to an external drive that I have been using for years. Suddenly, the drive didn't complete the operation. Now I can't read or write. Permissions seem fine. Tried to verify and repair in disc utility, but got a "unable to unmount disc" message. Then drive has to be force ejected. Rebooting is stalled until I unplug the drive. Can't even create a disc image of it. Tried booting in safe mode to do Disc Utility - no dice. Any help? Desparate.
    Douglas

    Oh... in use... see if Spotlight or Time Machine is trying to use it.
    Open Console in Applications>Utilities & see if there are any clues or repeating messages when this happens.

  • How to Open BPM worklist when a link is pressed in custom ADF application

    Hi Guru's
    I have a requirement where i have to open BPM worklist app when a user clicks on a custom ADF application link.
    Scenario
    1) In custom ADF application we have a link.
    2) user selects the link and we have to open the users BPM worklistapp page.
    Can you please let me know if this is possible or not? If so can you please help me out
    Regards,
    Ram

    Bill,
    Can you please let me know the steps or documentation that helps me out in achieving this?
    Regards,
    Raju
    Edited by: user080811 on Apr 18, 2013 12:12 PM

  • BPM Payload bind to adf query panel with table

    hi guys,
    i have a requirement to process all result row in the table to my bpm process.
    i have a bpm taskflow and already defined the payload xml.
    in the taskflow UI, i hv a adf query panel with table from a criteria View object.
    how can i bind the search result to the bpm payload ?
    i tried to bind it directly, but it turns out error.
    or do you hv a better approach to this requirement, so i can add/remove row in table dynamically ?
    i use bpm 11.1.1.6
    thanks before.

    Could you give some more details ?
    Do you require that all the rows in the ADF based results table are passed on to the BPM payload ?

  • Where I can find an example for an ADF application

    where I can find an example for an ADF application where the view layer is JSF and the Business service layer is JAVA with JSF controller as controller layer
    Edited by: belal on Jun 18, 2011 11:59 PM

    I created new Fusion web application so I have now to parts in the application navigator (model, viewcontroller)
    I want to write java class in the Model part as following:
    package persistence;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class DBManager {
    Connection connection = null;
    public DBManager() {
    super();
    public void init() {
    try {
    // Load the JDBC driver
    String driverName = "oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName);
    // Create a connection to the database
    String serverName = Constant.DB_SERVER_NAME;
    String portNumber = Constant.DB_PORT_NUMBER;
    String sid = Constant.DB_SID;
    String url =
    "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" +
    sid;
    String username = Constant.DB_USER_NAME;
    String password = Constant.DB_PASSWORD;
    connection = DriverManager.getConnection(url, username, password);
    System.out.println("*");
    System.out.println(connection.getCatalog());
    } catch (ClassNotFoundException e) {
    System.out.println("Could not find the database driver");
    } catch (SQLException e) {
    System.out.println("Could not connect to the database");
    e.printStackTrace();
    and wrote JSP page in the view controller part as following :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@page import="persistance.*"%>
    <% persistance.DBManager manager = new DBManager(); %>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>Browse</title>
    </head>
    <body>
    <table>
    </table>
    </body>
    </html>
    but this I have the following error in the jsp page :*type persistance.DBManager not found*
    my job is to build simple ADF application using JSF and java without any ADF faces or JPA or any another technology
    thanks
    Edited by: belal on Jun 19, 2011 12:51 AM

  • How can I prevent Applications from being copied to external drive?

    Hello,
    Just a quick one...
    I run a studio in an education evironment. We've got quite a lot of software installed on our machines (Mac OS X 10.7.4) and there's always the chance that students will copy applications from the Applications folder onto an external drive to take home!
    Obviously this is becoming increasingly easy with large USB sticks and Applications which are entirely contained in the Applications folder.
    Is there any way that students can still run these applications during class but prevent them from copying the whole applications?
    With thanks in advance,
    Lawrence

    You can hide the Applications folder, but it isn't a total solution. Open Terminal and type:
    cd /
    sudo chflags hidden /Applications

  • BPM Tasklist Integration with ADF Application

    Hi Experts,
    We are using Jdeveloper 11.1.1.7 in our project and need to integrate with Oracle BPM 11g. We basically need to see the BPM task list as well as initiate a new task from ADF Application.
    I have already searched the blogs and internet about the same. Below are some of them along with andrejus blogs.
    Con-Fusion, Bugs, Facts & Workarounds: ADF-BPM Integration: Custom Worklist.
    http://docs.oracle.com/cd/E23943_01/user.1111/e15175/bpmug_ws_taskflows.htm#BPMUG20812
    What I am looking for is step by step process including the things which needs to be done on Weblogic and domain side to integrate task list with adf application.
    Thanks

    It seems all of the instructions are there on your second link.  When it comes to doing the weblogic portions there are links from there to another guide.  I found the following two other links but your second link looks the closest to what I remember from an internal document that had those same steps.
    https://blogs.oracle.com/webcenterportal/entry/oracle_bpm_suite_oracle_webcenter
    http://andrejusb.blogspot.com/2013/10/integrating-custom-bpm-worklist-into.html

  • Can we wrap a RFC as webservice  and use from external java application ?

    Hi Friends ,
                         Our scenario is  call a webservice ( wrapped form of RFC)  from a external  java application  which will pass the input to that webservice and get back the result  .
                          How XI will play a role here ?
                          Can we wrap a rfc as web service  ?
                           Any blogs for that ?
                          Can you please give a brief details about this ?
                          Expecting yoour asap
    Best Regards .,
    V.Rangarajan

    Hi
    Can we wrap a rfc as web service ?
    Yes.
    <i>To use the SAP Web AS 6.40 you need to build a wrapper in the 6.40 system. This is a remote function call (RFC) enabled function module with the same interface or a similar interface that internally calls the required RFC-enabled function module in the old 4.6x system via RFC. The wrapper then can be exposed to the outside world as a Web service. Another option is to use the Integration Broker capabilities for calling Web services in an older system.</i>
    How XI will play a role here ?
    XI will pass the input to the external java application and get back the result to the webservice
    regards
    krishna

  • ADF application unable to reference external jar deployed as library

    I am using jdeveloper 11.1.1.3.
    My problem is as folows : I have a JAR deployed in weblogic 11g as a library and i want my ADF application to refer it as this inhouse developed library has some utility methods in it.
    In my ADF application i have referenced the library in weblogic-application.xml as below..
    <library-ref>
    <library-name>beansCBB</library-name>
    </library-ref>
    But still my my jsps are failing to compile
    Please guide me on how to provide library reference while deployment.
    Zeeshan

    Hi Zee,
    Try to select the "Deployed by Default" option on the Library.
    Just to see if the application is working on the server.
    If It is working, it seems that the application can't find the library.... on the weblogic server.
    Then unselect the "Deployed by Default" option on the Library.
    And try to add
    <library-ref>
    <library-name>beansCBB</library-name>
    <exact-match>false</exact-match>
    </library-ref>
    in the "weblogic.xml" file
    Please confirm that the name of the Library (on the server\Deployments) is "beansCBB".
    When you have deployed the library on the weblogic server, did you select the same "server" (when asking to Select deployment targets) ???
    Regards
    Nicolas

Maybe you are looking for

  • Importing MPEG 2 but sound doesnt import

    I am trying to import a MPEG 2 video file but only the video portion of it will import. The audio does not come in. I right clicked in the browser and selected import files and selected my MPEG 2 file. Am I doing something wrong?

  • All the tables used for Organisation details

    Hi All, Kindly request to specify all the tables ( or atleast possible list of tables ) that are updated when we change / insert / modify the organisation details for a transaction number in CRM. Thanks and regards.

  • Credit note creation error

    Hi Experts, While creating credit note, error msg appears as No confirmations for agreement type 0060003967 in settlement period (20110101-20110131) but in agreement's validity time period is 01.03.2009 - 31.12.2011.... how to resolve ths...

  • I can't import Keynote files into my iPad from MobileMe

    Firstly, I have spent an hour or two on the web and on these forums trying to solve my problem. My goal is this: I want to open presentations on my iPad that I created on my Mac Pro. Simple enough? But every time I try to open any presentation (I sto

  • Developing a Non-commercial app

    Hey everyone!!! I'm developing an app for the company I work for, it isn't going to be commercial. Do I need to register it in the Windows Store?