BPM Tasklist region refresh

Hi,
We are using SOA Suite 11.1.1.5. We have some customization in in taskdetail page. When the user clicks on "APPROVE" button, we are doing some validation in backing bean and if the validation is successful, the request is approved.
In backing bean, we use below code to approve the request.
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
OperationBinding operationBinding = bindings.getOperationBinding("APPROVE");
operationBinding.execute();
The request is approved successfully, but the issue is page is not refreshed after approving request. If we manually click on refresh button in tasklist panel, we don't see the request in tasklist.
How do I refresh the tasklist page after executing approve?
Thanks in advance.
Pradeep

Hi Pradeep
How exactly are you tapping this Approve action in your custom Managed Bean. Like Approve/Reject etc are out of box Workflow actions based on Task, and all these actions go to the internal framwork beans. Did you modify these buttons action related property in the task details jspx page and call you custom action method.
Generally we use callback handler classes to validate any workflow actions by creating a custom class that implements ITaskValidationCallback and overwrite some methods. Here we write all our validation code, and if validation fails, we throw the error back on task details page. If validation passes, it completes the action and refershes the top task lists panel with Completed status. Incase if you are interested, here is the post that has some more information.
Assign role, group to Human Task when initiated
See if you can get the bindings associated with the top region also or there should be some APIs to fetch the list of tasks again.
Thanks
Ravi Jegga

Similar Messages

  • Hide BPM tasklist Views(links) on spaces 11.1.1.7

    Hi,
    We have a standard  BPM tasklist embedded within our space. Im trying to figure out how to hide the various action items that are on the left side of panel splitter (Inbox, Views, My Views etc) attached to this worklist. When looking up the Component Properties there are some attributes that are pretty obvious whose values you can set as false. However there's nothing I can find to hide the links on the left side of the panel splitter. This is a new feature in 11.1.1.7, in 11.1.1.5 we only saw the tasklist.
    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

  • Region refresh on DHTML dialog close

    Dear friends,
    I'am using the DHTML dialog plugin and just upgraded to Apex 4.1.1.
    The report refresh on the main page no longer works when the dialog is closed.
    Hence I tried to modify the plugin by adding the "apexrefresh" call to the code:
      htp.p('parent.apex.jQuery("#' || l_dialog_id || '").dialog("close");');
      htp.p('apex.jQuery("#departments").trigger("apexrefresh");');
      htp.p('</script>');
      htp.p('</body>');
      apex_application.stop_apex_engine;My question is why does the refresh not work?
    The dialog (id=departments) is wrapped an iframe.
    Have been reading and trying hours now and feel it's time to ask you!
    Thanks,
    Sebastian

    I haven't used that Plugin , but from the plugin explanation it is said(as you mentioned) that you can use the Close[DHTML Dialog] event for Dynamic Actions.
    I am not sure if the event is actually triggered before the dialog is closed or immediately after. If this event has been implemented as a callback , then its probable that the event would be triggered after the dialog is closed.
    In any case, you can add a simple javascript alert code as the Dynamic Action and see if it runs fine.If that works you can add the region refresh javascript code manually as
    $('#REGION_STATIC_ID').trigger('apexrefresh')if that doesn't work, its probably due to the call happening from the dialog(before it closes) and the dialog unable to find any such element (since its attached to the dialog's parent)
    in such a case, use
    parent.$('#REGION_STATIC_ID').trigger('apexrefresh')This refresh method only works with report regions(and some LOV item types) , so for most page items you have to call some javascript that specifically fetches and sets the session value (either using ajax or new value passed from modal )
    Instead of using the plugin for the dialog, if you use the jQuety dialog API (which I guess the plugin calls internally) , then it has close event where you can add your custom code. You can find the API documentation here

  • ADF Region Refreshing Mechanism

    Hi all,
    i have a doubt on how ADF region refreshing mechanism works. Let me explain my doubts with an example. Suppose you have a page .jspx inside whom you put a region with the following relevant properties:
    - Refresh: ifNeeded
    - Activation: deferred
    - Parameters:
    ID Value
    param1 #{pageFlowScope.myBean.param1}
    param2 #{pageFlowScope.myBean.param2}
    paramN #{pageFlowScope.myBean.paramN}
    As you can see, the region is instructed to re-execute its task-flow everytime any of its parameters change. What i don't understand is if the parameters must be changed in particular ways that let the region know that it must be re-executed or they can be changed in any way, for example from within the method of a managed bean: returning to the example above, if inside myBean i have a method like the following:
    public void refreshRegion(){
    setParam1(new Param1());
    the region gets re-executed everytime i call this method?
    If not so, could you please explain how exactly the region detects that one of its parameters is changed and then it must re-execute its task-flow?!?
    Thanks in advance!
    Bye!
    Fabio

    Hi,
    thanks for the reply. Is there some reason in particular to use variables stored at requestScope level? The mechanism used by regions to refresh theirselves don't should be the same regardless the scope at which their parameters are stored?
    As a technician, i imagine that the only way regions are able to automatically detect the need to re-execute their task flow is putting theirselves in constant listening to eventual changes in the value of their parameters. As far as i know, this is the only way for regions to detect the exact moments when refresh is required, despite the way their parameters are updated. If this is not the case, then i think the assumption according to which regions are able to refresh theirselves no matter the way their parameters are changed is wrong, and i'd like to know the real mechanism that hides behind the refresh of ADF regions.
    You said that:
    " Now, in any of the server code, if you are changing anyone of the above requestScope values, the taskflow would be re-executed "
    Please, let me ask you: even if the code that changes the value runs inside a thread different from the "ADF thread"?
    Thanks again,
    Bye!
    Fabio

  • Refreshing a region, Rich Region.refresh or addPartialTarget ?

    Hi All,
    I have a question about refreshing a region.
    Assume that a region is bound to a backing bean property (RichRegion myRegion). And getMyRegion() is the getter for the region in backing bean.
    What I want to know is the difference between using getMyRegion().refresh(FacesContext.getCurrentInstance()) and AdfFacesContext.getCurrentInstance().addPartialTarget(getMyRegion()). And under which situations, these methods should be used?
    Could you please help me telling the difference? Thanks a lot.
    Best Regards,
    cmoster

    Hi,
    good question!
    1. AdfFacesContext.getCurrentInstance().addPartialTarget(getMyRegion())
    This performs a UI refresh of the region, which means the region is only re-rendered. This may not have any impact to the state of the task flow exposed in a region unless the task flow binding has its refresh option set so the task flow re-initializes. You use this option to refresh task flows in regions if you use shared data control (in which case the data content displayed in the region refreshes without the view displayed in the region to change). You can also use this to re-initialize a task flow (which means you restart it so its default activity is executed). You do this by setting ifNeeded as the refresh option and ensuring an input parameter of the task flow binding to be changed. Or, you use the refresh option as "default" but have a refreshCondition EL defined that returns true for a full task flow refresh
    2. getMyRegion().refresh(FacesContext.getCurrentInstance())
    While 1) is fully declarative, this is programmatic invocation that always refreshes the region such that the task flow exposed therein is restarted (executing the default activity). The method also adds the component to a list of partial refresh targets. This method must be called during JSF INVOKE_APPLICATION phase, which means it is to be used from an action event and not a component event like value change.
    Frank

  • Region Refresh

    Dear All,
    Use Case:
    I have an input text and a region below it. In the input text, you could supply employee Id and the region should display Employee Information.
    On click of a button, I am setting a pageflowscope variable.
    <af:inputText label="Employee ID" id="it2"
                              value="#{pageFlowScope.employeebean.empId}"/>
    <af:commandButton text="Search" id="cb1" partialSubmit="true">
        <af:setPropertyListener from="#{pageFlowScope.employeebean.empId}"
            to="#{pageFlowScope.empId}" type="action"/>
    </af:commandButton>
    <af:outputText value="#{pageFlowScope.employeebean.empId}" id="ot1"
        partialTriggers="cb1"/>
    <af:region value="#{bindings.EmployeeInfoFlow1.regionModel}"
                         id="r1" partialTriggers="::cb1"/>I already setup my taskflow to read from this pageflowscope variable and already configured my partialtriggers.
    <taskFlow id="EmployeeInfoFlow1"
                Refresh="ifNeeded">
      <parameters>
         <parameter id="empId" value="#{pageFlowScope.empId}"/>
      </parameters>
    </taskFlow>My problem is that, the #{pageFlowScope.employeebean.empId} is not updated with inputtted value if the region
    is present. But if I comment out the region, I see my input text getting updated values?
    What could be the reason thanks?
    Edited by: Neliel on Aug 1, 2011 1:52 AM

    Hi Jobinesh,
    I notice that the region refreshes first after I clicked the button but before the pageflowscope input parameter was updated.
    I already removed the partialtrigger on the region and I was hoping that it will accept the new value of employeedId that is in pageflowscope but I noticed
    that it is still reading the previous value which is blank. The adf region is still returning data from the first call in the web service which is weird.
    I simplify my coding and made simple code first without the region and managed bean and the used of setpropertylistener. I used this simplified codes.
    I notice that this code is ok:
    <af:inputText label="Employee ID" id="it2" value="#{pageFlowScope.empId}"/>
    <af:commandButton text="Search" id="cb1" partialSubmit="true" />
    <af:outputText  value="Employee ID: #{pageFlowScope.empId}" id="ot1"
                               partialTriggers="cb1"/>But this one causes trouble, the taskflow call to the web service is still blank or null.
    What's worst is that the output text value is unable to refresh its value
    <af:inputText label="Employee ID" id="it2" value="#{pageFlowScope.empId}"/>
    <af:commandButton text="Search" id="cb1" partialSubmit="true" />
    <af:outputText  value="Employee ID: #{pageFlowScope.empId}" id="ot1"
                               partialTriggers="cb1"/>
    <af:region value="#{bindings.EmployeeInfoTaskFlow1.regionModel}"
                         id="r1" />I am finding this behavior really odd or I am just too dumb to understand I think.. ;(

  • ADF: big issues (bug?) with dinamic region refresh

    Hi all,
    we are creating a page that contains a component like the DinamicTabUiShell, but we have several problems refreshing the dinamic region we are using.
    Here is a detailed explanation of our work.
    We have page (monitoraggio.jspx) that has a panel stretch layout. Inside the top facet, we have navigation pane, that draws its tabs with a for each, looping through a managed bean (monitoraggioTabbedPane) collection . Inside the center facet, we have a dinamic region (monitoraggio.jspx, ID=r1).
    We can say that we implemented the adf DinamicTabUiShell.
    This is monitoraggio.jspx
       <af:panelStretchLayout id="psl2" topHeight="auto"
                                             endWidth="0px" bottomHeight="0px"
                                             >
                         <f:facet name="bottom"/>
                         <f:facet name="center">
                               <af:region value="#{bindings.dynamicRegion1.regionModel}"
                                          id="r1" partialTriggers="::np1:cni1"
                                          />
                          </f:facet>
                         <f:facet name="end"/>
                         <f:facet name="top">
                            <af:panelGroupLayout layout="vertical" id="pgl2">
                               <af:spacer width="10" height="10" id="s1"/>
                               <af:panelBorderLayout id="pbl1"
                                                     styleClass="AFStretchWidth"
                                                     binding="#{viewScope.monitoraggio.tabbedPaneArea}">
                                  <af:navigationPane id="np1">
                                     <af:forEach items="#{monitoraggioTabbedPane.monitoraggioTabItems}"
                                                 var="tab">
                                        <af:commandNavigationItem text="#{tab.tabName}"
                                                                  id="cni1"
                                                                  action="#{tab.activateTab}"
                                                                  selected="#{tab.selected}"
                                                                  immediate="true"
                                                                 >
                                        </af:commandNavigationItem>
                                     </af:forEach>
                                  </af:navigationPane>
                                  <f:facet name="end">
                                     <af:group id="g1">
                                        <af:commandImageLink id="cil1"
                                                             icon="/icons/closeDialog_mo.png"
                                                             disabledIcon="/icons/closeDialog_d.png"
                                                             hoverIcon="/icons/closeDialog_n.png"
                                                             depressedIcon="/icons/closeDialog_md.png"
                                                             action="#{monitoraggioTabbedPane.removeSelectedTab}"
                                                             rendered="#{monitoraggioTabbedPane.currentTabPosition > 0}"
                                                             immediate="true"/>
                                        <af:spacer width="15" height="10" id="s2"/>
                                     </af:group>
                                  </f:facet>
                               </af:panelBorderLayout>
                            </af:panelGroupLayout>
                         </f:facet>
                      </af:panelStretchLayout>monitoraggio.jspx page def
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.56.60" id="monitoraggioPageDef"
                    Package="sop.view.pageDefs" SkipValidation="true"
                    ControllerClass="sop.view.pagePhaseListener.MonitoraggioListener">
       <parameters/>
       <executables>
          <variableIterator id="variables"/>
          <taskFlow id="dynamicRegion1"
                    taskFlowId="${monitoraggioTabbedPane.monitoraggioCurrentTab.taskFlowId}"
                    activation="deferred"
                    xmlns="http://xmlns.oracle.com/adf/controller/binding"
                    RefreshCondition="#{monitoraggioTabbedPane.changed}">
             <parameters>
                <parameter id="oggettoCoinvolto"
                           value="#{monitoraggioTabbedPane.monitoraggioCurrentTab.oggettoCoinvoltoAllarme}"/>
                <parameter id="refreshFlag" value="#{true}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
                <parameter id="isStandalone" value="#{true}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
                <parameter id="beanRicercaTratte" value="#{null}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
             </parameters>
          </taskFlow>
       </executables>
       <bindings/>
    </pageDefinition>The content of the dinamic region is took from the managed bean of each tab added to the navigation pane: each tab keeps track (through OggettoCoinvolto attribute) of its content, and the dinamic region loads its task flow using the tab attribute OggettoCoinvolto.
    Since we have to open tabs programmatically, to open a tab, what we do is:
    - add a tab to the monitoraggioTabbedPane managed bean tabs collection (here we create the tab managed bean object, setting the OggettoCoinvolto property)
    - try to refresh both the dinamic region and the tabbed pane.
    All these operations, work flawlessly: we see that the model (monitoraggioTabbedPane tabs collection) contanis all the tabs, and each tab contains its correct task-flow-id, and this task-flow-id is correctly returned to the dinamic region.
    The problems is about refreshing the view (both the dinamic region and the navigation pane)
    To refresh them we tried using both AdfFacesContext.getCurrentInstance().addPartialTarget, and queueActionEventInRegion, we tried also setting the region refresh property to "ifneeded" and we changed a boolean flag passed as input of the region each time we wanted to refresh it, we used partianTriggers (you can all see in monitoraggio.jspx), but it does not work...
    Sometimes we see that only the NavigationPane is refreshed, and sometimes when switching tabs, we see that the dinamic region does not change its content.
    What can we do? Is our way to refresh region/dinamic pane wrong ?
    We tried also to set the refresh property of the region to 'default' and using the refresh condition, changing it programmatically, but it does not seem to work...
    Take, as an example, a refresh condition that simply gets the value of a boolean in a managed bean (monitoraggioTabbedPane.changed).
    TO make the refresh condition work, is it sufficient to change the boolean with a simple assignment (changed = true), or do we need to use JSFUtils.setExpressionValue(#{monitoraggioTabbedPane.changed}, true) ?
    Is there any way, in adf 11g, to dinamically launch an design-time-unknow-number of task-flows, where each task-flow is implemented as a region and each region must be associated to a different tab. Is possible to achieve this using dinamic region, or we are mis-using the dinamic region ? How can we refresh it ?
    Many thanks to anyone willing to lean an hand...

    I notice you have the activation property set to deferred.
    <taskFlow id="dynamicRegion1"
    taskFlowId="${monitoraggioTabbedPane.monitoraggioCurrentTab.taskFlowId}"
    activation="deferred"
    I would set it back to default or immediate for the sake of clarity. According to the doc, setting it to deferred has the same effect as immediate for JSP based pages. This is purely cosmetic.
    You have refreshCondition set which is not what you want in this case.
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    RefreshCondition="#{monitoraggioTabbedPane.changed}">
    You should clear this setting and change the refresh attribute to ifNeeded.
    Your refreshFlag is hard-coded to true.
    <parameter id="refreshFlag" value="#{true}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    When dynamicRegion1 is refreshed, it will only execute if one of it's task flow parameters has a different value then it did during the previous execution. refreshFlag should be set to an el expression that changes at least every time you change tabs if not more often depending on your requirement.
    You mention "we changed a boolean flag passed as input of the region each time we wanted to refresh it" Did you set refreshFlag to an el expression in a different version of the code?
    Sounds like you may have already tried all the above - if that's the case here some suggestions to help diagnose the issue further after you've returned to settings above.
    1) Go to monitoraggio.jspx page def and - in the design tab - and right click to the right and the left of dynamicRegion1 and select Toggle Breakpoint to enable breakpoints before and after the task flow is evaluated.
    2) Go to the design view of the task flows that you are showing in the tabs. Right-click on the each task flows default activity and select Toggle breakpoint to set a breakpoint.
    When you run the application, you should hit the pageDef break points any time the task flow is queued for refresh. If you don't hit those breakpoints, then whatever you are doing to refresh the task flow isn't working.
    Assuming you are successfully queuing your task flow for refresh, you'll hit the pageDef breakpoints. When you hit the first one (on the left), go the expression evaluator in the debugger and enter the el expression for refreshFlag and evaluate it. You want to verify that it changes as expected. If the value of the expression doesn't change before the next tab is displayed, the task flow won't be re-executed. If the values not changing as expected, you need to change the logic you use to update the refreshFlag.
    You'll only hit the breakpoints on the default activities in your task flows when they are actually executed. If you hit the default activity breakpoint but are still seeing stale data, there's something wrong with the logic internal to the task flow.
    Hope that helps.

  • Dynamic action with interactive report region refresh

    Hi!
    I'm using APEX 4.02
    I've got a page with 2 regions.
    Region1 is a (input) form
    Region2 is an interactive report on the same table as region 1
    When entering values on the form I'm trying to dynmically lookup similar records in the table with the interactive report.
    I've made a dynamic action on the change of the form fields which should refresh the interactive report region. I can see this one fires if I add a alert to debug if it fires.
    The dynamic report is based on a query with bind variables pointing to the form fields, for example
    where
    field1 = :P2_FIELD1
    This works great on the page load, so no dynamic action is fired but I can see the rows in the report region are the ones I am looking for.
    But the refresh of the report region is not working, it is never refreshing and/or showing the correct data after a change of the form fields, so it looks like the dynamic action "refresh region" is not working on the interactive report.
    Any ideas why this can go wrong ?
    I would like to solve this using standard dynamic actions and preferrably not via PL/SQL or JS, shoudl be possible if I should believe the documentation... ;)
    Cheers
    Bas
    Edited by: bklerk on 26-apr-2011 3:07

    Hi,
    When you change value to item, I assume you do not set value to session state.
    Use interactive report advanced attributes "Page Items to Submit" , set items session state before report is refreshed.
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/app_comp.htm#sthref1235
    Similar post/issue here
    Hide and show region - hides on refresh
    Regards,
    Jari

  • SQL Report Region Refresh

    Application Express 4.0.2.00.09
    Oracle 11 XE
    How do I setup a Dynamic Action to refresh my region every X number of seconds? I can refresh the region easy enough on events, but I can't seem to figure out the timing thing. Maybe I just need some sleep...
    Austin

    Joe -
    Interestingly enough, I have not yet found a good way to alter the Report Region title with the last update time. I would think there is a way to do it, but I do not currenlty have that knowledge, nor the time to thoroughly investigate how to do it. I do have a bit to share about the mechanics of the refresh discussed earlier in this thread.
    Consider this code, place in the footer of a SQL Report Region:
    <script type="text/javascript">
    <!--
      var d = new Date();
      document.write("Last Updated: " + d);
      setInterval("jQuery('#INTRADAY_IRR').trigger('apexrefresh');", 2000);
    -->This will place the date as a footer to the SQL report. The javascript will then refresh the report every two seconds. (or whatever timeframe you specify) Now, in my SQL for my report, I added an additional column that is the current time. My SQL would look something like:
    SELECT foo,
            bar,
            to_char(sysdate, 'HH24:MI:SS') update_time
    FROM dualThis SQL will show when the data was last fetched from the database, while the footer of the region shows the time when the region was loaded by the browser.
    If you run the page with these, or similar, parameters, you will notice that the update_time column in the report changes with each refresh, however, the region footer does not change. This is because the script isn't called everytime the data is refreshed. This would indicate that using the methodology mentioned previously in this thread, the entire region is not refreshed but simply the dataset and the report itself. This would mean that you would have a quite difficult time updating the region title from the SQL code alone... I'm not saying it is impossible, I just don't know how to do it...
    Having said that- I do have a work around.
    Consider this as the region title:
    <div id="MyUpdatedReport" ></div>Now consider this code in the region header:
    <script type="text/javascript">
    function getUpdatedDate() {
      var d = new Date();
      document.getElementById('MyUpdatedReport').innerHTML="Region Title - Last Updated: " + d;
      t=setTimeout('getUpdatedDate()',2000);
    </script>And this in the region footer:
    <script type="text/javascript">
    <!--
      setInterval("jQuery('#INTRADAY_IRR').trigger('apexrefresh');", 2000);
      getUpdatedDate();
    -->
    </script>We create a DIV tag as our header. Then we have a function in the header that updates our div tag every two seconds. In the footer, we tell APEX to refresh the data every two seconds, and we tell our function to begin working. Effectively, you have a timestamp indicating when, theoretically, the data should have been refreshed. Now, this timestamp in the Region Title is NOT the true update time, but, theoretically it should be close. You should probably test this to see if you want to use it. Personally, I don't like this solution and I don't think I would ever implement it in any sort of production application. However, in an application that is just for me, I might hack something like this up.
    The key part of this work around would be to keep your times synchronized. It would be of no benefit if APEX was refreshing the data every 60 seconds but the title was refreshing every 6 seconds. Yikes, that could confuse a few people.
    I hope this has been a help.
    Austin

  • BPM composer getting refreshed automatically at regular intervals

    Hi,
    We have installed SOA Suite 11.1.1.6. While working on BPM composer, the window gets refreshed automatically after regular intervals and the entire work gets lost.
    Any help is highly appreciated.
    Thanks,
    Deepak

    > and the tcode for the lock is KRNL. and we dont have any other information regarding this.
    You mention that this is the account of an employee, so I assume a Dialog type user ID.
    Sounds to me like a script somewhere with this user ID in it for the connection to the system. Could be anywhere... theoretically also on a PC.
    Contact the user and ask them whether they saved their pwd anywhere.
    Also activate the SM20 dynamic filters to find the terminal for all types of events (also not critical) before the next pwd lock of the user (128).
    If you find that the terminal is an application server of your own system, then you will need to check your jobs again in more detail and in extreme cases even transport imports.
    Cheers,
    Julius

  • Region refresh on clicking button

    Hello,
    I have created one report and report should be refresh on clikcing REFRESH button.so for that i have created DYNAMIC ACTION that action is fired on clicking REFRESH (DOM objects).
    But region can not refresh as other SET VALUE action fired.
    Can anyone please help me where i m wrong?
    Thanks.

    Hi
    Set the controller at the page layout region and test.
    BM

  • Region Refresh on Tab click in ADF

    Hi ADF Experts,
    I have a requirement where I want to refresh table inside the region when tab is clicked.
    I am using dynamic tab shell.
    Jdev version 11.1.1.5
    Tried all possible combination but no luck,
    Please help .

    Hi Timo,
    Thanks for the reply.
    I am little confused here, I am following solution provided in below link
    https://forums.oracle.com/message/10408087#10408087
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/79-global-template-button-strategy-360139.pdf
    I am getting selection event ,when tab is selected , but confused how to move further to refresh my region.

  • 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

  • ADF:Dynamic Region Refreshing

    Hi,
    My JDeveloper version is 11.1.1.5
    I am facing one problem.
    I have one table to which I have Save and Remove buttons.
    To the Save button, I have one action which programmatically inserts the row into the table. And Remove button removes the row present from the table programmatically.
    The Problem I am facing is, whenever I save or remove I need to reload the page to see the row inserted or deleted. It is not happening automatically...
    Could anyone please tell me how to reload a dynamic region which reflects DB table modification onto the Dynamic Region?
    Many thanks in advance

    Hi Guys,
    Here I will try to put my scenario...
    There is one table called APPLICATION which displays all the data using ViewObject1. To this table I am adding and saving and deleting a new row.
    ViewObject1 Query :
    SELECT Application.BUSINESS_UNIT,
    Application.DESCRIPTION,
    Application.ID,
    Application.NAME
    FROM APPLICATION Application
    And there is one more viewObject which refers the same table which also displays the same columns with the data which is mentioned in below viewobject query.
    ViewObject2 Query:
    SELECT Application.BUSINESS_UNIT,
    Application.DESCRIPTION,
    Application.ID,
    Application.NAME
    FROM APPLICATION Application
    WHERE ID not in (select ID_application from project_application)
    So
    Whenever I am saving/removing a row, the table with ViewObject1 is being reflected with the saved row... but not the table with ViewObject2. So can you please advise me how to reflect the saved row in ViewObject2 also..
    ViewObject1 and ViewObject2 are referring to the same table(APPLICATION) in the DB with different queries...
    Many Thanks in Advance,
    Edited by: 977652 on Jan 22, 2013 4:42 AM

  • Confirmation in DA before refresh of a PPR region

    Apex 4.1.1.00.23
    I am working with an app that I am upgrading from v3.2 to 4.1.1.00.23 and I have a page/region that had some javascript in it that I am trying to move away from manual JS and into dynamic actions.
    The region in question is a tabular form with PPR turned on and the problem I'm having is that I wish to check if any of the checkboxes are checked and if so, display a confirmation message to the user before the region paginates. I want that if the user does NOT press OK to the confirmation that the pagination is cancelled.
    So I have a DA as:
    1. Before refresh of my region
    2. Conditional based on javascript expression (I have my own JS on the region that checks if any checkboxes are checked and it does work for sure) that checks if at least one checkbox is checked.
    <script language="javascript" type="text/javascript">
    function verifyCheckboxes()
      var checkboxes=document.getElementsByName('f01');
      if (checkboxes==null)
        return(false);
      else
        var vBoxChecked=false;
        for (var i=0;i<checkboxes.length;i++)
          if(checkboxes.checked)
    vBoxChecked=true;
    break;
    return(vBoxChecked);
    </script>
    3. If any are checked, prompt the user with the confirmation "are you sure you want to leave this page?". This action is defined as type "confirm".
    4. If the user presses cancel, the page should not continue.
    Steps 1-3 work fine. Step 4 doesn't happen...no matter what the user chooses (OK or cancel), the region paginates.
    I have worked with confirmations before on "before page submit" and it works like this...cancellilng in the confirmation box cancells the submission. I figured this would work similarly with "before refresh" of a region, but it does not.
    Is this an Apex bug that the confirmation OK/Cancel always allows the region to refresh (different behavior than with a confirmation used before page submit)?
    Ideas on another soution for what I'm trying to do?

    Well I guess the situation is that "before refresh" fires after the signal to refresh the region has been heard by the server.
    In other words, when I paginate through the region, I click the link to paginate, it wants to refresh but encounters my DA that fires before the region actually refreshes. This is fine. My code fires correctly and prompts "are you really sure...?". Problem is, the answer from the confirmation is ignored (either OK or cancel permits the pagination to continue).
    When I've used a confirmation with a "before page submit" in this same manner, answering "cancel" to the confirmation would also abort the submit process.
    So I want the same sort of "cancel" action to abort the region refresh in this case, but seems like it's ignored.

Maybe you are looking for

  • IPhone 5S some music grayed out

    I just got an iPhone 5S.  Backed up my old phone to computer, and used this backup to get info, data and music onto new phone.  After syncing the phone with iTunes on my computer, some songs on some albums are grayed out and have a red circle with a

  • Masked HTML tags in substitution strings after upgrade to Apex 2.2

    Hello,<br> <br> in my application developed with htmldb 2.0 I had the following scenario which worked fine until upgrade to 2.2:<br> <br> Requirement: a multiline text should be displayed as entered on a html report page.<br> My solution:<br> - a onl

  • IMovie-- FCE HD + Keynote --- Possible?

    Have a lecture recorded and set up with iMovie on a website (http://st-dominic-church.org/bible-lecture-1.html). With the lecture was a powerpoint with pictures and now that I have the powerpoint would like to integrate it and place slides where they

  • Using an output statement for a delete w/o affecting any oracle error msg

    Dear all; I have a delete statement similar to this below   delete from tbl_one t   where t.tbl_one_location = location   and location not in (select distinct p.issuearea  from tbl_two p);the delete statement is within a package, however what i would

  • Multiple searching options

    hi experts, i need to create one searching iview but has multiple search options. The purpose is to let the user search for documents using one iView only (we have many types of documents with different metadata). We try to separate the options by ta