Query regarding refreshing grid data when returned from  a different Task Flow

Hi Experts,
JDEV version used is :11.1.1.5
Our application uses dynamic UI shell tabs.
Whenever the user logs in he is taken to the TAB A.
From TAB A, user navigates to TAB B.
The TAB B has a GRID B(table with some records ).
Column A on TAB B has a hyperlink which when clicked will open up a different task flow in a different tab.
The click on column A's hyperlink for different rows will open different TF's (based on some conditions).
On clicking the hyperlink the _launchActivity(String title, String taskflowId, boolean newTab) method is used which open the TF in a new tab.
User works on the TF( on a new tab) which was opened on click of the Column A's hyperlink and clicks on SAVE.
On click of save  some operation is performed and removeCurrentTab method is called which will close the current tab and the control goes to first  tab(TAB A) .
The problem:
Once the user tries to click or come back to to TAB B the GRID B is never refreshed as we are unable to get the handle to refresh the grid data.
Any suggestions would be highly appreciated.
Thanks,
Vikranth

Hi Experts,
JDEV version used is :11.1.1.5
Our application uses dynamic UI shell tabs.
Whenever the user logs in he is taken to the TAB A.
From TAB A, user navigates to TAB B.
The TAB B has a GRID B(table with some records ).
Column A on TAB B has a hyperlink which when clicked will open up a different task flow in a different tab.
The click on column A's hyperlink for different rows will open different TF's (based on some conditions).
On clicking the hyperlink the _launchActivity(String title, String taskflowId, boolean newTab) method is used which open the TF in a new tab.
User works on the TF( on a new tab) which was opened on click of the Column A's hyperlink and clicks on SAVE.
On click of save  some operation is performed and removeCurrentTab method is called which will close the current tab and the control goes to first  tab(TAB A) .
The problem:
Once the user tries to click or come back to to TAB B the GRID B is never refreshed as we are unable to get the handle to refresh the grid data.
Any suggestions would be highly appreciated.
Thanks,
Vikranth

Similar Messages

  • Populating a parameter of a task flow from a different task flow

    I have created a BPM process, where two human activities are there. Two human task consist of two task flows. I have inserted some data into table using store procedure from first task flow and passed the id (unique id of table) through BPM process data object into the second task flow. Now I want to start the second task flow with execute with Parameter attribute(where customized query been written on the view object to find details from table) and find the inserted row in the second task flow using the id and show it in a jspx page.
    Please help.

    You can pass managed bean as input parameter to your BTF, or you can use contextual events, or ...
    Maybe I didn't understood you description correctly, but if you use only one dynamic region, then you can't call BTF2 from BTF1.
    If you have two regions, one displays BTF1 and second displays BTF2, then this is possible.
    Dario.

  • Query not refreshing all data when run in workbook with other queries

    All,
    I have the following problem. I have a workbook that has two queries, one on each tab.
    The specific thing I notice that the company code is not showing up in the query at first until I hit refresh. Both queries use the same company code and user variables. When running the workbook I have each query set to "refresh query when running workbook". I have been able to duplicate this problem in either of the two queries, depending upon which company code variables I use. When I run the workbook, one of the two queries never updates company code variable unless I "refresh" the query directly after pulling up the workbook.
    I have changed the company code variable and used other company codes in each query, some required, some not, but ultimately a few of the key figures are not populating with current data and the company code is missing...unless I hit refresh on that query. I have tried creating new workbooks and removing and reinserting the queries, but this doesn't work either.
    And both queries run fine when executed alone.
    Again, Both queries use the same company code variable.
    Any help will be rewarded with points and is appreciated.

    Tasha,
    Remove the queries from the workbook and reinsert them. This should show the desired result.

  • Bug: 1st Date value returned from CF function as an Array

    I am encountering an annoying behavior in Flex.  I call a CF function to return a query into an arraycollection - very basic.  If the SELECT statement in the CF function includes any dates as returned values, the first date in the SELECT statement comes back into Flex as an array object that includes all of the fields in the query.  The other dates are returned normally as Date data types.
    This started happening a month or two ago, and I've reproduced it on several machines.  Needless to say, it is causing numerous errors when my code excpects a Date and gets an Array.
    Do you have any ideas of what might be causing this and what I can do about it?
    Thanks!!

    I'm not sure where to post it, but here are some snippets:
    in the cfc, I have a function as such:
    <CFFUNCTION name="GetPersonLog" returntype="query">
        <CFARGUMENT name="STUDENTID" type="numeric" required="Yes">
        <CFQUERY name="qry" datasource="#connection_string#">
            SELECT tblStudentLog.STUDENTLOGID, tblStudentLog.STUDENTID,
            <!---GETDATE() AS TESTTHIS,--->
            tblStudentLog.LOGDATE,
            tblStudentLog.LASTUPDATED,
            tblStudentLog.LOGENTRY
            FROM  tblStudentLog LEFT OUTER JOIN
            tblStudentDiscipline ON tblStudentLog.StudentDisciplineID = tblStudentDiscipline.StudentDisciplineID
            WHERE tblStudentLog.STUDENTID = <CFQUERYPARAM value = "#studentid#">
            ORDER BY tblStudentLog.LOGDATE DESC
        </CFQUERY>
        <CFRETURN qry>
    </CFFUNCTION>
    You see I have a REMmed out line to get a test date.  If I check the results in CF using cfdump, all dates come back as dates.
    In flex, the handler for the call to this function is simple:
            private function PersonLogHandler(event:ResultEvent):void{
                personlog = event.result as ArrayCollection;
                CursorManager.removeBusyCursor();}  
    If I stop the code here and evaluate the results in debug mode, I find that the LOGDATE result is an array of values, while the LASTUPDATED field is a date.
    If I put back the GETDATE() AS TESTTHIS, statement in the cfc function, then the result includes LOGDATE as a date object, but now the TESTTHIS result is an array.
    I have experienced this on 2 different machines, and it has brought my development to a standstill.  I can't thin of what changed to start these problems, except that I am now using the FlashPlayer 10 (with debugger).  This happens in Firefox and IE.  I am using FlexBuilder 3 and Coldfusion 8.

  • Tabular form loses entered data on return from error page after validation

    APEX 3.2
    I have a manually-built tabular form with validation. I display the error on the error page. When using Firefox and Chrome, when returning from the error page, the data I entered in the tabular form is still displayed. When using IE, that data is NOT retained.
    This worked properly at one time in IE.
    Suggestions?
    Thanks,
    -Ken

    APEX 3.2
    I have a manually-built tabular form with validation. I display the error on the error page. When using Firefox and Chrome, when returning from the error page, the data I entered in the tabular form is still displayed. When using IE, that data is NOT retained.
    This worked properly at one time in IE.
    Suggestions?
    Thanks,
    -Ken

  • Photos on my Mac show the wrong date when imported from a portable Hard Drive

    I’ve got loads of photos that I had imported from my old PC.Last night I decided to start going through them and trying to get them sorted  
    prior to importing into iphoto. I discovered that some of the pictures (in particular ones I have taken from my old Iphone) all had the same date and time
    assigned to them. When I checked the Exif details, it listed the correct camera etc, but the date created seems to have changed to the date I copied them to my portable hard drive.  
    I thought this was strange as when they were on my PC I thought they were correct. I booted my PC up and checked the portable hard drive on Windows. When viewed on my PC the pictures all have the correct time and date assigned to them. However when I plug the same portable hard drive into my Mac the same files show up as being created on a more recent date (say 20th Jan 2013).
    I’ve done a lot of research last night, although I can find no forum with this exact problem, I feel it must have something to do with compatibility. The portable hard drive is FAT32, and I am assuming that in order to ensure all of the photos information is transferred correctly in needs to be NTFS.
    The problem I have is how do I transfer my files again from my PC to an NTFS drive, whilst keeping all of the correct date and time information assigned to the photos. My understanding is that the 2 aren’t compatible.
    Has anyone ever had this problem? It mainly seems to be with photos I have extracted from my Iphone or edited in some form by rotating them.
    I have a 13" Macbook Pro Retina with OSX Mavericks installed.

    What you may want to do is archive as a Zipfile the photos and then transfer them to the Mac.     It is possible some of the metadata is being lost on the FAT32 formatting.    USB Flashdrive might work better than a FAT32 formatted hard drive, as I do know that most USB Flashdrives are formatted about the same as SD media cards, which manage to preserve the data when copied from camera to Mac.    My big question is, do you still have the photos on media cards?  You might just want to get a media card reader on your Mac, if the photos are not on SD cards, and transfer them over with the media card reader.
    I do believe Retina MacBook Pros all have SD card readers built-in.
    Note: I've asked this be moved to the MacBook Pro forum.  MacBook without the secondary name refers to the consumer notebook Apple stopped making in 2011.

  • Trigger fire when return from called form

    Witch triggers fire when returning from a called form in my master form?

    There is no trigger that fires in such events for calling form.
    It depends on your requirement.You can use WHEN-BUTTON-PRESSED trigger.
    DECLARE
    search_list paramlist;
    where_string varchar2(100);
    BEGIN
         search_list:=get_parameter_list('search_paramlist');
         IF NOT id_null(search_list) then
                   destroy_parameter_list(search_list);
         END IF;
         search_list:=create_parameter_list('search_paramlist');
         add_parameter(search_list,'P_SEARCH_SQL',text_parameter,'');
         call_form('E:\subhas\Oracle Tools\Oracle Form\Subhas_form\SEARCH.fmx',no_hide,no_replace,query_only,search_list);
    END;
    Subhas

  • Calling a bounded task flow from  an unbounded task flow

    How can I navigate from an unbounded task flow to a bounded task flow....
    My situation is as follows:
    In the adfc-config.xml, I have a view activity ADMhome, Wildcard as well as a task-flow-call, admTaskFlow.  A control flow goes from the wildcard to ADMhome while another control flow goes from the wildcard to task-flow-call.
    I have a bounded task-flow "adm-task-flow" with two view actitivies: AdmListView and AdmPageView with AdmListView as the default activity. A Control flow goes from the AdmListView to AdmPageView, all pointing the page fragments
    I created another page ADMregion which is a  (jsf) where I dragged the adm-task-flow onto.
    When I ran the application, the home page displayed properly but when I clicked on a command button to invoke the "adm-task-flow", the application will not responded.
    When I looked at the log message, It gave this message:
    <TaskFlowCallXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <TaskFlowCallXmlImpl> <parse> ADFc: Failed to parse element 'task-flow-reference'.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['task-flow-call', ' admTaskFlow '].

    Thanks for this clarifications...
    I created a view activity in the adfc-config-xml and called the page (ADMregion) where the task flow was embedded. It worked well..
    Another clarification I want is this, when do I use a task flow call to call a task flow?  My thinking and my understanding was that when you create a task flow, you use a task flow call to invoke the task flow.
    Pls another aspect I want you to guide me is on calling a java class from jsf and jsff pages. Being new in these technologies, I have having some difficulties navigating and putting all of them together. My problem is this:
    I created a java class under the view package of Application Sources in the View Controller of my Application. The java class returns a value. I designed a jsff form with input fields and and command buttons. I want when I clicked on a command button to take a parameter from the input field and pass it to the java class, the after processing, the java class returns a value which I will place inside one of the input fields in my jsff form.

  • Communicate from one bounded task flow to another bounded task flow

    Hi All can someone let me know how to communicate from one bounded task flow to another bounded task flow.

    Hi,
    you use contextual events to communicate from one region to another. Have a look here:
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/web_adv.htm#CACJBFGI
    Also keep an eye on
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html
    At the end of this week or beginning of next week I am recording a sample for this
    Frank

  • WebI displays incorrect dates when sourced from SAP

    We have several issues, all tied to displaying dates from a BEx Query, through the universe, into WebI.
    Scenario One:  Dates that have a datatype of date will parse in the universe, but will give driver not capable when used in WebI.  Could this be tied to an invalid date?
    Scenario Two:  Dates set with date datatype parse correctly and can be queried in WebI, but return incorrect results. If queried WITHOUT a measure, date appears as one day less than actual date (ex. SAP date  = Apr 28, 2009 but universe object set with date datatype shows April 27, 2009.  When a measure is added, the same date displays as Sept 27, 1976.
    I suspect that we need to modify the data access files in order to accurately convert SAP dates (which by default come into the universe as Character) to a date datatype. If this is the case, are there sample sapen.prm and sap.sbo files to ensure appropriate settings? 
    Does anyone have additional thoughts on what could be causing this issue?  Are there sample sapen.prm and sap.sbo files anyone would be willing to share?
    Thanks!

    Hi Robin,
    If you are using BOE XI 3.1. Then make sure that you apply fixpack 1.4 on it because the issue you are Describing is Fixed in this fix pack.
    Here is the Description of that Particular issue In Release Notes of Fix pack 1.4
          ADAPT01181134
          Description:
          When users create a Web Intelligence document with the universe which is built based on SAP data, it fails to display correct values for some Date objects. This problem occurs when users have a timezone of 'GMT-x hours' on the machine where BusinessObjects Enterprise is installed.
          I hope this would solve your problem.
    Thanks,
    SK.

  • Refresh of Data in Xcelsius from Web Intelligence Results

    Hello,
    I am new to the forum but not to Business Objects/Xcelsius.  I attended the SAP Sapphire Event last May and spent time in the Business Objects lab.  Two Product Managers demonstrated how I would be able to refresh the data in an Xcelsius dashboard using Live Office by retreiving results from a Webi document without refreshing the Webi query. 
    For example, my Webi document contains 100,000 result rows.  I want to be able to select a dropdown in my dashboard and have Live Office retreive only a subset of the 100,000 rows.  This being done without having the Webi query being refreshed from the database.  The Webi query would be refreshed nightly.
    The Product Managers advised that this functionality would be available in Service Pack 3 or before.  As of now I cannot find out how to make this work.  Any help or information would be appreciated.  Thanks.

    Hello Charles,
    WebIntelligence Input Controls are a way to enhance and customize user experience with report filters, they are therefore based on report filters and the feature is more focused on user interface & experience rather than exposition outside web intelligence.
    Anyway, AFAIK, report filters are not available from Live Office report parts, you can only filter content with prompts, which requires the document to be refresh from the database, which has a direct impact on performance and scalability for consumers.
    However, if you are with WebIntelligence XI 3.1 SP2 you have the alternative to publish from WebI Rich Client, report elements (any table or chart) as web services (called BI Services).
    This tool is based on Qaaws technology, and share some of its features (main being that is uses the same Xcelsius Data Manager connection), it exposes a large part of WebI interactions to external consumers (esp. Xcelsius) : report filters, drill, prompts.
    Besides this tool provides a set of call input parameters to tune web service consumption for best performance and scalability, enabling to leverage WebI document management features like scehduling, publishing and refresh, so consumers can balance performance with real-time data.
    More information is available from WebIntelligence Rich Client user documentation from section sharing webi content with other web applications.
    I recommend you install the latest fix pack (SP2.5 and above), as some initial fixes were required to ensure full compatibility with Xcelsius.
    Hope that helps,
    David.

  • Refresh ALV Report after return from dialog screen

    Hi All,
    I have developed an alv report which lists new products, when user clicks on a product it will take to custom dialog screen where user makes neccessary changes. Once the changes are done user clicks back the control comes back to the ALV report.
    My question is when they come back to ALV report it should refresh and list the new products. Basically I want to know is it possible to refresh the report when control is coming back from dialog screen to ALV report.
    Pls provide me a best way to handle this scenario.
    Regards,
    Anand

    Hi Archna
    This is the code I am using
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program      = v_repid
          i_callback_user_command = 'USER_COMMAND'
          i_callback_top_of_page  = 'TOP_OF_PAGE'
          i_grid_title            = i_title
          it_fieldcat             = it_fcat
          it_events               = v_events
          i_save                  = 'A'
        TABLES
          t_outtab                = it_alv_cvg.
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN '&IC1'.
          READ TABLE it_alv_map INTO wa_alv INDEX rs_selfield-tabindex.
          IF sy-subrc = 0.
            SET PARAMETER ID 'ZCR' FIELD wa_alv-product.
            CALL TRANSACTION 'ZSD_PRODUCT_DIV' AND SKIP FIRST SCREEN.
          ENDIF.
      ENDCASE.
    ENDFORM.   
    After it goes to dialog when I clcik back it comes  back to the alv report.
    Now can you Pls tell me where to use the refresh.
    Regards,
    Anand

  • Report yields no data when viewing from InfoView

    Post Author: Johannes
    CA Forum: Publishing
    I've just installed CRXi server and I'm now trying to publish a simple Crystal report. 
    First of all, this report accesses a date field that's a string format yyyymmdd.  I'd like the report to run for today, in the format mmddyyyy.  So I created a formula to convert the date string field to the system's date.  it works when I run the report in CRXi. 
    When I publish the report onto the server, it only prints the report header and no data.   
    Has anyone come across this?  I can't seem to find anything on the help files.  I tried different viewers such as Acrobat reader, Active X - no difference.
    Any help for this newbie would be appreciated.
    J

    Hi
    SQL services are running under MSSQL_MSSQLSERVER, when changing owner of the CreateCache job to NT SERVICE\SQLSERVERAGENT it works, but after SQL reboots the domain account are there again. I think it will work if a use a copy of the job and set the SQLSERVERAGENT.
    I talked to some SQL guys about this and they saw that the script use the owner to execute the script.
    However this is not a recommended solution. I will install SP1 very soon and see if there is any change.
    By the way installations instructions for SP1 are really bad but I assume that we can use the same approach as we did when going from MBAM 1.0>2.0?
    Thomas Z

  • Data not populated when run from a different machine

    I have a stored procedure which populates a table
    The stored procedure when it is run on my machine using SQL Plus populates data correctly in a table.
    I select using SQL PLUS and it shows that the data is there
    But when I run the SAME procedure ( SAME schema, SAME parameters, same everything ) from a
    different machine using SQL PLUS , it shows that "PL/SQL procedure completed successfully", BUT does not populate
    the table.
    SAme thing is happening for all other procedures too.
    Why is this happening
    Please help
    Ashwin

    I checked using this
    SELECT * FROM V$PARAMETER WHERE LOWER(NAME) ='nls_language'
    AND I get same results on both machines
    NUM NAME TYPE
    VALUE
    ISDEFAULT ISSES ISSYS_MOD ISMODIFIED ISADJ DESCRIPTION
    UPDATE_COMMENT
    96 nls_language 2
    AMERICAN
    TRUE TRUE FALSE FALSE FALSE NLS language name
    Thanks
    Ashwin N.

  • LCD flash when return from sleep

    Hi,
    I start to notice that my display sometimes "flashs" when I "ask" to the computer return from a Sleep.
    It's happens sometimes, not all time. I will start to see exact when it's happen, like If just before it's sleep, or when sleep for more time.
    But anyone has notice the same thing happens??
    It's a little bit annoying because I use my Mac in a "dark" room, with dimmed light, and when return this flash blind me for a few seconds.
    It's really like the flash from de the photo booth, but less strong.

    I had the same problem:
    http://discussions.apple.com/thread.jspa?threadID=555485&tstart=0
    SOLUTION: Disable the screen saver (ie - set it to "never") and it won't do it. You've probably got the screen shutting down prior to the screen saver kicking in anyhow.
    Hope this works - it did on mine.

Maybe you are looking for