Help with Automatic refreshing

I got this graph that I can slide with my finger, Im wondering if its possible to update it automatic with this code?
//Function for sliding graph.
   protected function mouseDownHandler(event:MouseEvent):void
    lastX = event.stageX;
    systemManager.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
    systemManager.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
   protected function mouseMoveHandler(event:MouseEvent):void
    var delta:Number = (lastX - event.stageX) / chart.width * viewportMax;
    if (hAxis.minimum + delta < 0)
     hAxis.minimum = 0;
     hAxis.maximum = viewportMax;
    else if (hAxis.maximum + delta  > chart.dataProvider.length - 0)
     hAxis.maximum = chart.dataProvider.length - 0;
     hAxis.minimum = hAxis.maximum - viewportMax;
    else
     hAxis.minimum += delta;
     hAxis.maximum += delta;
    lastX = event.stageX;
   protected function mouseUpHandler(event:MouseEvent):void
    systemManager.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
    systemManager.removeEventListener(MouseEvent.MOUSE_MOVE, mouseUpHandler);

Here is the whole graph code, the source is the "myArray", it gets updated thru UDP.
I guess something have to be done in the "mouseMoveHandler". Tried to change different things, but it
still scolls with finger only, and does not update by itself. There should be a way to make it scroll by itself, dont you agree?
<fx:Script>
  <![CDATA[
   import flash.events.TimerEvent;
   import flash.utils.Timer;  
   import flashx.textLayout.events.ScrollEvent;  
   import mx.collections.ArrayCollection;
   import mx.events.FlexEvent;
   import mx.rpc.events.AbstractEvent;  
   public var NewValue:Object; 
   public var Value:String;
   public var myTimer:Timer;
   public var PowerNumber:Number;
   //Function for UDP graph.
   protected var lastX:Number = 0;  
   [Bindable]
   protected var viewportMax:Number = 10;
   private function creationCompleteHandler():void
    completeHandler();
    init();
   protected function completeHandler():void
    chart.dataProvider = myArray;
   protected function mouseDownHandler(event:MouseEvent):void
    lastX = event.stageX;
    systemManager.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
    systemManager.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
   protected function mouseMoveHandler(event:MouseEvent):void
    var delta:Number = (lastX - event.stageX) / chart.width * viewportMax;
    if (hAxis.minimum + delta < 0)
     hAxis.minimum = 0;
     hAxis.maximum = viewportMax;
    else if (hAxis.maximum + delta  > chart.dataProvider.length - 1)
     hAxis.maximum = chart.dataProvider.length - 1;
     hAxis.minimum = hAxis.maximum - viewportMax;
    else
     hAxis.minimum += delta;
     hAxis.maximum += delta;
    lastX = event.stageX;
   protected function mouseUpHandler(event:MouseEvent):void
    systemManager.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
    systemManager.removeEventListener(MouseEvent.MOUSE_MOVE, mouseUpHandler);
   public var myArray:ArrayCollection = new ArrayCollection();
   public function initTimer():void
    var myTimer:Timer = new Timer(500, 0);
    myTimer.addEventListener("timer", timerHandler);
    myTimer.start();
   //Function for UDP graph.
   public function timerHandler(event:TimerEvent):void
    var obj:Object = new Object();   
    obj.time = getTimer();   
    obj.Value = NewValue;
    myArray.addItem(obj);
   //Function for UDP graph.
   protected function applicationCompleteHandler(event:FlexEvent):void
    udpSocket = new UDPSocket();
    udpSocket.addEventListener(DatagramSocketDataEvent.DATA, udpDataHandler);
    udpSocket.bind(1000);
    udpSocket.receive();   
    initTimer();
   //Incomming UDP for graph (Tracking).
   protected function udpDataHandler(event:DatagramSocketDataEvent):void
    var Value:String = event.data.readUTFBytes(event.data.bytesAvailable);
    if(Value)
     NewValue = Value;
    else
     NewValue = 0;
  ]]>
</fx:Script>
<fx:Declarations>
  <mx:SolidColorStroke id = "s1" color="0x0000ff" weight="2"/>
</fx:Declarations>
<mx:LineChart id="chart"  x="51" y="141" width="875" height="190" paddingLeft="5" paddingRight="5"
      showDataTips="true"
      mouseDown="mouseDownHandler(event)">
  <mx:series>  
   <mx:LineSeries yField="Value" form="curve" displayName="Tracking" lineStroke="{s1}"/>  
  </mx:series>
  <mx:horizontalAxis> 
   <mx:LinearAxis id="hAxis" minimum="0" maximum="{viewportMax}"/> 
  </mx:horizontalAxis>
</mx:LineChart>
</s:Application>

Similar Messages

  • Help with "Automatically fill empty space on ipod" Function in itunes

    I am having an issue I don't understand when trying to sync my ipod. I go into the "music" tab where it allows you to select the music you want on the ipod. In addition to selecting playlists, artists, genres, etc. there is a box you can check that says "automatically fill free space with songs." I select a playlist with only a few albums on it which leaves me with a good deal of free space. My assumption was that checking this box would RANDOMLY choose songs (or albums?) in itunes to fill up the free space. However, when I do this it fills up the free space with the *exact same songs/albums every time*! The only thing I have checked off is the 1 playlist so I don't understand why it keeps choosing the same albums and songs to fill up the free space. I want it to just randomly choose songs from my entire music collection to fill up the free space. any help is appreciated!!

    Also, it seems that iTunes is not smart enough to -remove- songs when you add something new, i.e. movies or podcasts, and will constantly tell you that the iPod is full. That results in having to un-check the option, remove every song 'automatically added', add the new content, then re-check the "fill free space" box. Did no one actually test this feature or is it done on purpose to wear out your iPod quicker?

  • Help with automatic unmounting via script

    Sorry, for some reason, this question got posted twice.
    I would like to reroute you to this thread: http://discussions.apple.com/thread.jspa?threadID=1610643&tstart=0
    Could some kind soul please help me a bit with some applescript?
    I would need two things in applescript:
    1. A way to check whether a certain external (firewire) disk is mounted
    (so that I can unount, er, eject it, if it is there)
    2. A way to make an applescript being executed whenever the laptop goes to sleep.
    For the interested reader:
    what I want to do is to write an applescript that would automatically unmount my external backup disk whenever the laptop goes to sleep.
    Oftentimes I forget to do that myself, then, when the computer is asleep and I want to unplug everything to take it home, I remember that I haven't properly ejected the backup disk ...
    Any hints, pointers, tips will be appreciated!
    Best regards,
    Gabriel.
    Message was edited by: GabrielZ

    TeHDoHBoY wrote:
    *sudo rm -rf ~/Library/Caches*
    *sudo ln -s /private/tmp ~/Library/Caches*
    If you have a script using "sudo", it will always prompt for a password. The easy way to call this is put your script in /Library/Resources/Scripts/ (you'll have to create the Resources/Scripts/ path) and follow these steps.
    Step 1.) Edit your script and take out the "sudo" commands, leaving the following:
    rm -rf ~/Library/Caches*
    ln -s /private/tmp ~/Library/Caches*
    Step 2.) Then open up Terminal and execute the following commands:
    chown root:wheel /Library/Resources/Scripts/NameOfYourScript.sh
    chmod 755 /Library/Resources/Scripts/NameOfYourScript.sh
    Now create your login hook to call this script. If I'm correct, the script will run as root and not prompt the student for a password.

  • Need help with Automatic Generating Form Numbers

    Hello,
    I am new to all this and have found myself stuck trying to figure out how to have my forms automatiacally generate a new number each time it is used. I tried looking through similar posts but do not understand the directions given there. If someone could help me figure this out I would really appreciate it. Thank you.

    Before opening my forms for responses I am creating a column with my starting form number - 1.  in the cell above(first response) I am setting an equation =B2 +1.  All incoming responses automatically generate an ID number within my responses table.  The form itself will not present the number, but if you were looking for an easy way to track responses w/ an ID it has worked well for me so far.

  • Help with automatic guides?? Please!

    I hope I can make this make sense...
    I'm a beginner with InDesign. I've been using Photoshop for years, I am a photographer, and I'd like to say I know my way around Photoshop pretty well. I'm very comfortable with it. So InDesign isn't TOO complicated for me. The big thing right now is something that I actually noticed on accident when I first started using it. I hope this makes sense, please bear with me...haha
    As I was resizing images, I noticed Adobe was automatically guiding me. It was showing me the widths and helping me snap the images into place so that they align with the other objects in the document. It was AWESOME! Helps big time, especially since at work my bosses are very particular about margins and spacing. It was a very simple tool. Now, it's not doing it! Is there a way to engage this? I must have hit something not realizing that disabled it... I'm not sure but man I sure am bummed out right now. I don't know what it's even called so I don't know how to search for answers. ANY help would be awesome!!
    Thanks so much!!!

    You're looking for
    View>Grids and Guides>Smart Guides.
    It's a cool feature!

  • Help with automatic insert

    Hello forum members!
    Today I created an auxiliar table (t_final_qtd) to make a report lighter. it worked as expected but now the problem is that this table does not receive data automatically from the system.
    This table receives data from 2 other tables (aevent and disposition) that receive data automatically, they're used to store event history. Each time the program inserts a new row to the event, both tables update a column called curent on the past rows changing it to 'F' and the most actual to 'T'. I want t_final_qtd to store only the rows with 'T'.
    At first i thought about creating triggers but there's one problem, t_final_qtd's lighter because it only receives the most actual row of an event, it doesn't depends on "Where curent = 'T'" to retrieve data. I wanted to do with this table something like a materialized view (but not one, because the parameters are not set) that refreshes itselft, maybe a trigger or some job. Is it possible?
    Thank you very much!

    K- wrote:
    BluShadow wrote:
    That's not a valid test.
    The first time you ran it (using the view) it had to do lots of I/O to read the data.
    The second query ran quicker because the same data was already cached and didn't have to be read using expensive I/O.
    The two queries are essentially the same and performance of them will be the same.
    You should either do the same test, restarting the database before each query to get the same type of I/O hit, or try clearing out the cache via other means (though that's not completely accurate in itself).
    The other thing you can do is to look at the explain plans and execution plans from tracing the query execution, which will show there is really no difference except for the cached data.I did the explain plans and there was really a cost difference as bellow. The view vw_final_qtd I'm using has the same structure as the table t_final_qtd.
    Using vw_final_qtd: SELECT STATEMENT 83220
    Using t_final_qtd: SELECT STATEMENT 1050Cost is not truly indicative of the time a query takes to execute.
    The view is a stored SQL statement, so your first query...
    SELECT *
    FROM vw_final_qtd v --a view created exatcly as the table t_final_qtd
    ,ev_t e
    WHERE v.dispo = e.typecode
    AND v.adts BETWEEN '20101119' and '20101119235959';is essentially processed by the SQL engine as... (assuming your view is defined as "select * from t_final_qtd where current = 'T'")
    SELECT *
    FROM (select * from t_final_qtd where current = 'T')
    ,ev_t e
    WHERE v.dispo = e.typecode
    AND v.adts BETWEEN '20101119' and '20101119235959';... which the optimizer will look at and see that it is just the same as
    SELECT *
    FROM t_final_qtd t
    ,ev_t e
    WHERE t.dispo = e.typecode
    AND t.adts BETWEEN '20101119' and '20101119235959'
    and t.current = 'T';... so will most likely execute it just like that, hence there is no difference between the two queries.
    You can't just look at the explain plans, you need to look at the traces of the queries if you want to compare.
    However, take our word for it, the two things are the same and there's no reason you can't use the view.
    What would be more of a concern is the where clause:
    AND t.adts BETWEEN '20101119' and '20101119235959'which is doing a range comparison on strings rather than dates or numbers. That's open to potential errors, and may be causing lack of index usage if the column is actually a data or number.

  • Need help with automatic printing of a page

    I am looking for inputs for a particular scenario; On the Oracle HR Self-service pages, once the employee adds/updates his personal details and submits his changes to be approved by the HR manager, the final confirmation page should be automatically routed to a particular printer and be printed. Can this functionality be achieved with OAF coding for the Submit button?

    Hi,
    Check this link, it will help you.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration</a>
    Dont forget to close the thread when answered.
    Regards,
    Amit

  • Need help with automatic slideshow

    I made an automatic slideshow that switches frames at a set
    interval but now i want to load each frame from an extrenal swf and
    add a preloader for each frame, how do i tell the slideshow to wait
    until the frame is loaded before it proceeds to the next frame, but
    still have the movieclip be automatic. Also the slideshow can be
    controlled mannually so i also want to know how to disable the
    manual control till each frame is loaded.

    Here is some of the action script for the slideshow.
    This first bit sets up the automatic interval transitions in
    the main movie timeline
    function nextImage()
    mc_slide.mc_transition.play();
    } // End of the function
    function waitImage()
    clearInterval(slideTimer);
    var slideTimer = setInterval(nextImage, timer * 1000);
    nextImage();
    } // End of the function
    function pauseSlide()
    mc_slide.mc_quicktransition.gotoAndPlay(2);
    } // End of the function
    var timer = 8;
    var pauseTime = 20;
    var slideTimer = setInterval(nextImage, timer * 2000);
    stop ();
    the movieclip loaders that load each movie clip are embedded
    with the transition animation.
    this is the code in the embedded mc-it loads the 1st movie
    clip and allows the user to manually jump to any of the other movie
    clips.
    emptyMC.loadMovie("frame1.swf");
    var pageAddress = "about:blank";
    btn1.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(1);
    btn2.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(2);
    btn3.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(3);
    btn4.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(4);
    stop();
    I need to know how to put the code for the automation of the
    slideshow pause until each movieclip has finished loading and also
    at the same time disable the manual control of the movie clips
    before they are fully loaded.

  • Need help with automatic page when a box is filled with a letter

    I use the Adobe Livecycle Designer 8.0, version 8.0.1291.1.339988.
    I'm trying to make a test for cars in Livecycle, where the car is tested and then there should be a box after every kind of test such as: Brakes front, brakes back, parking brakes, lights, engine, oillevel, exhaust system, clutch and so on..
    When a specific letter is written in the box a page should pop-up where the tester can write what the problem is. And then afterwards continune with the rest of the test.
    In the box, there should be four choices, a G, R and A. When there's a G there shouldn't pop-up a page, because that part is fine. But when there's a R (reparation) and an A (remark), this page should pop-up with the text of what part of the car it is and a text-field where the mechanic that tests the car can write what needs reparing or what's a remark.
    Can anyone help me? I really would appriciate it!
    Jacob Langer

    To support what King_Penguin has provided, here is a support document that describes the steps to take with a device in Recovery Mode. If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support

  • Need help with automatic resizing of images

    I am working with a liquid template in dreamweaver and when I insert my banner image and preview the page, the image stays the same size while the page template expands with the screen resolution.
    How can I set the image so it automatically expands with the page?

    Expanding an image in this way isn't really the best way of doing things, because depending on the image it can get very distorted when it's increased or decreased in size.  You are better off selecting a background colour and blending the image into that, so that when the browser window is increased you see the majority of the image, but on larger monitors, the image is blending into the background on either side of that image.
    There is a technique that may make this possible - I did read something about it at one point, but didn't save the URL.  However, the above method is probably the most reliable way of doing what you want.

  • Help with automatic update on new computer

    I bought a new computer and have installed itunes on it, but if I connect my Ipod since its a different computer ITunes will automatically update it and erase all my songs. I can't change the Ipod settings without my Ipod being connected but if i conect it, itunes will automatically update it before i can change the settings. What can i do?

    If you get the dialogue box that your iPod is linked to a different library, click No. Your iPod should appear in the iTunes source list. Change the update setting in Preferences>iPod to "manually manage songs and playlists" Managing Your Songs Manually
    You can also use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on a Mac hold down the Option and Command (⌥ and ⌘) keys, on Windows, hold down Shift + Ctrl. This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 3 and 30 seconds depending on your computer. Then go to Preferences>iPod and check the "Manually manage songs and playlists" box.
    Keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync again.
    Another way is to connect your iPod and before it starts to sync, click the little X on the right hand side of the display beside the "Do Not Disconnect" message. The display is the little window to the right of the iTunes control buttons: iPod Interface
    Or you could look at the method described in this link: How to keep iTunes from automatically updating your iPod
    Go with whichever method you feel most comfortable and as I said, if at any point you are asked if you want to link your iPod to a new library, click No.

  • Help with JTree refresh

    I am having trouble displaying a JTree with newly added nodes.
    I have a JTree, inside a JPanel, JScrollPane and JSplitPane.
    I create the JTree with a single root node which displays correctly.
    I update the JTree with new children which displays correctly.
    Using the same exact routine as above - I add additional new children to the root, the new children do not display in the JTree.
    I have confirmed that I am using the correct tree and root node in debug that the tree/node objects has been correctly updated. It is just not displaying the new children to the root.
    I can expand and collapse the tree which does not show the new children, just the original populated root.
    After the root has been updated, I have tried a number of methods to resolve: tree/jpanel/jscrollpane/jsplitpane .revalidate, invalidate, repaint, etc.
    I am using v1.4.1.
    What am I missing here?
    Thanks in advance.

    i use two classes fro add or insert nodes in a tree, one adds the node at the same level of the current selected node, and the other intert it inside:
    // InsertaTreeConfAction.java
    package ayto;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.io.*;
    import javax.swing.tree.*;
    public class InsertaTreeConfAction extends AbstractAction {
    TreeConf treeConf;
    MenuTreeConf menuPrincipal;
    TreeConfAppAyto confNodo;
    DefaultTreeModel model;
    TreeTreeConf tree;
    public InsertaTreeConfAction(TreeConf treeConf,String text) {
    super(text);
    this.treeConf = treeConf;
         InitAction();
    public InsertaTreeConfAction(TreeConf treeConf, String text, Icon icon) {
    super(text, icon);
    this.treeConf = treeConf;
         InitAction();
    public void InitAction(){
         menuPrincipal = treeConf.getMenu();
         confNodo = treeConf.selNodo;
         model = treeConf.getTree().getMyModel();
         tree = treeConf.getTree();
    public void actionPerformed(ActionEvent ev) {
              model = treeConf.getTree().getMyModel();
              TreePath tp = tree.getSelectionPath( );
         MutableTreeNode insertNode = (MutableTreeNode)tp.getLastPathComponent( );
         int insertIndex = 0;
              if (insertNode.getParent( ) != null) {
              MutableTreeNode parent = (MutableTreeNode)insertNode.getParent( );
              //insertIndex = parent.getIndex(insertNode) + 1;
              //insertNode = parent;
         MutableTreeNode node = new DefaultMutableTreeNode(new TreeConfAppAyto("Nodo Insertado"));
         model.insertNodeInto(node, insertNode, insertIndex);
    treeConf.estadoConfApp = TreeConf.NODO_MODIFICADO;
    treeConf.updater.update(); // esto no colapsa el arbol
    treeConf.setTitle("AYTO de Huelva - Configuraci�n de men�s: "+treeConf.fileAct);
    // AnadeTreeConfAction.java
    package ayto;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.io.*;
    import javax.swing.tree.*;
    public class AnadeTreeConfAction extends AbstractAction {
    TreeConf treeConf;
    MenuTreeConf menuPrincipal;
    TreeConfAppAyto confNodo;
    DefaultTreeModel model;
    TreeTreeConf tree;
    public AnadeTreeConfAction(TreeConf treeConf,String text) {
    super(text);
    this.treeConf = treeConf;
         InitAction();
    public AnadeTreeConfAction(TreeConf treeConf, String text, Icon icon) {
    super(text, icon);
    this.treeConf = treeConf;
         InitAction();
    public void InitAction(){
         menuPrincipal = treeConf.getMenu();
         confNodo = treeConf.selNodo;
         model = treeConf.getTree().getMyModel();
         tree = treeConf.getTree();
    public void actionPerformed(ActionEvent ev) {
              model = treeConf.getTree().getMyModel();
              TreePath tp = tree.getSelectionPath( );
         MutableTreeNode insertNode = (MutableTreeNode)tp.getLastPathComponent( );
         int insertIndex = 0;
              if (insertNode.getParent( ) != null) {
              MutableTreeNode parent = (MutableTreeNode)insertNode.getParent( );
              insertIndex = parent.getIndex(insertNode) + 1;
              insertNode = parent;
         MutableTreeNode node = new DefaultMutableTreeNode(new TreeConfAppAyto("Nodo A�adido"));
         model.insertNodeInto(node, insertNode, insertIndex);
    treeConf.estadoConfApp = TreeConf.NODO_MODIFICADO;
    treeConf.updater.update(); // esto no colapsa el arbol
    treeConf.setTitle("AYTO de Huelva - Configuraci�n de men�s: "+treeConf.fileAct);

  • Need help with Image refreshing using the 1408

    I'm trying to develop a VI that allows user control over the image refreshing. In the end I would like something that allows the user to view a live or somewhat close to live image from the camera, and then when they desire freeze the image. The catch is I would also like the images to be color, and to allow the user to again view a live image if they wish.
    Essentially I want the user to be able to focus the camera and set light levels while viewing a live image on the screen (again flicker is ok, just as long as it has a decent refresh rate). And then when ready freeze the image and use the last image captured (the frozen one) for some analysis purposes.

    The simplest way to do this is to put the IMAQ Snap vi inside a while loop. Initialize your image and IMAQ outside the loop. Create an "Acquire" boolean control on your front panel. Put the Snap & display inside a case statement so that it only acquires a new image if the Acquire button is in the "On" position. This will give you a pretty smooth update rate and is very easy to program.
    If you want an update rate closer to the frame rate of the camera, you can set up an IMAQ Grab outside the loop, then read the latest image and display it in the case statement.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • UWL: No automatic refresh after completing workitem in iView

    Hi,
    our system is EP 6 SP2 P4 HF 7 with CM HF 6.
    We have configured a workitem launched by an individual iview - this works fine.
    For execution of this workitem we call SAP_WAPI_CREATE_EVENT and save values in simple_container. After this SWW_WI_ADMIN_COMPLETE is called to complete the workitem to be cleared from UWL inbox.
    If I refresh the tab manual all works fine - the completed workitem is not more there. But with automatic refresh this executed workitem is still listed.
    Do you have any idea what we are doing wrong?
    Configuration in uwl.standard:
      <Views>
        <View name="myWorkItemView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.DE9_TS99500153" columnOrder="detailIcon, subject, priority, creatorId, createdDate, dueDate" sortby="createDate:descend, priority:descend" tableDesign="STANDARD" visibleRowCount="20" headerVisible="yes" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="60" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" actionPosition="top">
    I appreciate your help,
    thanks in advance,
    Thorsten Bingmann

    Hi Ross,
    concerning our problem (no WI completion by auto refreshing UWL) we have yet no solution. SAP Support told us to configure the cache lifetime of UWL to smaller size, but alas this does not solve the problem.
    As you mentioned the blank webgui screen: I think this behaviour is by design. Calling an ITS transaction there's no other way to end the ITS session as of using the back or return button and get an end of session. The given status (WI new status: completed) indicates that UWL and ITS process the WI correct.
    A smarter way to execute the concerning WI ID is to configure it in the xml file as generic decision task. Then you'll get an inline rendered java iview with decision "accept" or "decline" and the new status will be shown in UWL. This will take place of (standard) ITS configuration. Please have a look at the HowTo Guide of UWL.
    Hope it helps,
    regards,
    Thorsten Bingmann

  • Refreshing MV - Automatically Refresh weekly

    Hi Experts,
    Iam in need of creating a MV with automatic refresh every 7 days. Will this query help me to achieve this . Please help me
    CREATE MATERIALIZED VIEW Test
    REFRESH COMPLETE NEXT TRUNC(SYSDATE) + 7
    AS
    SELECT
    A.column1,b.column2 from
    table a ,table b
    where
    a.column3=b.column4
    Thanks
    Aswin

    aswin wrote:
    Hi Experts,
    Iam in need of creating a MV with automatic refresh every 7 days. Will this query help me to achieve this . Please help me
    CREATE MATERIALIZED VIEW Test
    REFRESH COMPLETE NEXT TRUNC(SYSDATE) + 7
    AS
    SELECT
    A.column1,b.column2 from
    table a ,table b
    where
    a.column3=b.column4
    Thanks
    AswinHi,
    you can add below code to refresh mview weekly.
    CREATE MATERIALIZED VIEW Test
    REFRESH FORCE
         ON DEMAND
         START WITH SYSDATE
         NEXT SYSDATE + 7
         WITH ROWID
    AS
    SELECT
    A.column1,b.column2 from
    table a ,table b
    where  a.column3=b.column4

Maybe you are looking for