Engineering Requirements Management

 View Only
  • 1.  Extracting purged objects URIs

    Posted Fri March 24, 2023 07:55 AM

    Hello everyone, 

    I'm trying to flag all the URLs of purged objects of a given module.

    Is there a way to have this information using DXL please.

    Thank you 



    ------------------------------
    Khalid KASSI
    ------------------------------


  • 2.  RE: Extracting purged objects URIs

    Posted Mon March 27, 2023 02:59 AM

    Hi Khalid, maybe I'm wrong and I don't understood well your request, but if you purge (hard delete) one object, this is no more present in your DB, so you cannot retrieve any info on it.

    Gianluca.



    ------------------------------
    Gianluca Monticone
    Senior System Specialist
    IBM Italia S.p.A.
    Genova
    +39 010 5635 296
    ------------------------------



  • 3.  RE: Extracting purged objects URIs

    Posted Mon March 27, 2023 05:49 AM

    Hello Gianluca Monticone, 

    Thank you for your response, 

    Yes exactlly that's what I want, to have info about purged objects.

    Isn't it saved in the DB somewhere ( The information of purging them? where we can may be find an id or smth of the purged objects no?)

    Best regards



    ------------------------------
    Khalid KASSI
    ------------------------------



  • 4.  RE: Extracting purged objects URIs

    Posted Tue March 28, 2023 05:02 AM

    Hi Khalid,

    The purged Objects are recorded in the histoery of the module.

    Here is a sample DXL script, that will print the Absolute Number of the purged Object in the current Module:

    /*begin*/

    History hr
    for hr in current Module do {
        if(hr.type == purgeObject) {
            print hr.absNo "\n"
    }
    }

    /*end*/

    Hope that helps

    Regards



    ------------------------------
    ROMAIN BARTH
    ------------------------------