Is it possible to automate/script the removal of workflows from workflow archive?

We don't allow our CQ authors to activate content directly.  They must activate their content by executing a custom approval workflow we'd developed as part of our first CQ project.  As you can imagine this workflow is run very often.  So much so that when it came time to upgrade from CQ v5.4 to CQ v5.5 there were too many for me to purge the workflow archive and leaving all those workflows in place caused the upgrade process to run for a very long time.  At the time I was provided with a package for the CQ v5.4 environment that once installed provided a component (/apps/tools/components/purgewf/run.html) that I could then then leverage to kick off a process that given enough time would purge all of the workflows from the workflow archive.
Now that we are on CQ v5.5 I'd like to be proactive and develop a script that I can schedule to execute on a regular basis that would basically do the same thing as that component from CQ v5.4.  Does anybody know if there's an easy way to do this with CQ v5.5?  Could I simply install the same component that I was given for CQ v5.4 and then leverage curl to kick the process off as I've done that sort of thing before to kick off JMX operations such as runDataStoreGGarbageCollection.  This wouldn't be a JMX operation but I'm thinking it migh actually be easier to use curl to kick of something like purgewf/run.html though I'm not really sure what I'm basing that on other than instinct.

This has proved very helpful thank you.
Although I've one point of clarification I could still use some help with.  The document provided by Sham, HC mentions within that it's possible to clean up workflows that have had a status of RUNNING for more than 1 day but it seems to be saying its neccessary to create a list of those workflow models you want this feature of the purge mechanism to act on.  I've looked the Felix configuration over and I can't see that any of the properties there would accept a list of workflow model names and I've tried all of the various modes that are available for the process and none of them do this automatically by assuming any sort of default value for this list.  Is this capablity really there?  Not that I see the ability to purge RUNNING workflows as critical functionality for the purge process as the number of problem workflows with this status tends to be managable but if yet if there's a way to make it do it in addition to clean out the archive it would be nice.

Similar Messages

  • It would be possible to automatically disable the reminders during a Keynote presentation?

    It would be possible to automatically disable the reminders during a Keynote presentation?

    Mountain Lion does this automatically. But not on iOS.

  • I want to remove notification badge from app store. How is it possible?, I want to remove notification badge from app store. How is it possible?

    I want to remove notification badge from app store. How is it possible?, I want to remove notification badge from app store. How is it possible?

    there are many reasons not to update apps,  wow, you probably just buy anything people tell you!!  Sometimes you lose parts of an app with an update, like when shazam started limiting how many checks you could do. if you didn't update you would still be able to have unlimited downloads.  OF course eventually you will have to either update or it wont work with a new operating system roll out , but that buys you a lot of time to re-evaluate shazam and see if you really think it's all that or not.  if you would have updated your software right away like apple wanted you to last year, you would have been one of the millions that had all their info posted all over the web for every crook, hacker and thief to look over!!  I;m guessing from your reply you probably are one of the ones that was security compromised. there are just 2 reasons out of a whole list of reasons why someone might not want to  update their apps!!  If you don't have anything helpful to say when someone asks a question, your not doing them or anyone a favor just zip and move along to something you might be able to  help someone with

  • Is it possible to download all the ABAP example programs from ABAPDOCU

    Hi abapers,
    Is it possible to download all the ABAP example programs from ABAPDOCU .
    If so, How?
    please help me...

    Hi ramesh,
    All example programs in ABAPDOCU transactions are also in abap online help documentation with detailed explanations.
    If you want all the programs you can download a pdf file from this link.
      http://www.consolut.de/saphelp/english/Bcaba/BCABA.pdf
    Hope this helps...
    regards,
    suresh

  • Scripting the Removal of Physical disk from VM

    Hi all
    I have read this thread here which has helped me so far to create a script for the removal of a VM Hard Disk Drive
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/7f00687c-aa8b-4125-a10c-2730ee473e78/auto-add-remove-physical-disk-from-hyperv-vms?forum=winserverhyperv
    So far the script I have knocked up is as follows:
    Remove
    PS C:\Users\Administrator> remove-vmhardDiskDrive -VMName 2012r2 -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 0
    Re-add
    PS C:\Users\Administrator> add-vmhardDiskDrive -VMName 2012r2 -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 0
    This gets me this in the Hyper-V settings:
    I need the script to add the VM Hard Disk drive in with the physical hard disk selected automatically.
    Is there a way to do this?
    As you can see I am not a powershell expert, im not even an "expert"
    Thanks - Dan 

    All done
    The script I used for the removal and then re-adding of the physical disk is as follows:
    remove-vmhardDiskDrive-VMName2012r2-ControllerTypeSCSI-ControllerNumber0-ControllerLocation0
    Add-VMHardDiskDrive-VMName2012R2-ControllerTypeSCSI-ControllerNumber0-DiskNumber1-Passthru
    I then automated it with task scheduler to trigger at 6pm everyday (30 minutes after rotation time)
    The ISCSI controller type allows you to run the command whilst the VM is on.

  • Automate the removal of profile from a user id

    hi,
    I have allocated SAP_ALL profile to a user id.
    Can u pls tell me is there any way to automate the removal of SAP_ALL profile after a particular day

    Hi Balaji,
    As far as i know theres no tools on SAP to remove the profiles after certain date... when working with roles you can set a "valid to" field to make the role expire but with profiles this is not available.
    What you can do is create a role as copy of the SAP_ALL profile and then set a validity so it expires when needed.
    Regards
    Juan

  • A simple script that removes older packages from cache dir

    Hello all,
    I wrote a small bash script that removes packages (from cachedir /var/cache/pacman/pkg), older than the ones available in repositories (eg. if the current version of pacman is 2.6.3, it will remove pacman-2.6.2 from cachedir). It implements the functionality of debian's 'apt-get autoclean'.
    Get it from http://www.kegep.tuc.gr/~manolis/archlinux/cleanold.sh.

    thanks a lot for sharing this 

  • How do I get this program to automatically delete the messages it pulls from my online email off my online email?

    When the emails get downloaded from my online email they stay on my online email causing it do past its storage limit. How can I set this to delete the emails from my online account once it has emailed?

    Application Basics
    Name: Thunderbird
    Version: 24.5.0
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
    Profile Folder: Show Folder
    (Local drive)
    Application Build ID: 20140424091057
    Enabled Plugins: about:plugins
    Build Configuration: about:buildconfig
    Crash Reports: about:crashes
    Memory Use: about:memory
    Mail and News Accounts
    account1:
    INCOMING: account1, , (imap) mail.reforyou.net:143, alwaysSTARTTLS, passwordCleartext
    OUTGOING: mail.reforyou.net:587, alwaysSTARTTLS, passwordCleartext, true
    account2:
    INCOMING: account2, , (none) Local Folders, plain, passwordCleartext
    Extensions
    Important Modified Preferences
    Name: Value
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.disk.smart_size_cached_value: 358400
    extensions.lastAppVersion: 24.5.0
    font.name.monospace.el: Consolas
    font.name.monospace.tr: Consolas
    font.name.monospace.x-baltic: Consolas
    font.name.monospace.x-central-euro: Consolas
    font.name.monospace.x-cyrillic: Consolas
    font.name.monospace.x-unicode: Consolas
    font.name.monospace.x-western: Consolas
    font.name.sans-serif.el: Calibri
    font.name.sans-serif.tr: Calibri
    font.name.sans-serif.x-baltic: Calibri
    font.name.sans-serif.x-central-euro: Calibri
    font.name.sans-serif.x-cyrillic: Calibri
    font.name.sans-serif.x-unicode: Calibri
    font.name.sans-serif.x-western: Calibri
    font.name.serif.el: Cambria
    font.name.serif.tr: Cambria
    font.name.serif.x-baltic: Cambria
    font.name.serif.x-central-euro: Cambria
    font.name.serif.x-cyrillic: Cambria
    font.name.serif.x-unicode: Cambria
    font.name.serif.x-western: Cambria
    font.size.fixed.el: 14
    font.size.fixed.tr: 14
    font.size.fixed.x-baltic: 14
    font.size.fixed.x-central-euro: 14
    font.size.fixed.x-cyrillic: 14
    font.size.fixed.x-unicode: 14
    font.size.fixed.x-western: 14
    font.size.variable.el: 17
    font.size.variable.tr: 17
    font.size.variable.x-baltic: 17
    font.size.variable.x-central-euro: 17
    font.size.variable.x-cyrillic: 17
    font.size.variable.x-unicode: 17
    font.size.variable.x-western: 17
    mail.openMessageBehavior.version: 1
    mail.winsearch.firstRunDone: true
    mailnews.database.global.datastore.id: 75c6cfec-47f7-49fb-a319-566f5b216ec
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1401835389
    places.history.expiration.transient_current_max_pages: 104858
    plugin.importedState: true
    Graphics
    Adapter Description: Intel(R) HD Graphics
    Vendor ID: 0x8086
    Device ID: 0x0402
    Adapter RAM: Unknown
    Adapter Drivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32
    Driver Version: 9.18.10.3186
    Driver Date: 5-17-2013
    Direct2D Enabled: false
    DirectWrite Enabled: false (6.2.9200.16571)
    ClearType Parameters: ClearType parameters not found
    WebGL Renderer: false
    GPU Accelerated Windows: 0
    AzureCanvasBackend: skia
    AzureFallbackCanvasBackend: cairo
    AzureContentBackend: none
    JavaScript
    Incremental GC: 1
    Accessibility
    Activated: 0
    Prevent Accessibility: 0
    Library Versions
    Expected minimum version
    Version in use
    NSPR
    4.10.2
    4.10.2
    NSS
    3.15.4 Basic ECC
    3.15.4 Basic ECC
    NSS Util
    3.15.4
    3.15.4
    NSS SSL
    3.15.4 Basic ECC
    3.15.4 Basic ECC
    NSS S/MIME
    3.15.4 Basic ECC
    3.15.4 Basic ECC

  • Is it possible to automate/script this catalogue ? - please help!

    Hey,
    I was researching a lot already...
    but still cannot answer the simple question whether or not it is possible, what I want to accomplish here
    Oook, please have a look at it and let me know if its possible and if so, which route would be wise to take..
    There are two slightly different types of catalogues.
    TYPE A
    products are more or less randomly placed on the spread, each one has its related text frame (ItemNumber, Name, Description, Price)
    This catalogue type would only have 3 double spreads like the one below.
    The text is provided in an Excel spreadsheet and changes throughout the process
    http://i.imgur.com/Nckpm.jpg
    TYPE B
    similar arrangement of products, but up to 50 pages.
    Also the product description is at the bottom of each page for each group of products on that page. and as you can see its quite heavily formatted and has a few en's and em's as well
    so, only the positionNumber and the price is placed next to the products. the bottom text comes originally in an excel spreadsheet as well
    (would be nice if that additional price could also update with changes in the excel document)
    http://i.imgur.com/UoD5z.jpg
    I was also testing trial versions of Indesign Plugins like InCatalog or InData..
    probably too stupid to get them to work, or maybe I need custom scripting — would, in that case, javascript be a good idea?
    I would tremendously appriciate if you could point me in the right direction or help me break it down in pseudocode or sthg..
    couldnt find any other project similar to this one, but maybe you do know one
    THX in advance!!

    Data Merge, third party plug-ins and XML all need some kind of structure to a document before anything can really be automated. The samples, while they have a content structure (that is, a picture has a description, price and name) it doesn't have a predetermined position on the page. 
    Assuming the excel file also has the picture name in one of the fields, data merge could be used to call in all the data and merged via multiple record layout into a new indesign file, but it wouldn't appear as the final layouts above... instead the file would appear as a grid. From here, the pictures and their captions need to be moved to their appropriate positions.
    I've been umming and ahhing over what to write in the post but ultimately there is no turn-key solution. The best I can think of would still involve running a script on each page and then processing the result of that manually. Automated catalogues are ideal for the likes of phone directories, parts catalogues or school yearbook pictures. this catalogue is outside of those specs and I can't see a way of automating this... as a turn-key solution. I would be interested to see what other posters have to say but I think this is a bridge too far to automate.
    In terms of what may make the job easier, try these two links though:
    http://ajarproductions.com/blog/2008/11/28/merge-textframes-extension-for-adobe-indesign/ (a script for merging loose text frames into one big textframe)
    http://tomaxxi.com/2011/04/mastering-live-captions/ (for using the captions feature to do lots of the hard work of presenting the data under a picture)
    colly

  • Is it possible to automate opening the GuiMainWindow

    Hello all,
    I'm new to SAP ..
    I'm looking for a way to open the GuiMainWindow
    the one you get after to login.
    Below is a simple console script written in Vb.net, that auto populates my login details.
    Can anyone suggest what com object / code is required to take me to the next screen?
    Imports SAPBAPIControlLib
    Imports SAPTableFactoryCtrl
    Imports SAPFEWSELib
    Module Module1
        Sub Main()
            Dim bapi As Object
            Dim connection As Object
            bapi = CreateObject("SAP.Functions")
            connection = bapi.connection
            connection.User = "username"
            connection.Password = "password"
            connection.client = "500"
            ' connection.Destination = "R/3"
            If (connection.logon(0, False)) Then
                'Console.WriteLine("Your connection was successfuly made... ")
                'Threading.Thread.Sleep(2000)
          ' call the form to load?
            End If
        End Sub
    End Module
    '=======================================================
    I also have a similar one in VBS.
    Set oBAPICtrl = CreateObject("SAP.BAPI.1")
    'Creating Connection object
    Set oConnection = oBAPICtrl.Connection
    oConnection.Client = "500"
    oConnection.User = "username"
    oConnection.Language = "EN"
    oConnection.ApplicationServer = "ipaddress"
    oConnection.Password = "password"
    oConnection.SystemNumber = "00"
    'Performing a remote logon to the R/3 System
    '0
    If oConnection.Logon(0, True) <> True Then    'Logon with dialog
          Set oConnection = Nothing
          Logon = False
          MsgBox ("No access to R/3 System")
    Else
         Logon = True
    End If
    If Logon Then
    MsgBox "Logged on successfullyu2026"
    End If
    the vbs one successfully authenticates, so i could run background processes, but I just want to show the guiMainForm for now.
    Is this possible?
    many thanks.
    Edited by: VBDevGuy on Aug 20, 2010 11:26 AM
    Edited by: VBDevGuy on Aug 20, 2010 12:23 PM

    its OK, i've found the html help file with samples.
    thanks anyway

  • Is it possible to automatically login the OSX 10.5 server after a restart?

    I am screen sharing with my server at work from home. I would like to reboot the server after doing some updates, but I know the login screen is going to come up after I restart. Is it possible to set it up so that the login screen auto-populates or gets skipped?
    Thanks,
    Rich

    Got it. It works just like it does in OSX. Duh.

  • InDesign CS6: Is it possible to automatically reorder the paragraphs in a document

    I have a thesaurus with 1,000 entries.
    Each entry looks like this:
    also
    He likes bananas and also strawberries.
    as well as, in addition to, besides,
    too, plus
    I want to change the document, so that in each instance, the example sentence "(He likes bananas...) comes after the list of synonyms (as well as, in addition to...). The formatting is different for each (one is 100% black and the other is 70%).
    I would like to know if there's a way to do this automatically.
    Many thanks.

    Susan,
    If you have 4 para styles, try this very clever tool written by Ariel Walden:  Change Consecutive Paragraphs | FreelanceBookDesign.com
    If you do want to save $25 and make 5 clicks free* (although time is still money):
    * Only 1 click if you use Multi-Find/Change! 

  • Script to remove/untrust certifictate from firefox

    Hi,
    Is there any mean to remove/untrust a certificate ( yes i'm talking about diginotar ca ) with a script or any other automated way ?
    We use Firefox in corporate environment and we are wondering if we can do that automatically
    How are the certificates stored ? are they on the sqlite db ?
    Regards

    See:
    *http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/
    There is an update 3.6.21 to disable that root certificate and there will be an update 3.6.22 shortly to restore some certificates that were disabled by accident.

  • Looking for Help with Active Directory Script to Remove a User from msExchDelegateListLink

    I'm struggling to put together an Active Directory Powershell script that will remove a specific user from the msExchDelegateListLink.
    It looks like Set-AdUser would do the trick. I would want to remove a user in the format of
    {CN=Wood\, Sandy,OU=Networking,OU=IT,DC=my,DC=domain,DC=com}
    Has anyone succeeded in doing this before?
    Orange County District Attorney

    I use this:
    $user = '<user name>'
    $userDN = Get-ADUser $user | select -ExpandProperty DistinguishedName
    $delegates = Get-ADUser $user -Properties msExchDelegateListBL |
    select -ExpandProperty msExchDelegateListBL
    foreach ($delegate in $delegates)
    Set-ADUser $delegate -Remove @{msExchDelegateListLink = "$UserDN"}
    Never quite got around to putting it into a function.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Script to remove htmldb install from database

    Is there a script i can run to remove an existing install of htmldb from the database so that i can start with a fresh install

    Deepak,
    There is no script, but see the instructions in this thread:
    How to deinstall HTML DB
    Sergio

Maybe you are looking for

  • Blackberry 8310 PLEASE HELP ME?!?!?

    please help me, i have a bb 8310 and when i put my sim in it, it says it has signal and looks fine, but i caant make or recieve a call and i cant send or rexieve texts... i've tried unlocking it and thats not the issue because it accepts my sim.. the

  • It is possible to display a graph in smartforms

    Hi, In report , i am displaying the graph similary i want to   print the graph in smartforms. Plz give me details . Wht is spf ? Regards, Rani.

  • Docs won't open in Pages on Mac, from previous edit on iPad

    I broached this subject in another post on iCloud b/c I thought maybe that was the culprit.  I was able to get things working that time by updating passwords...although NOT because any passwords were wrong.  Here's the post from that discussion (whic

  • DPP Digital Photo Professional and Flickr

    hi there... on begin i want t osay sorry for my not  precise speling.. im DPP user and lover...i was think of  come to this forum long ago but like it happend i was late so im now .. ok ..my point its DPP Software... on Flickr there is Group where pe

  • [solved] remove packages from a txt file list

    as the subject header says, I want to run "pacman -R" and have it read a list of packages from a text file. Is this possible???? text file is formatted as such.... file1 file2 file3 Last edited by orphius (2013-07-09 08:11:53)