Schedule and overwrite old instance

Hi
I've been looking for the possibility to schedule a daily report and only keep the latest instance of the report available, i.e. delete or overwrite the old instances upon completion of a new instance. I haven't found any hints that this is possible, maybe anyone knows if this could be done at all?
We use BO XI R2.
Thanks
Phil

It's possible by setting the object's instance limit to 1. Go to the object in the Central Management Console, click on the History tab, and click on the "Limits" button.
Check the box next to "Delete excess instances when there are more than N instances of an object:", and specify your limit value, i.e. "1".

Similar Messages

  • Trap The Duplicate Logging On FMS, LoggOff Old One And Accept New Instance.

    Hi All,
    I need help on the following topic of FMS 2.0.
    On FMS Server I want to trap the duplicate logging, Logoff
    Old One and accept New Instance.
    The scenario is like this, if a user logged in with the name
    wins” on FMS Application from his Office, after some
    time he came to his home and want to logging again.
    I want to disconnect or logoff the instance of application
    which is logged in from his Office and allow him to logging from
    his home.
    Actually I want to implement the functionality like
    Yahoo messenger.
    Yahoo messenger gives the facility to login from another
    system and logoff the previous instance.
    So, tell me what I have to do to achieve this.
    Thanks

    onAppStart intitialize an object to hold all connected
    clients, maybe called userList:
    application.onAppStart = function(){
    this.userList = {};
    Then when someone logs in, they of course pass in their
    username. Simply put that client in userList by its username.
    application.onConnect = function(newClient, username){
    this.acceptConnection(newClient);
    this.userList[username] = newClient;
    Then you can easily modify that code to boot the old client
    if that username is already in use:
    application.onConnect = function(newClient, username){
    if(this.userList[username]){
    this.disconnect(this.userList[username]);
    this.acceptConnection(newClient);
    this.userList[username] = newClient;
    See if that works for ya.

  • How to deal with the old instances of any class?

    Hi,
    I have a doubt regarding the old instances of any class. Currently i am designing a game in java swing. I have a new game button, which creates a new game instance of the game class. There might be conditions that the old game is finished and user has clicked for new game button. The old game instance is no more useful for me. In fact that old instance must be deleted from the memory and a new instance should reside in the memory until user again proceed for a new game.
    I want to ask that how to destroy old instances of any class?
    Thank you.

    rp0428 wrote:
    All you can do is remove any reference to it:
    myGame = null;If that was the last reference then it will be eligible for garbage collection and it MAY be collected.And note that there's rarely a good reason to do this. In most cases, simply letting things go out of scope when the method that uses them ends is sufficient. About the only time you need to explicitly set something to null like this is, for example, if you're implementing a collection class and you want to remove an entry.

  • How to upload and overwrite a file from a dynamic list

    I need to come up with a way to upload and overwrite and existing image file from a dynamically generated list. For instance, there would be a drop-down select box with Company A, Company B, Company C, etc. and when the user selects one of them it should display a prompt to upload a new logo image file, overwriting the existing logo file. Any help would be appreciated.

    I'm not sure why you need a prompt.  Sounds like an unnecessary annoyance to me.
    A simple form with a select and input type="file" should get you started.  Then I would probably do something like:
    1.  upload the file to a temp folder on your server.
    2.  Rename it according to what company was selected.
    3.  Move it to it's permanent folder.

  • Creating/Copying a Work Centre,also a Production Scheduler and Cost Centre.

    Hi All,
    I am trying to create a new work centre based on the settings of a previous one? First of all,how I can do this?
    Secondly,after I have created the new work centre (having copied being copied from another),I need to create a new production Scheduler and Cost Centre? How I will be able to do so,also?Will the Production Scheduller and Cost Centre assignments fom the old work centre be copied,too,or I will need to create/copy these from scratch?
    All help greatly appreciated,will award points to all useful answers.
    PAPJ1.
    Edited by: PAPJ1 on May 20, 2011 11:01 AM

    Hello,
    You can create a new work center by copying an existing work center. in the cr01 screen in the copy from column put the plant name and Ref. work center name and put enter. all the existing data will be copied to the newly created work center. no need to create new assignment to  Production Scheduller and Cost Center.
    Hope it helps.
    Regards
    Alok

  • Skip popup "Overwrite old version" from document tab in CRM_DNO_MONITOR

    Hi All,
    I have requirement to skip "Overwrite old version" pop in crm_dno_monitor transaction under document tab.
    Steps : Tcode CRM_DNO_MONITOR ---> Select Transaction number ---> click on change button ---> click on "Transaction Data" tab ---> Select "Document" tab ---> open any document
    When uploaded documents are edited, system asks "Overwrite old version?". There should be no question, system should always overwrite the existing version.
    Thanks,
    Amit

    Hi
    Service Desk messages in Solution Manager consist of two parts: the support message in Solution Manager, and the service process in CRM.
    You must carry out the following steps to delete the messages from the system completely:
    1. In Solution Manager
    Deletion of the message in Solution Manager involves two parts:
    a) Call transaction DNOTIFWL and set the deletion flag for the Service Desk message. The deletion flag corresponds to the system status I1076 (deletion flag).
    b) Execute the report Z_DELETE_BASIC_NOTIFICATIONS.
    If you execute the report in production mode, all messages with the status I0076 are deleted from the database. You can also execute the report in test mode. In this case, the system displays a list of messages that can be deleted.
    2. In CRM
    You cannot delete a service process in CRM. The service process must be archived.
    Call transaction SARA and select the archiving object CRM_SERORD. Archiving involves three steps:
    a) Initial run Report CRM_ARC_SERORD_CHECK
    b) Write run Report CRM_ARC_SERORD_SAVE
    c) Delete run Report CRM_ARC_SERORD_DELETE
    When the delete run has completed, the service process has been deleted from the database and is in an archive file. You can access archived documents using transaction SARE.
    Check the following notes.
    1329247
    398914
    398915
    985079
    Thread
    Re: How to delete test messages from service desk.
    Re: Delete test messages from service desk
    Hope it helps,
    Regards
    Prakhar

  • SH: compare and remove found instances

    Forewarning: I'm a scripting beginner and haven't posted in this section before and hope I can describe this properly. Also I'm trying to accomplish this in shell (be it sh, bash, or zsh)...
    Yes, well, basically I'm trying to compare output2 to output1 and if there are anything from output2 found in output1 to remove them from output1. So if I'm checking for something I don't want in output1 I'll use output2 as a reference and if output1 contains, say, two values from output2 it will remove them all. Example:
    "output1" (good values) | "output2" (bad values)
    good mouse | bad cat
    good mouse X | bad cat X
    bad cat XXX | bad cat XX
    good mouse XX | bad cat XXX
    bad cat | bad cat XXXX
    output1 is compared to a reference of output2 and it finds two instances that aren't supposed to be there, regardless of position in either list. Of course when I compare them it wont be as simple as them all starting with the same letters/words. I'm going to be comparing URLs from two outputs.
    I know I can "diff" them like: diff <(output1) <(output2) but like I said they won't be in order and they can't be sorted alphabetically because both lists will usually have different values. I'm just trying to remove a value from one list if it's found in both.
    I've found a simple way of checking a single output for duplicates but this only removes the duplicates and not every instance.
    awk ' !x[$0]++' file
    Also, I hate using temp files. Maybe I could pipe both outputs to fifo? Eh, that's kinda the same thing and not really my main issue.
    So, to make things easier to understand I'm going to be dumping two outputs of URLs and comparing them. One list will have "potential URLs" and the other will have "definitely not". By comparing the two I will tell if a "potential URL" is a "definitely not", and so remove it from the "potential" list. The end result will be a single output of "potentials" that were confirmed good (as they weren't in the "definitely not" output). There's more to the grand scheme but I've already figured out how to pre-pend and append things to everyline (or N line/s) and organize the whole mess but I just haven't figured out this part, so any help is appreciated even if it's just a link for me to read. Be gentle
    Last edited by milomouse (2010-01-16 11:48:41)

    Ooh, a nice cat. :D Yeah, that's what I've been using (also used to be a part of my zsh prompt) but I was trying to find a cleaner solution because I generally abuse grep, cat, awk and pipes. I'm horrible for it. Here's a dirty mock-up of what I'm trying to accomplish:
    function mrr() {
    local env=/tmp/newmirrors
    local fifo1=/tmp/fifo1
    local fifo2=/tmp/fifo2
    mkfifo /tmp/fifo{1,2}
    links -dump 'https://www.archlinux.de/?page=MirrorStatus;orderby=lastsync;sort=1'|\
    grep "tp:/"|head -n 10|awk '{print $1}'|sed "s/$/\$repo\/os\/`arch`/" >! $fifo1 &
    links -dump 'https://www.archlinux.de/?page=MirrorStatus;orderby=avgtime;sort=1'|\
    grep "tp:/"|head -n 10|awk '{print $1}'|sed "s/$/\$repo\/os\/`arch`/" >! $fifo2 &
    grep -xvf $fifo2 <$fifo1|grep -vi i686|head -n 5|sed 's/^/Server = /;s/$//' >! $env
    rm /tmp/fifo{1,2} &>/dev/null
    rankmirrors -n 5 $env >! /tmp/good
    rm $env ; sudo mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist-old
    sudo mv /tmp/good /etc/pacman.d/mirrorlist
    So, yeah. Basically a crappy attempt on what I believe Xyne's perl Reflector is doing (although I don't know how to read much Perl to tell). I just wanted something I understood.
    Anyway, I hate how I use fifo as tmp files but I didn't know how else to do it. Also, I had to add the bit about i686 because some servers on the list are i686 only and specify it in their URL so I had to remove them (since I have x86_64). Oh, and the use of "sudo", blech. I guess it works though. Basically it grabs a list of the most recently updated servers and then weeds out the servers with bad response time (if they're on that list, which a few were when I last tested this). Rankmirrors surprisingly yields different results despite the response-time. I guess I could use ping instead of Rankmirrors but I'll do that in the script, not this function. This is the basic reason I needed to compare them, which I hope to expand upon later. I'm sure there's an easier way to do all this but I simply lack the know-how. Again, this is a temporary function I have in my .zsh* file; the script will be different [if I ever finished it].
    edit: typo
    Last edited by milomouse (2010-01-16 15:31:18)

  • How to update old instances with values

    Hi,
    i am using albpm 5.7 version.
    i have a requirement i need to update the oldinstances with updated data.
    suppose i have added new external variable to process how it will update the old instances.
    plz suggest how to solve this problem.
    Regards,
    Srinivas.

    Hi,
    The standard behaviour is that new instances of the process will use the most recent version of the process that has been deployed to the database. This allows you to deploy new versions of the processes without impacting on processes which are already in progress.
    When the workflow engine determines what activity to run next in the process, the engine checks what the start date of the process instance was, so that it can check what version of the process was active at that time. If you update the start date for each running process, so that it reflects the date that you saved the most recent version of the flow, then the workflow engine will use the latest version instead of the version that it was running.
    This is not supported. I would never suggest that you do this in a production environment - it does not make sense to be making frequent changes to the process in a production environment, since there is no supported mechanism for forcing existing flows to use the new definition. The engine is designed specifically to run the same version of the process for the duration of the process instance - what you want to do is to blow this out of the water completely. If you do change this, then all timing that is recorded against the activities becomes useless, and the other impact on the workflow process us something that you would need to consider incredibly carefully before deciding whether you want to take the risk.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Publication, Scheduling and Report Bursting

    Hi,
    what is the main differences  between Publication and Scheduling and Report Bursting.
    Regards,
    G

    Hi,
    When scheduling a WebI report, you instruct the system to let it run for a certain parameter set at a given time. The result is stored in your system and it called instance.
    In a publication you can include more than one reports (several kinds too) and define how and to whom you want to delivered them to. Then you can run/schedule your publication and the content will be delivered as defined at a given point in time.
    How to use publication link.
    http://davidlai101.com/blog/2011/10/27/step-by-step-guide-on-bursting-reports-in-business-objects/

  • Scheduler and windows update unavailable / unresponsive,

    Issue:
    Windows Update & Task Scheduler stop working, RDP then fails and a day later the system eventually becomes completely unresponsive and require a reboots to resolve, servers are needing to be rebooted every week on average.
    Environment:
    Server 2012: all receive same windows updates and have the same running services and applications installed,
    all mirror images of DB01
    DB01*Displaying Symptoms mentioned below
    DB02*fine
    DB03*fine
    Non Microsoft Services running:
    EMC Backup Agent
    AVG Antivirus
    Enterprise Recon Node - Ground labs
    GFI LanGuard 11
    BMC Server Automation Agent
    WMware Tools Service
    Link to Warnings Link to Errors
    Symptoms:
    Windows Update is not working
    (stuck in stopping state, accessing via control panel is unresponsive)
    Task Scheduler not working
    it shows a stop sign / busy sign (Service is running, cannot see or create scheduled tasks)
    RDP eventually stops working.
    Above 3 services are started by the same instance (PID) of svchost.exe , killing the svchost.exe instance that started scheduler and windows update services also kills RDP and is not a solution.
    Event Logs:
    Warnings - https://drive.google.com/file/d/0B4FtPRuE-MzqdFExQi1EdFpQdEk/edit?usp=sharing
    Errors - https://drive.google.com/file/d/0B4FtPRuE-MzqMGZzckRwMnFNWGc/edit?usp=sharing

    Hi Fraser,
    Thank you for your update and patience.
    After going through the logs you provided, please check my findings below.
    ===============================================
    Log Name:      Microsoft-Windows-DeviceSetupManager/Admin
    Source:        Microsoft-Windows-DeviceSetupManager
    Date:          9/3/2014 6:55:47 AM
    Event ID:      201
    Level:         Warning
    User:          SYSTEM
    Description:
    A connection to the Windows Metadata and Internet Services (WMIS) could not be established.
    Log Name:      Microsoft-Windows-DeviceSetupManager/Admin
    Source:        Microsoft-Windows-DeviceSetupManager
    Date:          8/31/2014 11:37:33 PM
    Event ID:      200
    Level:         Warning
    User:          SYSTEM
    Description:
    A connection to the Windows Update service could not be established.
    Log Name:      Microsoft-Windows-DeviceSetupManager/Admin
    Source:        Microsoft-Windows-DeviceSetupManager
    Date:          15/08/2013 1:51:01 p.m.
    Event ID:      202
    Level:         Warning  
    User:          SYSTEM
    Description:
    The Network List Manager reports no connectivity to the internet.
    Log Name:      System
    Source:        DistributedCOM
    Date:          9/3/2014 3:10:41 AM
    Event ID:      10029
    Level:         Error  
    User:          SYSTEM
    Description:
    The activation of the CLSID {E60687F7-01A1-40AA-86AC-DB1CBF673334} timed out waiting for the service wuauserv to stop.
    Log Name:      Microsoft-Windows-DeviceSetupManager/Admin
    Source:        DeviceSetupManager
    Date:          9/1/2014 7:26:06 AM
    Event ID:      121
    Level:         Error  
    User:          SYSTEM
    Description:
    Driver install failed, result=0x80072EE2 for devnode 'TERMINPUT_BUS\UMB\2&2C22BCC9&0&SESSION1MOUSE0'
    ===========
    As per my research, those events which related to Device Setup Manager generated because Device Setup Manager just goes out and pings windows update
    every night to see if any devices that are installed and set up to use Windows Update to update the corresponding drivers.
    Currently, I suggest we make sure the drivers on your server are all up to date via Device Manager. Meanwhile, please try setting up the Windows Update settings from
    installing update automatically to manually installing updates. Then restart the server to monitor the issue.
    After all the above, if the issue persists, could you please help collect the following information?
    =====================================
    1. Run the following command and upload the system information.
    msinfo32 /nfo      C:\SYSSUM.NFO /categories +systemsummary
    2. Does the issue still occur in Clean Boot mode?
    If you have any questions or additional information, feel free to let me know.
    Thanks for your time.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Relationship Between Recurring Schedule and History

    Is it possible (Query Builder or SDK) to tie a relationship between a Recurring schedule and the Instances (Success/Failed) produced by that runnable object?
    For Example...
    Report 1
    Recurring Schedule 1 (25 Success 2 Failed)
    Recurring Schedule 2 (32 Success 3 Failed)
    Recurring Schedule 3 (0 Success 13 Failed)

    SOLUTION
    Required Data
    Actual Report
    SELECT * FROM CI_INFOOBJECTS WHERE SI_INSTANCE = 0
    Recurring Schedules
    SELECT * FROM CI_INFOOBJECTS WHERE SI_INSTANCE = 1 AND SI_RECURRING = 1
    Completed Instances
    SELECT * FROM CI_INFOOBJECTS WHERE SI_INSTANCE = 1 AND SI_RECURRING = 0
    Once the above data is attained, the SI_NEW_JOB_ID from the Completed Instances can be matched to the SI_ID of the Recurring Schedules.
    Note: From what I can see, if the Recurring Schedules are no longer available, the SI_NEW_JOB_ID of the Completed Instance becomes the SI_ID of the Completed Instance (i.e. Can no longer be used as a reference).
    Edited by: Taygan Rifat on Sep 29, 2011 2:28 AM

  • Trying to load illustrator 6cs onto new mac and the old activation code for my ill cs doesn't work with it

    Trying to load a downloaded version of illustrator 6cs onto new mac and the old activation code for my illustrator cs doesn't work with it.  Do I need a new code or am I missing something?  Same goes for my Photoshop cs.

    you need your serial number.
    if you purchased from or registered with adobe check your account, https://www.adobe.com/account.html

  • Problem with "Insert" and "Overwrite Sequence Content"

    I'm working with XDCAM footage. I like to take all the individual clips recorded on the XDCAM disc, and after getting them into FCP, taking them and putting them all in a sequence in FCP, then using that sequence as the source in the Viewer. This allows for quick scanning of all the clips, much as is it were a digitized tape.
    I recently found the "Insert Sequence Content" and "Overwrite Sequence Content" commands in FCP, and like them in that they actually put the individual clips into my project timeline, and not just the combined sequence (which looks more or less like a nest when dropped into my project sequence).
    Here's the problem: When I put IN and OUT points in the timeline, and "Insert or Overwrite Sequence Content" using the sequence containing all the clips, the video tends to be contained to between the IN and OUT points I set in the TIMELINE, but the audio tracks tend to expand past the OUT point I set in the TIMELINE, and I can't figure out why, or how to get around this.
    Any assistance would be appreciated.

    If you're inserting or overwriting, you're basically pasting the content that you've chosen. I wouldn't think the out point would be recognized, or even wanted. If you copied 5 minutes of clips and inserted it into a sequence with a 4 minute in/out point duration, do you want to only have the first 4 minutes inserted into the sequence? If you only place an in point, it will insert all the clips, starting at that point, and it will take up as much time as the clip content's duration.
    Am I missing something here?

  • Attempted to install AirPort Utility 6.0 on my new mac mini. Install failed and now the previous version 5.5.3 won't open. I downloaded and tried to instal 6.0 without software update, which failed, and my old 5.5.3 AirPort Utility still won't open? Help.

    Now the previous version won't open. I downloaded and tried to instal 6.0 without software update, which failed, and my old 5.5.3 Airport Utility still won't open.
    iTunes no longer recognizes my airport express.
    Error Message:
    None of the selected updates could be installed.
    An unexpected error occurred.
    Can't delete Airport Utility and reinstal from scratch as it is, “AirPort Utility” can’t be modified or deleted because it’s required by Mac OS X.
    Any sugestions?

    I reinstalled AirPort 5.5.3 which worked, but the app still won't launch but iTunes now recognizes my AirPort Express, I just hope I don't want to change its settings.

  • What is the best way to scan and sort old photos in iPhoto

    What is the best way to scan and sort old photos in iPhoto?  They do not have digital dates.

    Hey Chicago Sue,
    Once you scan them and have them on your desktop. You should use Automator and assign the common IPTC tags to the images, so that when you do import them into iPhoto, they get recorded.
    Here is an example of an action in Automator:

Maybe you are looking for

  • Custom fields in additional data B not displaying - Sales Order

    Hi gurus, I added some custom fields to the addtional data B tabstrip in sales order screen, but they didn't display. This is in the client's system. BUT in our own system it works perfectly. The screen has been activated. Maybe it's because of the v

  • Running a dashboard report by any user based off another user's ID

    Good Afternoon, Im looking for some help on how to setup a dashboard so that a person can view a specific number of other users sale information by selecting their ID. This is how our dashboard works today. We have several reports that run for our su

  • Privacy Settings and Outlook 2013 shared mailbox

    We just switched to Outlook 2013.  There is one vendor who had been sending emails with the sensitivy setting set to "Private" to a shared mailbox.  It worked fine until the switch to Outlook.  She may also be setting some permssions, but I could not

  • Possible to edit without the main.fla file?

    About 10 days ago I purchased a flash template for my photography business. At the time I knew zilch about flash and actionscript, so I wasn't totally aware of what to look for before purchasing it. Here is what it looks like dcpphotographer.com My p

  • Release date of the new generation of iPod touch

    I was thinking of buying a new iPod touch for myself.. Then a question hits me... Should i buy it or wait for the new generation to come out?? So,can anybody tell me approximately when the release date of the new generation of iPod touch will come ou