Book a Demo

Author Topic: Update Use Case Status from Requirements Status  (Read 3675 times)

PatrickS

  • EA User
  • **
  • Posts: 46
  • Karma: +1/-0
    • View Profile
Update Use Case Status from Requirements Status
« on: March 31, 2012, 10:37:09 pm »
Hi!
Having Requirements imported from DOORS and mapped DOORS status to EA status, I am now able to display the status visually within EA. However it seems to me important that some changes of Requirements status would reflect to statusses in the realizing Use Case. Is there a way of doing this (i.e. mapping Use Case Status to Requiemrents status) in EA?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Update Use Case Status from Requirements Statu
« Reply #1 on: March 31, 2012, 11:21:29 pm »
Only by using automation.

q.

PatrickS

  • EA User
  • **
  • Posts: 46
  • Karma: +1/-0
    • View Profile
Re: Update Use Case Status from Requirements Statu
« Reply #2 on: March 31, 2012, 11:30:04 pm »
Can you give me some more hint, how to realize a task like this with Automation? Can I subscribe to an Event like "ChangedStatus", inquire within the EventHandler if it was a Requirement that was changed, find there the Use Case that the requirement realizes and eventually update programmatically this Use Case's status?
« Last Edit: March 31, 2012, 11:31:33 pm by p.schaerer »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Update Use Case Status from Requirements Statu
« Reply #3 on: April 02, 2012, 03:50:38 pm »
Something like that yet.
There's a whole host of OnPre<someAction> and OnPost<someAction> operations in the API that you can use to react to changes in the model.
See here: http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/automation/broadcastevents.html

Geert