Topic
  • 1 reply
  • Latest Post - ‏2014-04-04T23:47:03Z by Mathias Mamsch
LiginMathew
LiginMathew
1 Post

Pinned topic Persistent Trigger - DXL Script

‏2014-04-03T23:12:09Z |

I am facing some difficulty in developing a DXL script. See attachment.

 

My requirement is to change the enumeration type of Sub level based on selection on High Level

I had created following enumeration types:

HighLevel: Process, System

ProcessSub: P1, P2, P3

SystemSub: S1, S2, S3

SubLevel: NA

 

ID

Object type

High Level

Sub Level

1

XXXX

Process

P1 or P2 or P3

2

YYYY

System

S1 or S2 or S3

3

FFFFF

 

 

4

RRRR

 

 

5

RREE

 

 

6

RRRR

 

 

 

Attachments

  • Mathias Mamsch
    Mathias Mamsch
    2162 Posts

    Re: Persistent Trigger - DXL Script

    ‏2014-04-04T23:47:03Z  

    If I understand you right, you want to restrict the selection inside "Sub Level" depending on the choice of "High Level" per object. This is not possible in DOORS. It makes no sense to modify the enumeration values of an attribute using a trigger because when you delete an enum value from a type, the value will be deleted from all objects using this enum value.  This has be discussed before so please use the forums search.

    You options are basically as followed:

    - Make a pre modify trigger on Sub Level that will check the value of "High Level" and prevent inconsistent values. However the user will still *see* the other choices on the enumeration.

    - Let the user use a GUI for selecting the values (inside the GUI you can control the displayed values)

    - Just validate the module using a layout DXL and give the user a visual feedback that his selection is inconsistent.

    Regards, Mathias