ADF UI to BPM Payload

Experts
I have a requirement where i parse attached file and have them displayed in table structure, the user would select the approvers for each row from a dropdown and then this whole information needs to be put in array payload to be used by Oracle BPM, how can this be done. Any pointers to samples or examples would be great.
Regards
Venkat

Hi,
When ever you create a TaskFlow from a Human task flow, the data controls for the payload gets automatically generated. For your requirement
1) Create a Human Task Flow in the BPM
2) In the payload of the HTF, create a parameter of a custom type defined as per your requirement
3) create a Task Flow out of a Human Task flow
4) From the Data bindings you can access the task-->payload and the corresponding attribute you have created in the HTF.
5) There you can create rows i your payload directly of the custom type you have defined and these can be used in the BPM process.
HTH
Thanks,
Tulasi

Similar Messages

  • 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

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

  • How to get BPM Payload attribute value in ADF TaskFlow

    Hi,
               Activities which I did : I have created ADF Project. Then I created ADF TaskFlow through 'ADF TaskFlow Based on Human Task' option by locating BPM task. So now TaskFlow is been generated and also respective dataControl value also generated. In TaskFlow I created new .jspx file. I am going to design this jspx page by drag and drop from VO instances from dataControl. So for this jspx page, at runtime value will be populated from DB Table.
                      My Requirement :  When the Flow initiated, there will be Parameter value passed to the TaskFlow through Payload which is available in DataControl. So now I based on the Payload parameter value I need to filter DBTable and show the respective value in jspx page which I created in TaskFlow. So getting Payload value and applying filter on VO based on Payload parameter value has to be done before rendering Page.
    I tried to achieve this schenario as like below :
           - Assume like there is attribute called 'transactionId', for which value will be passed to the TaskFlow through DataControl. I created VO based on EO and appended where clause as : "VO.Trans_Id = : bindVar". Created bindVariable called 'bindVar'. In jspx page I just Drag and Dropped VO instance as form. And also I drag and Dropped 'transactionId' as outputText from Payload. And also I created ExecuteWithParams in Binding section of PageDef and mapped that one with invokeAction item in executable section. So now both payload Iterator and invokeAction  will be created in PageDef. I kept Iterator as in the order of : PayloadIterator at first and InvokeAction second one, So that at runtime it will execute in that order. And also I given "refresh" property to payloadIterator and invokeAction to 'renderModel' and I mapped PayloadIterator id to  refreshAfter property of InvokeAction iterator. Now at runtime, So at runtime updated/Newvalue will be retrived to Payload attribute by executing payloaditerator. So now for 'transactionId' value vill be retrieved. Next invokeAction will take value from newly retrieved 'transactionId' as input and execute query. So now VO will be filtered and need to be shown. But instead of that getting error saying like 'No outcome metadata specified for method call activity 'null'.'
    Is this way is correct? If yes, then What mistake which I have done?
    Is any other way to acieve this schenario?
    Do the needful.
    Thanks with Regards,
    PraveenKumar.N

    Guessing you might have looked at this at some point, but you might want to consider using the setCurrentRowWithKeyValue method to do this.
    Here's a blog post that I wrote a while back that goes through step-by-step what I think you're trying to accomplish:  Using a BPM Process Variable on an ADF form to Retrieve Database Information | AVIO Consulting
    Hope this helps,
    Dan

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

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

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

  • How to link a custom ADF form to BPM workflow

    Hi All
    Hope you are doing well.
    I've a basic knowledge on BPM, but had to start off with a project.
    My scenario is as below.
    1. User A clicks on a task in his BPM Worklist which should trigger an email to the same guy with a link in it (which is an ADF form to create a new row in a db with some values)
    2. Now, A clicks on the link send to him on Email, which opens up an ADF form where he provides all the details, along with the reviewer name(say, B, typically his manager, but he has to provide it, not derived automatically using getManger()) and submit.
    3. Now, this action should trigger an Email to the reviewer that he has provided in the form(step 2) where he can either approve or reject, with comments.
    4. Once B approves, A has to get a notification email saying the row has been created.
    The row that gets created in a db is a WS operation (createProject(with all the details))
    I'm seriously confused in designing this requirement.
    If I start the workflow with a Initiator pattern, just a click on the task should send an email to himself...How can this be done?
    How do we get in the ADF form that is in a seperate prj in to this workflow?
    How do we capture the values from the ADF form in to the BPM workflow?
    Would some one throw some light on how do we capture this scenario
    Regards
    RaviKiran

    Hi Tom Daria,
    This should work in SharePoint workflow 2013 task form.
    You can follow the step in the article you provide to custom the task form page, I tested it with the step, it can successfully bind the custom form page to the task content type.
    In the form page approve button event, you can add the logic to redirect to another page. In the workflow, associate the workflow with the custom task content type that will use the custom task form.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Image in ADF form, through BPM binary datatype

    hi All,
    I have a scenario in bpm 11g, where a user will upload the image file and after process completion it will persist to database. I tried defining the binary datatype for holding that image, but that binary type is not displaying as image in any subsequent task. Additionally, i fetched the Blob type, containing image from the database through database adapter, it also is not been shown in the adf data table. What am i doing wrong? (Found a servlet work around, but want this to be done through bpm drag and drop). Is it possible?
    Thanks

    Hi Asad, I'm sorry for this late answer :(
    Please follow this steps:
    1- Create a new manage bean with request scope.
    2- Select from the page the image component and go to the property inspector in the attribute bindings and edit it, select the manage created and write a name for the component. You w'll see in the manage the attribute created.
    3- In the manage bean, put this (private UploadedFile _file;) as an attribute from the class and create the accessors.
    4- Do the same thing for the property value for the inputFile componet, select the manage and then the field _file* .
    5- For the inputFile select, in the property valueChangeListener select the method in the manage and set true to the property AutoSubmit
    The Manage can be this one, adapt it if you need it:
    I already test it, so I realy hope this work wor you:
    Note: Create the directory "img/tmp" in the public_html folder of the project
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ValueChangeEvent;
    import javax.servlet.ServletContext;
    import oracle.adf.view.rich.component.rich.output.RichImage;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import org.apache.myfaces.trinidad.model.UploadedFile;
    public class MyBean {
        private UploadedFile _file;
        private RichImage myImage;
        public MyBean() {
        public void ValueChangeListener(ValueChangeEvent valueChangeEvent) {
            _file = (UploadedFile)valueChangeEvent.getNewValue();
            if (_file != null) {
                //You can add some other validations here...
                myImage.setSource("/img/tmp/" + writeToFile(_file));
                AdfFacesContext.getCurrentInstance().addPartialTarget(myImage);
        private String writeToFile(UploadedFile file) {
            ServletContext servletCtx =
                (ServletContext)FacesContext.getCurrentInstance().getExternalContext().getContext();
            String imageDirPath = servletCtx.getRealPath("/img/tmp");
            String fileName = getTime() + file.getFilename();
            try {
                InputStream is = file.getInputStream();
                OutputStream os =
                    new FileOutputStream(imageDirPath + "/" + fileName);
                int readData;
                while ((readData = is.read()) != -1) {
                    os.write(readData);
                is.close();
                os.close();
            } catch (IOException ex) {
                System.out.println("-----------------ERROR MESSAGE------------------ \n");
                System.out.println(ex.getMessage());
                System.out.println("-----------------FULL STACK TRACE------------------ \n");
                ex.printStackTrace();
            System.out.println(imageDirPath + "/" + fileName);
            return imageDirPath + "/" + fileName;
        private String getTime() {
            Calendar cal = Calendar.getInstance();
            Date time = cal.getTime();
            SimpleDateFormat sdfh = new SimpleDateFormat("HH");
            SimpleDateFormat sdfm = new SimpleDateFormat("mm");
            SimpleDateFormat sdfs = new SimpleDateFormat("ss");
            return sdfh.format(time).toString() + sdfm.format(time).toString() +
                sdfs.format(time).toString();
        public void setMyImage(RichImage myImage) {
            this.myImage = myImage;
        public RichImage getMyImage() {
            return myImage;
        public void setFile(UploadedFile _file) {
            this._file = _file;
        public UploadedFile getFile() {
            return _file;
    }Regards Dariel.

  • Question in BPM, "Payload" Main Document not seen

    Hi
    I have a BPM that sends msg to a receiver.
    Now in sxmb_moni here is what i see in the final message that the BPM delivers to the receiver,
    In the payloads section i can only see 1 content "XI_Content(Text/html)" i do not see the MainDocument(application/xml)
    Does this mean that my receiver will not receive the payload?
    What is the difference between XI-Content and MainDocument????
    In my case you thnk it is normal to see only the XI_Content and not the mainDocument???Because in the inbound message the BPM gets both the XI_Content and the MainDocument.
    Please help me understand.
    Thanks,
    Hank

    Dear Sadhu,
    i am facing the slimier problem. kindly share the solution for the above issue. Also if yoy have any standard doc for Appraisal configuration .... i kindly request you pls share with me on [email protected]

  • BPM Payload

    Hi Group,
    When I am working on File2file scenario,I got error,after clicking on PE and technical details I found that error in Mapping part,then I tried to copy the payload
    for testing ,then in the payload it is showing the Input source but I need the source Message of which is coming in to BPM like structure starts with
    <Message>
    <Message1>
    Can any body suggest how to find this?

    Hi,
      Can you check the input file, whether its valid or not? Please see the below case
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <ns1:MT_test xmlns:ns1="urn:test">
    <Records>
    <Employee >
    <Employee_First_Name>J</Employee_First_Name>
    <Employee_Last_Name>Raj<Employee_Last_Name>
    </Employee>
    </Records>
    </ns1:MT_test>
    </ns0:Message1>
    </ns0:Messages>
    The above is my sample structure in message mapping I'll copy the same and will paste in the i/p file for polling. It will be errored out, because the above structure doesn't have  valid schema.
    While creating the file we have to remove those two nodes Messages & Message1.
    Thats y i asked you the structure....
    Best Regards,
    raj.

  • Obtain Username from ADF Security with BPM Task Page

    All,
    I have a requirement to obtain the currently logged on user within a BPM task page.
    I log onto either the BPM workspace or our own custom workspace that leverages the BPM Tasklist Taskflow. When navigating from a task in the tasklist, I have attempted to use an ADF EL expression to obtain the current user #{securityContext.userName}. However this seems to return anonymous. I have created a very simple test case and process to prove this, just displaying the user on the screen. However it shows as anonymous. I have done nothing special with either the task page or my workspace application to configure security aspects. Other than the standard ADF security of the custom workspace loggin.
    Does anyone know if this is achievable? (My ADF skills are limited)
    Interestingly, this seems to work fine on some of our 11.1.1.6.3 sever installs but not on others, including my Local Windows install. Therefore it is concidence it works on the servers (Linux).
    Many Thanks for any guidance you can provide
    FYI, The Task actions, task comments etc all record the logged in user correctly. I also reviewed comments in https://blogs.oracle.com/bpmbestpractice/entry/bpm_adf_task_forms_checking
    Regards Dave
    Edited by: DavidGaskell on Dec 1, 2012 12:41 AM

    Hi thanks,
    I'm a little confused so apologies.
    The steps we have followed to date as as follows:
    1) Written our own login page which inplements ADF security to authenticate the user
    2) Integrated the BPM task list task flow into our application as per Oracle docs.
    3) Written a separate application for the task page.
    4) run the application so u log into application, go to task list page, click in a bpm task in task list which launches the custom bpm task page. At this point the security context is anonymous evn though the login page shows the user logged in.
    Therefore are you suggesting I need to add some additional steps to pass the context into the custom page. FYI we have no single sign on implemented.
    I presume the BPM context must be set based on the logged on user as all task actions are performed as the user details are recorded.
    In a simpler scenario I get the same outcome whe using the out the box bpm workspace.
    Rgards Dave

  • BPM payload value reading problem

    Hi all,
    In a bpm scenario, I have a switch that checks an element's attribute and another that checks an element's value.  In the former case, the TRUE branch gets executed when the condition is satisfied.  However, in the latter the condition is NEVER satisfied (even when it should be).  Here's an example message.  In my BPM, I have one switch that uses <user action="xxxx"> and another that uses <jobCode>.
    <ns1:AccessRequestReply xmlns:ns1="xxxxx">
       <ns1:AccessReply type="complete">
          <ns1:user action="update">
             <ns1:jobCode>1234</ns1:jobCode>
          </ns1:user>
       </ns1:AccessReply>
    </ns1:AccessRequestReply>
    During runtime, the integration server can read the <user> attribute "action" with no problems.  However, it cannot read the <jobCode> element.  From sxi_cache I went into the corresponding workflow and loaded a message into the XML object in question.  Sure enough, only the attribute "action" got loaded.  The <jobCode> element never gets loaded.  I verified the XPath expressions were correct.
    Any ideas as to what might be causing this?
    Thanks,
    --jtb

    Hi James,
    might this problem be related to a problem with the usage of namespaces? Normally XI does explicitly use namespaces only on root node level. But in your case, all elements are prefixed with namespaces.
    Could you simply try to send a message to your integration process, where there is only a namespace prefix on root node level, i.e.:
    <ns1:AccessRequestReply xmlns:ns1="xxxxx">
    <AccessReply type="complete">
      <user action="update">
        <jobCode>1234</jobCode>
      </user>
    <AccessReply>
    </ns1:AccessRequestReply>
    Best regards
    Joachim

  • BPM Task payload namespace issue while modifying from ADF UI

    Hi,
    In my BPM process, I have the below tasks.
    1. Input task - user input form
    2. Review task - to review the user input values
    I have created the UI for the above tasks through Auto-generate forms.
    Before invoking Input task, I have created a transformation to initailize the payload elements, so that in the UI these field elements will be become editable.
    I have an ADF table which is used to insert account details elements which is initialized in the transformation with namespace.
    <ns0:bankAccountsType>
    <ns0:registrationNumber></ns0:registrationNumber>
    <ns0:accountNumber></ns0:accountNumber>
    <ns0:bankName></ns0:bankName>
    </ns0:bankAccountsType>
    I am using the createInsert operation of the ADF command button to insert records for these table in UI. The row is getting inserted with values and clicked "Approve" to go to the Review task.
    Now if i check the flow trace for this instance in EM console. ie "Review Task - Instance entered the activity"
    The payload elements for this account types is coming namespace for first record (becoz the row is intialized in BPM transformation) and the second & third record is not showing namespace.
    <ns0:bankAccountsType>
    <ns0:registrationNumber>111111111111111</ns0:registrationNumber>
    <ns0:accountNumber>1111111111111111</ns0:accountNumber>
    <ns0:bankName>qqqq</ns0:bankName>
    </ns0:bankAccountsType>     
    <bankAccountsType>
                   <registrationNumber>222222222222</registrationNumber>
                   <accountNumber>222222222222</accountNumber>
                   <bankName>www</bankName>
              </bankAccountsType>
              <bankAccountsType>
                   <registrationNumber>3333333333</registrationNumber>
                   <accountNumber>3333333333</accountNumber>
                   <bankName>sas</bankName>
              </bankAccountsType>
    Is there any way ADF can keep the namespace while adding new items?
    Jdeveloper
    Studio Edition Version 11.1.1.5.0
    Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013
    Thanks in advance.
    Regards,
    Murali.S
    Edited by: 1006338 on 16 May, 2013 5:18 AM
    Edited by: 1006338 on 16 May, 2013 5:20 AM

    Before invoking Input task, I have created a transformation to initailize the payload elements, so that in the UI these field elements will be become editable.
    I have an ADF table which is used to insert account details elements which is initialized in the transformation with namespace.You can simple use a ADF form to do this. Create ADF editable input fields in a panelFormLayout and wehn user enters values and clicks ona button .. pass those values to BPM payload.
    See - http://andrejusb.blogspot.com/2010/10/initializing-oracle-bpm-11g-process.html

  • How to access BPM 11g payload or process varibles in ADF task flow

    I am trying to view/edit data in a UI tied to a database using a foreign key, requestId. The foreign key comes from a BPM process where it is passed into the task flow, from a human task. The foreign key comes from process variables or payload values. I know I can simply load the payload in BPM with data from the tables, but I'm looking for a better solution to leverage ADF Business components to view and edit the data directly in the UI.
    The BPM process uses a web service to kick off the process. The web services takes a primary key as a parameter to reference a column in the database table. The database is pre-populated with content and a primary key reference. The first activity is a user activity. I want the task flow behind the user activity to accept this primary key and use it to locate the desired row in the database so views associated with database bounded ADF Business Components can work to present the data in the UI.
    I've tried two approaches to the problem. The first uses the operation setCurrentRowWithKeyValue. The other modifies the SQL where clause, used by the ADFbc Iterator, to only return a row for the given requestId. Both approaches fail to work because I don't know how to access the BPM payload or data variables coming into the task flow. Here's the snipet of code I used to try to set the row using setCurrentRowWithKey value:
    public String setRequestId() {
    FacesContext context = FacesContext.getCurrentInstance();
    Object requestObj = context.getApplication().evaluateExpressionGet(
    context, "#{bindings.RequestId.inputValue}", Number.class);
    if (requestObj== null)
    return null;
    Number requestId;
    requestId = (Number)requestObj;
    DCIteratorBinding itr = (DCIteratorBinding)
    getBindings().get ("PatfRequestHdrView1");
    itr.setCurrentRowWithKeyValue(requestId.toString() );
    return null;
    I haven't gotten very far with the second approach, modified SQL where clause, since I don't know Groovy. I think I need something like:
    adf.object.viewObj.RequestId. But there isn't a viewObject associated with BPM data, so I'm sure this particular expression won't work.
    Any help you can give me is very appreciated.
    Regards,
    Mark

    The first thing I want the task flow to do is display a page with a form showing the values from the database. This is why I tried to call the method first. If I add the setCurrentRowWithKey to the form as a button, I can get the form to load the data, but it's a two step process, requiring the user to click a button. The method approach throws the following exceptioin
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity '/WEB-INF/ApproveTravel_TaskFlow.xml#ApproveTravel_TaskFlow@setTravelRecord'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:927)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:2

  • BPM and ADF integration - some questions

    Hi,
    I have a few questions about comunication between BPM 11.1.1.5 and Human Task based Task Flow:
    1) What is the best way to pass data (task id, proces id, proces data) from BPM workspace to Human Task Task Flow (and get them as TF params).
    2) Where can I find a description, how ADF app comunicates with BPM process.
    3) Where can I find a description of all data controls created by JDeveloper (BPM Suite) when HT Task Flow is created.
    3) Where can I find a description (and their functionality) of managed beans created by JDeveloper (BPM Suite) when HT Task Flow is created.
    Kuba

    Hi,
    Sory, but I'm still not sure, how ADF comunicates with BPM (I know that it uses EJB services and hwtaskflow.xml). But a still don't have an answers for follwowing questions:
    1) I know ADF quite good. Having method in data controls (in our case getTaskDetails()) we need to invoke it somehow. I don't see anywher invokation of this method.
    2) In generated task flow there is some managed beans and params - what is role of them ? Having over 50 task flows , do I need it in all of them. Where can I find description of those beans and params
    3) In our approach we use BPM , ADF RC for UI and Business Components to persist data into database. Only data from payload we need is ID of master-level row. My question is - do I have to generate data controls for all human task ?. In my my opinion it should be only one communication point between BPM and ADF but not the same for all pair human task --> task flow.
    All infomation I need from BPM is:
    - task ID
    - task flow name (to open apriopriate tab in my application)
    - available outcomes
    - to know is BPM operation is enabled
    Kuba

  • Calling ADF page Custom Listener (Ex: ActionListener) from BPM Process Task (APPROVE/REJECT)

    Hi All,
    Jdeveloper version - 11.1.1.7
    I am very new to BPM / SOA development, but I have very good development skills on ADF.
    I am not using ADF BC, using EJB for business services and also using custom ADF pages for HumanTasks.
    Usecase:
    From the BPM Process task, when process submission (APPROVE / REJECT) , I need to invoke a Custom listener (Ex.Action Listener - a EJB call) in the ADF page.
    I am trying to use BPM APIs.
    Please clarify me how this will achieve using BPM APIs. I need detail guidelines to do it. Please make to understand this process.
    Provide some useful documentation or links to understand the following:
    1. Custom Human task pages
    2. BPM APIs - 11.1.1.7
    3. Call a BPM process task from ADF Listener and Call a ADF Listener from BPM Process task - Using BPM APIs.
    Please revert more clarifications needed.
    Thanks and Regards
    Mohanraj N

    Hi Joonas.
    Plese let me explain me better for your understanding
    A big summary for what I meant it's the following:
    1- In the procces you made, when you add the HT activity, you have to implement it, this means declare the input(s) parameters you want. This implementation create the .task file.
    2- Create an application, and projects as HT you have. Each poject are based on the .task file, and automatically create a Data Control (for each project based on a .task) with all you need.
    This w'll be an empty application, so you can customize it all you want. The task selected should have all the parameters previously defined. Those parameters can change if you want.
    2- Create a page(s) in the task flow for the task implementation. You can even split the the payload of the task in differents pages, create your custom pages and any logic you need.
    3- An important aspect is how to match these application with the HT implemented in the process. It's possible, it's a configuration en the Enterprise Manager.
    4- Deploy your application
    All these are explain in the book I mentioned
    Th book you can find it here:
    https://blogs.oracle.com/soacommunity/entry/oracle_soa_suite_11g_handbook_1
    Regards Dariel.
    PS: Please, let me know if you need more details.

Maybe you are looking for

  • I cannot view march 13 (month view) in the standard ipad calendar app.

    Anyone else experiencing this glitch?

  • Embedding Javascript and HTML nto Adobe Muse

    I am trying to embed javascript for dynamic text into my Adobe Muse site but I can't seem to get it to work. Here is my code: HTML: <span id="spanDate"></span> Javascript:    <script type="text/javascript">    var months = ['January','February','Marc

  • Script to run only if group exists.

    Hello, I've done a few searches in the forums, but didn't locate what I was looking for.  Also tried Google with no luck.  Anyway, it's probably a simple request, but I can't seem to get it to work for anything.  What I'm looking for is an if stateme

  • Mandatory vatgruop field in VMP4

    How can i do to make the vatgroup field mandatory in outgoing payments, but only in outgoing payments in account? II tried the code bellow in the SP_TransactionNotification but when i do a outgoing payments vendor the message appears saing that the v

  • 6300: Unable to sync contacts: "Data transfer not ...

    Hello, I'm unable to syncronize contacts between my new Nokia 6300 and a computer. What works: * Pairing the device * File copy to/from phone via Bluetooth / USB. * Manually adding new entries using the handset keypad. What doesn't work: * Synchronis