Book a Demo

Author Topic: Activity Diagram  (Read 5644 times)

ayman

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Activity Diagram
« on: December 22, 2014, 11:51:16 am »
hello,
using EA v10 i need to add a constraint for an action as follows:
1- to be pre condition and seen visually
2- the constraint about the required data needed to execute the action e.g to execute action1 as a precondition these objects should exist obj1,obj2 ,etc...

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Activity Diagram
« Reply #1 on: December 22, 2014, 08:47:48 pm »
Actions don't have pre-conditions. They are reached via a Control Flow that has a Guard. I don't understand your 2nd point but think you mean Object Flow. Create an ActionPin an let the objects flow into that as desired.

q.

ayman

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Activity Diagram
« Reply #2 on: December 22, 2014, 11:42:37 pm »
hello,
according to help guide:
"Actions can be further defined with pre-condition and post-condition notes, which constrain an Action's entry and exit."

For point 2: what i need to do is define the mandatory input and output data objects needed for action as i explained

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Activity Diagram
« Reply #3 on: December 23, 2014, 12:07:02 am »
What they mean is to attach a Context Menu/Common/Constraint which allows to define pre-/post-condition.

q.

ayman

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Activity Diagram
« Reply #4 on: December 23, 2014, 12:09:59 am »
don't get the point?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Activity Diagram
« Reply #5 on: December 23, 2014, 12:19:03 am »
In the diagram open the context menu (right click).Then choose Common/Constraint. This creates a special note where you can select pre-post condition and which lets you enter some text. Now you can link the to anything - like an Action.

q.

ayman

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Activity Diagram
« Reply #6 on: December 23, 2014, 12:24:18 am »
ok got you thanks