Book a Demo

Author Topic: email notification of model changes  (Read 4482 times)

JimK

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
email notification of model changes
« on: March 26, 2010, 04:32:43 am »
I am new to EA.  I would like other EA users on a project to be able to receive email when some aspect of the model has changed (requirements, diagram changed etc) or if a new task, or discussion forum entry is made.  Is there any way to do this in EA.  Please let me know if my question need clarification.

Tx

Jim

[email protected]
« Last Edit: March 26, 2010, 04:44:22 am by karnacker »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: email notification of model changes
« Reply #1 on: March 26, 2010, 07:30:00 pm »
Jim,

There's no such feature natively in EA, but you could always write an addin that does so.

Geert

Keith Ralphs

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: email notification of model changes
« Reply #2 on: May 04, 2010, 11:43:59 pm »
So, I decided to have a go at doing this and have got as far as being able to send an email when one of our requirements is modified using the basic add-in framework along with the EA_OnNotifyContextItemModified method. The thing is I now want to find out what has actually changed on the element and after scouring the Inteface definition for a couple of hours, am no nearer doing so.

Does anyone know how to do this if it is posssible. Specifically I want to:

1) Find out which bit of the element that I have been notified about has been modified.
2) Find out the difference between the old and new version.

Also, as this could potentially generate a lot of traffic, I was looking for a way to be notified when a user lock on an element has been released to use this as the trigger to get all its changes and send them out. Does anyone know of a way to do this as my search was similarly fruitless.

Thanks,

Keith

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: email notification of model changes
« Reply #3 on: May 04, 2010, 11:59:14 pm »
You could try to subscribe to "OnContextItemChanged" and at that moment load the element in memory.
Then if OnContextItemModified is fired you could compare that to the copy of the item you have in memory.

Geert