Engineering Requirements Management

Engineering Requirements Management

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

Help with displaying history from baselines in a DXL Column

  • 1.  Help with displaying history from baselines in a DXL Column

    Posted Mon August 17, 2020 04:51 PM

    I'm attempting to create a DXL column in DOORS which will display values from across the entire history of each object, going back through baselines. I have the following script, but it only shows values since the last baseline, and I haven't been able to figure out the correct syntax to loop through all of the existing baselines. Any help would be appreciated.

    string thisAttribute = "Object Text"

    for h in obj do {

    if (h.type == modifyObject) {

    if (h.attrName == thisAttribute) {

    display (h.date "")

    }

    }

    }





    #Support
    #DOORS
    #EngineeringRequirementsManagement
    #Sustainability
    #SupportMigration


  • 2.  RE: Help with displaying history from baselines in a DXL Column

    Posted Tue August 18, 2020 06:35 PM

    You have to loop through and load each baseline to get the baseline history for the object. It might be weird doing this in a calculated attribute but it might work okay.

    Baseline lBaseLine for lBaseLine in module(obj) do { Module lBaseMod = load(module(obj), lBaseLine, false) }



    #Support
    #EngineeringRequirementsManagement
    #Sustainability
    #DOORS
    #SupportMigration